decoder

package
v5.0.0-alpha5+incompat... Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2016 License: Apache-2.0 Imports: 9 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 {
	// contains filtered or unexported fields
}

func NewDecoder

func NewDecoder(
	f *flows.Flows,
	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) AddLayer

func (d *DecoderStruct) AddLayer(layer gopacket.DecodingLayer)

func (*DecoderStruct) AddLayers

func (d *DecoderStruct) AddLayers(layers []gopacket.DecodingLayer)

func (*DecoderStruct) OnPacket

func (d *DecoderStruct) OnPacket(data []byte, ci *gopacket.CaptureInfo)

func (*DecoderStruct) SetTruncated

func (d *DecoderStruct) SetTruncated()

Jump to

Keyboard shortcuts

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