Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FiveTuple ¶
Completely describes a transport level network flow.
func (FiveTuple) MakeCanonical ¶
Represent the flow in an ordered form, possibly flipping the source and destination.
Two five tuples representing both directions of a flow will have the same canonical form.
func (FiveTuple) SameBidirectionalFlow ¶
True if the other FiveTuple flow is in the same bidirectional flow.
func (FiveTuple) TransportDstPort ¶
Extract the transport dst port number from the transport flow. This may not be valid for all transports.
func (FiveTuple) TransportSrcPort ¶
Extract the transport src port number from the transport flow. This may not be valid for all transports.
Click to show internal directories.
Click to hide internal directories.