tcpreassembly

package
v0.0.0-...-aec2e1a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2022 License: Unlicense Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	SqlType     int
	CaptureInfo gopacket.CaptureInfo
	Storage     *storage.Storage
}

* The assembler context

func (*Context) GetCaptureInfo

func (c *Context) GetCaptureInfo() gopacket.CaptureInfo

type TcpStream

type TcpStream struct {
	sync.Mutex
	// contains filtered or unexported fields
}

It's a connection (bidirectional)

func (*TcpStream) Accept

func (*TcpStream) ReassembledSG

func (*TcpStream) ReassemblyComplete

func (t *TcpStream) ReassemblyComplete(ac reassembly.AssemblerContext) bool

type TcpStreamFactory

type TcpStreamFactory struct {
	Queue queue.Queue
}

* The TCP factory: returns a new Stream

func (*TcpStreamFactory) New

func (factory *TcpStreamFactory) New(net, transport gopacket.Flow, tcp *layers.TCP, ac reassembly.AssemblerContext) reassembly.Stream

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL