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 CollectorMgr ¶
type CollectorMgr struct {
// contains filtered or unexported fields
}
func NewCollectorMgr ¶
func NewCollectorMgr(opt def.CollectorOption) (*CollectorMgr, error)
func (*CollectorMgr) Collect ¶
func (t *CollectorMgr) Collect(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()
Click to show internal directories.
Click to hide internal directories.