hlp

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OffsetSAddrV4 is offset of source addr in IPv4 packet
	OffsetSAddrV4 uint32 = 12
	// OffsetDAddrV4 is offset of destination addr in IPv4 packet
	OffsetDAddrV4 uint32 = 16
	// OffsetSAddrV6 is offset of source addr in IPv6 packet
	OffsetSAddrV6 uint32 = 8
	// OffsetDAddrV6 is offset of destination addr in IPv6 packet
	OffsetDAddrV6 uint32 = 24
)
View Source
const (
	// OffsetSPort is offset of source port in packet
	OffsetSPort = 0
	// OffsetDPort is offset of destination port in packet
	OffsetDPort = 2
)

Variables

This section is empty.

Functions

func MetaKey2S

func MetaKey2S(k expr.MetaKey) string

MetaKey2S -

func TableFamily2S

func TableFamily2S(f nft.TableFamily) string

TableFamily2S -

func VerdictKind2S

func VerdictKind2S(v expr.VerdictKind) string

VerdictKind2S -

Types

This section is empty.

Jump to

Keyboard shortcuts

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