Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sample ¶
type Sample struct { Transport protos.ProtocolType // Protocol Type IcmpType uint16 // ICMP Type (in case of protocol = ICMPv4 or ICMPv6) IcmpCode uint16 // ICMP Code (in case of protocol = ICMPv4 or ICMPv6) SrcPort uint16 // Source port (in case of protocol = UDP or TCP) DstPort uint16 // Destination port (in case of protocol = UDP or TCP) Src net.IP // Source IP Dst net.IP // Destination IP Bytes uint16 // Packet size }
Sample contains flow data (IP based) annotated with TCP and UDP metadata
Click to show internal directories.
Click to hide internal directories.