nft

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPFamily

type IPFamily string
const (
	IPv4 IPFamily = "ip"
	IPv6 IPFamily = "ip6"
)

type NFTBin

type NFTBin struct{}

func (NFTBin) AddChain

func (n NFTBin) AddChain(family IPFamily, table, name string, chainspec ...string) error

func (NFTBin) AddRule

func (n NFTBin) AddRule(family IPFamily, table, chain string, rulespec ...string) error

func (NFTBin) AddTable

func (n NFTBin) AddTable(family IPFamily, name string) error

Jump to

Keyboard shortcuts

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