linkaudit

package
v0.16.7 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: BSD-3-Clause, GPL-3.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointIEEE802154 = gopacket.RegisterEndpointType(12003, gopacket.EndpointTypeMetadata{Name: "IEEE802.15.4", Formatter: func(b []byte) string { return fmt.Sprintf("%x", b) }})
View Source
var ErrUnsupported = errors.New("unsupported IEEE 802.15.4 format")
View Source
var LayerIEEE802154 = gopacket.RegisterLayerType(12003, gopacket.LayerTypeMetadata{Name: "IEEE802.15.4", Decoder: gopacket.DecodeFunc(DecodeIEEE802154)})

Functions

func DecodeDot11 added in v0.16.7

func DecodeDot11(data []byte, p gopacket.PacketBuilder, present bool) error

Dot11's upstream decoder requires a checksum trailer. Only its scratch view is padded.

func DecodeDot11View added in v0.16.7

func DecodeDot11View(data []byte, p gopacket.PacketBuilder, present bool) error

func DecodeIEEE802154

func DecodeIEEE802154(data []byte, p gopacket.PacketBuilder) error

func DecodeIEEE802154FCS

func DecodeIEEE802154FCS(data []byte, p gopacket.PacketBuilder) error

func DecodeRadioTap added in v0.16.7

func DecodeRadioTap(data []byte, p gopacket.PacketBuilder, check *FrameCheck) error

Types

type FrameCheck added in v0.16.7

type FrameCheck struct{ Known, Present bool }

func FrameCheckInfo added in v0.16.7

func FrameCheckInfo(ci gopacket.CaptureInfo) FrameCheck

type IEEE802154

type IEEE802154 struct {
	layers.BaseLayer
	FrameControl                                   uint16
	Sequence                                       byte
	SequenceSuppressed                             bool
	DestinationPAN, SourcePAN, Destination, Source []byte
	HeaderLength                                   int
	PayloadProtocol                                string
	HasFCS, FCSValid                               bool
	FCS                                            uint16
}

func (*IEEE802154) LayerType

func (*IEEE802154) LayerType() gopacket.LayerType

func (*IEEE802154) LinkFlow

func (l *IEEE802154) LinkFlow() gopacket.Flow

func (*IEEE802154) ScopeTag

func (l *IEEE802154) ScopeTag() string

Jump to

Keyboard shortcuts

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