nftables

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HookNameToHookID = map[string]nftables.ChainHook{
	"prerouting":  *nftables.ChainHookPrerouting,
	"input":       *nftables.ChainHookInput,
	"forward":     *nftables.ChainHookForward,
	"output":      *nftables.ChainHookOutput,
	"postrouting": *nftables.ChainHookPostrouting,
	"ingress":     *nftables.ChainHookIngress,
}

Functions

func NewNFTV4Context added in v0.0.27

func NewNFTV4Context(config *cfg.BouncerConfig) *nftContext

func NewNFTV6Context added in v0.0.27

func NewNFTV6Context(config *cfg.BouncerConfig) *nftContext

func NewNFTables

func NewNFTables(config *cfg.BouncerConfig) (*nft, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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