nftables

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NftablesClient

type NftablesClient struct {
	// contains filtered or unexported fields
}

NftablesClient is a client for nftables.

func NewNftablesClient

func NewNftablesClient(bridgeName string) (*NftablesClient, error)

NewNftablesClient returns a new NftablesClient.

func (*NftablesClient) DeleteForwardingRules

func (c *NftablesClient) DeleteForwardingRules() error

DeleteForwardingRules deletes the forwarding rules.

func (*NftablesClient) InstallForwardingRules

func (c *NftablesClient) InstallForwardingRules() error

InstallForwardingRules installs the forwarding rules.

func (*NftablesClient) Name

func (*NftablesClient) Name() string

Name returns the name of the firewall client.

Jump to

Keyboard shortcuts

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