tcp

package
v0.0.0-...-ebee754 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

func New

func (*Factory) Close

func (factory *Factory) Close() (err error)

func (*Factory) New

func (factory *Factory) New(netFlow, tcpFlow gopacket.Flow, tcp *layers.TCP, ac reassembly.AssemblerContext) reassembly.Stream

type Stream

type Stream struct {
	// contains filtered or unexported fields
}

func (*Stream) Accept

func (*Stream) Close

func (stream *Stream) Close()

func (*Stream) Discard

func (stream *Stream) Discard()

func (*Stream) FetchRequest

func (stream *Stream) FetchRequest() (req *httpkg.Request, res *httpkg.Response, err error)

func (*Stream) ReassembledSG

func (stream *Stream) ReassembledSG(sg reassembly.ScatterGather, ac reassembly.AssemblerContext)

func (*Stream) ReassemblyComplete

func (stream *Stream) ReassemblyComplete(ac reassembly.AssemblerContext) bool

Jump to

Keyboard shortcuts

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