Documentation ¶
Index ¶
Constants ¶
View Source
const FLOWS = fields.FLOWS
View Source
const IN_BYTES = fields.IN_BYTES
CONSTANTS Actual fields...
View Source
const IN_PKTS = fields.IN_PKTS
View Source
const IPV4_DST_ADDR = fields.IPV4_DST_ADDR
View Source
const IPV4_NEXT_HOP = fields.IPV4_NEXT_HOP
View Source
const IPV4_SRC_ADDR = fields.IPV4_SRC_ADDR
View Source
const L4_DST_PORT = fields.L4_DST_PORT
View Source
const L4_SRC_PORT = fields.L4_SRC_PORT
View Source
const LAST_SWITCHED = fields.LAST_SWITCHED
View Source
const OUT_BYTES = fields.OUT_BYTES
View Source
const OUT_PKTS = fields.OUT_PKTS
View Source
const PROTOCOL = fields.PROTOCOL
View Source
const SRC_MASK = fields.SRC_MASK
View Source
const TCP_FLAGS = fields.TCP_FLAGS
View Source
const TOS = fields.TOS
Variables ¶
View Source
var FUNCTIONMAP = map[uint16]func([]byte) fields.Value{ IN_BYTES: fields.GetInt, IN_PKTS: fields.GetInt, PROTOCOL: fields.GetInt, L4_SRC_PORT: fields.GetInt, IPV4_SRC_ADDR: fields.GetAddr, IPV4_DST_ADDR: fields.GetAddr, OUT_BYTES: fields.GetInt, OUT_PKTS: fields.GetInt, L4_DST_PORT: fields.GetInt, LAST_SWITCHED: fields.GetInt, fields.IPV6_SRC_ADDR: fields.GetAddr6, fields.IPV6_DST_ADDR: fields.GetAddr6, }
Functions ¶
Types ¶
type Netflow ¶
type Netflow struct { // Hey! Have you got any of those maps left?!?! // Uuuh yeah, a couple // map[SOURCE IP][SOURCE ID][TEMPLATE ID] Templates map[uint32]map[uint32]map[uint16]netflowPacketTemplate BindAddr net.IP BindPort int // contains filtered or unexported fields }
GENERICS
Netflow listener and main object
Click to show internal directories.
Click to hide internal directories.