Documentation ¶
Index ¶
- type IHandler
- type IPV4Handler
- func (t *IPV4Handler) Collect(fragElem *common.FragElement, fragElemGroup *common.FragElementGroup) (error, def.ErrResultType)
- func (t *IPV4Handler) FastDetect(detectInfo *def.DetectionInfo) (retErr error, retErrType def.ErrResultType)
- func (t *IPV4Handler) Reassembly(fragElemGroup *common.FragElementGroup, sharedLayers *common.SharedLayers) (gopacket.Packet, error, def.ErrResultType)
- type IPV6Handler
- func (t *IPV6Handler) Collect(fragElem *common.FragElement, fragElemGroup *common.FragElementGroup) (error, def.ErrResultType)
- func (t *IPV6Handler) FastDetect(detectInfo *def.DetectionInfo) (retErr error, retErrType def.ErrResultType)
- func (t *IPV6Handler) Reassembly(fragElemGroup *common.FragElementGroup, sharedLayers *common.SharedLayers) (gopacket.Packet, error, def.ErrResultType)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IHandler ¶
type IHandler interface { FastDetect(detectInfo *def.DetectionInfo) (error, def.ErrResultType) Collect(fragElem *common.FragElement, fragElemGroup *common.FragElementGroup) (error, def.ErrResultType) Reassembly(fragElemGroup *common.FragElementGroup, sharedLayers *common.SharedLayers) (gopacket.Packet, error, def.ErrResultType) }
func GetHandler ¶
type IPV4Handler ¶
type IPV4Handler struct{}
func (*IPV4Handler) Collect ¶
func (t *IPV4Handler) Collect(fragElem *common.FragElement, fragElemGroup *common.FragElementGroup) (error, def.ErrResultType)
func (*IPV4Handler) FastDetect ¶
func (t *IPV4Handler) FastDetect(detectInfo *def.DetectionInfo) (retErr error, retErrType def.ErrResultType)
func (*IPV4Handler) Reassembly ¶
func (t *IPV4Handler) Reassembly(fragElemGroup *common.FragElementGroup, sharedLayers *common.SharedLayers) (gopacket.Packet, error, def.ErrResultType)
type IPV6Handler ¶
type IPV6Handler struct{}
func (*IPV6Handler) Collect ¶
func (t *IPV6Handler) Collect(fragElem *common.FragElement, fragElemGroup *common.FragElementGroup) (error, def.ErrResultType)
func (*IPV6Handler) FastDetect ¶
func (t *IPV6Handler) FastDetect(detectInfo *def.DetectionInfo) (retErr error, retErrType def.ErrResultType)
func (*IPV6Handler) Reassembly ¶
func (t *IPV6Handler) Reassembly(fragElemGroup *common.FragElementGroup, sharedLayers *common.SharedLayers) (gopacket.Packet, error, def.ErrResultType)
Click to show internal directories.
Click to hide internal directories.