nft

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Rule_marker = " ☢ ban ☢ "

Variables

This section is empty.

Functions

func New_table

func New_table(family, table, set, device string) (*Table, *Err)

Types

type Err

type Err struct {
	Err    error
	Args   []string
	Output []byte
}

type Table

type Table struct {
	Family string
	Table  string
	Set    string
}

func (*Table) Add_set

func (o *Table) Add_set(ip ...string) error

func (*Table) Delete

func (o *Table) Delete() error

func (*Table) Flush_set

func (o *Table) Flush_set() error

Jump to

Keyboard shortcuts

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