Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
TCPConnections []*TCPConnection
IPV4Reassembled []IPV4Reassembled
// contains filtered or unexported fields
}
func (*Decoder) EthernetFrame ¶
func (*Decoder) LoopbackFrame ¶ added in v0.0.3
func (*Decoder) New ¶
func (fd *Decoder) New(net, transport gopacket.Flow, tcp *layers.TCP, ac reassembly.AssemblerContext) reassembly.Stream
type IPEndpoint ¶
type IPV4Reassembled ¶
type TCPConnection ¶
type TCPConnection struct {
ClientEndpoint IPEndpoint
ServerEndpoint IPEndpoint
ClientToServer *bytes.Buffer
ServerToClient *bytes.Buffer
// contains filtered or unexported fields
}
func (*TCPConnection) Accept ¶
func (t *TCPConnection) Accept(tcp *layers.TCP, ci gopacket.CaptureInfo, dir reassembly.TCPFlowDirection, nextSeq reassembly.Sequence, start *bool, ac reassembly.AssemblerContext) bool
func (*TCPConnection) ReassembledSG ¶
func (t *TCPConnection) ReassembledSG(sg reassembly.ScatterGather, ac reassembly.AssemblerContext)
func (*TCPConnection) ReassemblyComplete ¶
func (t *TCPConnection) ReassemblyComplete(ac reassembly.AssemblerContext) bool
Click to show internal directories.
Click to hide internal directories.