collection

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFragGroupMapReachedLenLimit = errors.New("reached the maximum length limit")
)

Functions

func ReleaseFullPacket added in v1.0.1

func ReleaseFullPacket(fullPkt *def.FullPacket)

Types

type Collector

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

type CollectorMgr

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

func NewCollectorMgr

func NewCollectorMgr(opt def.CollectorOption) (*CollectorMgr, error)

func (*CollectorMgr) AsyncCollect added in v1.0.9

func (t *CollectorMgr) AsyncCollect(detectInfo *def.DetectionInfo) error

func (*CollectorMgr) PopFullPackets

func (t *CollectorMgr) PopFullPackets(count int) ([]*def.FullPacket, error)

func (*CollectorMgr) Start

func (t *CollectorMgr) Start() error

func (*CollectorMgr) Stop

func (t *CollectorMgr) Stop()

func (*CollectorMgr) SyncCollectAndReassembly added in v1.0.9

func (t *CollectorMgr) SyncCollectAndReassembly(detectInfo *def.DetectionInfo) (*def.FullPacket, error)

Jump to

Keyboard shortcuts

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