table

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MangleTable added in v0.2.0

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

func Mangle added in v0.2.0

func Mangle() *MangleTable

func (*MangleTable) Build added in v0.2.0

func (t *MangleTable) Build(verbose bool) string

func (*MangleTable) Forward added in v0.2.0

func (t *MangleTable) Forward() *chain.Chain

func (*MangleTable) Input added in v0.2.0

func (t *MangleTable) Input() *chain.Chain

func (*MangleTable) Output added in v0.2.0

func (t *MangleTable) Output() *chain.Chain

func (*MangleTable) Postrouting added in v0.2.0

func (t *MangleTable) Postrouting() *chain.Chain

func (*MangleTable) Prerouting added in v0.2.0

func (t *MangleTable) Prerouting() *chain.Chain

type NatTable

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

func Nat

func Nat() *NatTable

func (*NatTable) Build

func (t *NatTable) Build(verbose bool) string

func (*NatTable) Input

func (t *NatTable) Input() *chain.Chain

func (*NatTable) Output

func (t *NatTable) Output() *chain.Chain

func (*NatTable) Postrouting

func (t *NatTable) Postrouting() *chain.Chain

func (*NatTable) Prerouting

func (t *NatTable) Prerouting() *chain.Chain

func (*NatTable) WithChain

func (t *NatTable) WithChain(chain *chain.Chain) *NatTable

type RawTable

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

func Raw

func Raw() *RawTable

func (*RawTable) Build

func (t *RawTable) Build(verbose bool) string

func (*RawTable) Output

func (t *RawTable) Output() *chain.Chain

func (*RawTable) Prerouting

func (t *RawTable) Prerouting() *chain.Chain

type TableBuilder

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

func (*TableBuilder) Build

func (b *TableBuilder) Build(verbose bool) string

Build TODO (bartsmykla): refactor TODO (bartsmykla): add tests

Jump to

Keyboard shortcuts

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