pktlayers

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPSecAH

type IPSecAH struct {
	layers.BaseLayer
	NextHeader         layers.IPProtocol
	HeaderLength       uint8
	ActualLength       int
	Reserved           uint16
	SPI, Seq           uint32
	AuthenticationData []byte
}

func (*IPSecAH) CanDecode

func (i *IPSecAH) CanDecode() gopacket.LayerClass

func (*IPSecAH) DecodeFromBytes

func (i *IPSecAH) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error

func (*IPSecAH) LayerType

func (i *IPSecAH) LayerType() gopacket.LayerType

func (*IPSecAH) NextLayerType

func (i *IPSecAH) NextLayerType() gopacket.LayerType

type IPSecESP

type IPSecESP struct {
	layers.BaseLayer
	SPI, Seq  uint32
	Encrypted []byte
}

func (*IPSecESP) CanDecode

func (i *IPSecESP) CanDecode() gopacket.LayerClass

func (*IPSecESP) DecodeFromBytes

func (i *IPSecESP) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error

func (*IPSecESP) LayerType

func (i *IPSecESP) LayerType() gopacket.LayerType

func (*IPSecESP) NextLayerType

func (i *IPSecESP) NextLayerType() gopacket.LayerType

Jump to

Keyboard shortcuts

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