pktparser

package
v0.0.0-...-0a20538 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIPv4DefragFailed = errors.New("ipv4 defrag failed")
View Source
var ErrUnsupportedLayerType = errors.New("unsupported layer type")

Functions

This section is empty.

Types

type DecodeFeedback

type DecodeFeedback struct {
	Truncated bool
}

func (*DecodeFeedback) SetTruncated

func (f *DecodeFeedback) SetTruncated()

type DecodingLayerSparse

type DecodingLayerSparse struct {
	Layers []gopacket.DecodingLayer
	// contains filtered or unexported fields
}

func NewDecodingLayerSparse

func NewDecodingLayerSparse() *DecodingLayerSparse

func (*DecodingLayerSparse) Decoder

func (*DecodingLayerSparse) GetFirstLayerType

func (dl *DecodingLayerSparse) GetFirstLayerType(linkType layers.LinkType) gopacket.LayerType

func (*DecodingLayerSparse) LayersDecoder

func (*DecodingLayerSparse) Put

Jump to

Keyboard shortcuts

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