Documentation ¶
Index ¶
- type App
- type AssemblerContext
- type Buffer
- type Capture
- type Filter
- type HandleFunc
- type State
- type Stream
- func (stream *Stream) Accept(tcp *layers.TCP, ci gopacket.CaptureInfo, dir reassembly.TCPFlowDirection, ...) bool
- func (stream *Stream) NextRequest() (req *httppkg.Request, res *httppkg.Response, err error)
- func (stream *Stream) ReassembledSG(sg reassembly.ScatterGather, ac reassembly.AssemblerContext)
- func (stream *Stream) ReassemblyComplete(ac reassembly.AssemblerContext) bool
- type StreamFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssemblerContext ¶
type AssemblerContext struct {
// contains filtered or unexported fields
}
func (*AssemblerContext) GetCaptureInfo ¶
func (ctx *AssemblerContext) GetCaptureInfo() gopacket.CaptureInfo
type Capture ¶
type Capture struct {
// contains filtered or unexported fields
}
func (*Capture) WithHandle ¶
func (cap *Capture) WithHandle(f HandleFunc) *Capture
type Filter ¶
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
func (*Stream) Accept ¶
func (stream *Stream) Accept(tcp *layers.TCP, ci gopacket.CaptureInfo, dir reassembly.TCPFlowDirection, nextSeq reassembly.Sequence, start *bool, ac reassembly.AssemblerContext) bool
func (*Stream) NextRequest ¶
func (*Stream) ReassembledSG ¶
func (stream *Stream) ReassembledSG(sg reassembly.ScatterGather, ac reassembly.AssemblerContext)
func (*Stream) ReassemblyComplete ¶
func (stream *Stream) ReassemblyComplete(ac reassembly.AssemblerContext) bool
type StreamFactory ¶
type StreamFactory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(ctx context.Context, f HandleFunc) *StreamFactory
func (*StreamFactory) New ¶
func (factory *StreamFactory) New(netFlow, tcpFlow gopacket.Flow, tcp *layers.TCP, ac reassembly.AssemblerContext) reassembly.Stream
func (*StreamFactory) Wait ¶
func (factory *StreamFactory) Wait()
Click to show internal directories.
Click to hide internal directories.