Help us shape the future of Go! Take the 2026 Go Developer Survey

ipsec

package
v1.19.10 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// DefaultReqID is the default reqid used for all IPSec rules.
	DefaultReqID = 1
)

Variables

This section is empty.

Functions

func CountUniqueIPsecKeys

func CountUniqueIPsecKeys(states []netlink.XfrmState) (int, error)

func CountXfrmPoliciesByDir

func CountXfrmPoliciesByDir(states []netlink.XfrmPolicy) (int, int, int)

func CountXfrmStatesByDir

func CountXfrmStatesByDir(states []netlink.XfrmState) (int, int)

func GetNodeIDFromXfrmMark

func GetNodeIDFromXfrmMark(mark *netlink.XfrmMark) uint16

func GetSPIFromXfrmPolicy

func GetSPIFromXfrmPolicy(policy *netlink.XfrmPolicy) uint8

func IsDecryptState added in v1.19.0

func IsDecryptState(state netlink.XfrmState) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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