Documentation ¶
Index ¶
- Constants
- func ConfigToFilter(protocols map[string]config.Protocol) string
- func FollowTcp(tcphdr *layers.TCP, pkt *protos.Packet)
- func GetId() uint32
- func PrintTcpMap()
- func TcpInit(protocols map[string]config.Protocol) error
- func TcpSeqBefore(seq1 uint32, seq2 uint32) bool
- func TcpSeqBeforeEq(seq1 uint32, seq2 uint32) bool
- type DecoderStruct
- type TcpStream
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)
type TcpStream ¶
type TcpStream struct { // protocols private data Data protos.ProtocolData // contains filtered or unexported fields }
func (*TcpStream) GapInStream ¶
Click to show internal directories.
Click to hide internal directories.