table

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 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 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