Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecoderStruct ¶
type DecoderStruct struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func NewDecoder(
datalink layers.LinkType,
icmp4 icmp.ICMPv4Processor,
icmp6 icmp.ICMPv6Processor,
tcp tcp.Processor,
udp udp.Processor,
) (*DecoderStruct, error)
Creates and returns a new DecoderStruct.
func (*DecoderStruct) AddLayers ¶
func (d *DecoderStruct) AddLayers(layers []gopacket.DecodingLayer)
func (*DecoderStruct) DecodePacketData ¶
func (d *DecoderStruct) DecodePacketData(data []byte, ci *gopacket.CaptureInfo)
func (*DecoderStruct) SetTruncated ¶
func (d *DecoderStruct) SetTruncated()
Click to show internal directories.
Click to hide internal directories.