decoder

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecoderStruct

type DecoderStruct struct {
	Parser *gopacket.DecodingLayerParser
	// contains filtered or unexported fields
}

func NewDecoder

func NewDecoder(datalink layers.LinkType, tcp tcp.Processor, udp udp.Processor) (*DecoderStruct, error)

Creates and returns a new DecoderStruct.

func (*DecoderStruct) DecodePacketData

func (decoder *DecoderStruct) DecodePacketData(data []byte, ci *gopacket.CaptureInfo)

Jump to

Keyboard shortcuts

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