Documentation ¶
Index ¶
- Variables
- func ReleaseFullPacket(fullPkt *def.FullPacket)
- type Collector
- type CollectorMgr
- func (t *CollectorMgr) AsyncCollect(detectInfo *def.DetectionInfo) error
- func (t *CollectorMgr) PopFullPackets(count int) ([]*def.FullPacket, error)
- func (t *CollectorMgr) Start() error
- func (t *CollectorMgr) Stop()
- func (t *CollectorMgr) SyncCollectAndReassembly(detectInfo *def.DetectionInfo) (*def.FullPacket, error)
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 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)
Click to show internal directories.
Click to hide internal directories.