Documentation ¶
Index ¶
Constants ¶
View Source
const ( TcpDirectionReverse = 0 TcpDirectionOriginal = 1 )
View Source
const TCP_MAX_DATA_IN_STREAM = 10 * 1e6
View Source
const TCP_STREAM_EXPIRY = 10 * 1e9
View Source
const TCP_STREAM_HASH_SIZE = 2 ^ 16
Variables ¶
This section is empty.
Functions ¶
func PrintTcpMap ¶
func PrintTcpMap()
func TcpSeqBefore ¶
func TcpSeqBeforeEq ¶
Types ¶
type DecoderStruct ¶
type DecoderStruct struct { Parser *gopacket.DecodingLayerParser // contains filtered or unexported fields }
func CreateDecoder ¶
func CreateDecoder(datalink layers.LinkType) (*DecoderStruct, error)
func (*DecoderStruct) DecodePacketData ¶
func (decoder *DecoderStruct) DecodePacketData(data []byte, ci *gopacket.CaptureInfo)
Click to show internal directories.
Click to hide internal directories.