NPMIPtable

package
v1.4.11 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain struct {
	Name  string
	Data  []byte
	Rules []*Rule
}

Chain struct

type Module

type Module struct {
	Verb           string
	OptionValueMap map[string][]string
}

Module struct

type Rule

type Rule struct {
	Protocol string
	Target   *Target
	Modules  []*Module
}

Rule struct

type Table

type Table struct {
	Name   string
	Chains map[string]*Chain
}

Table struct

func (*Table) String

func (t *Table) String() string

for debugging

type Target

type Target struct {
	Name           string
	OptionValueMap map[string][]string
}

Target struct

Jump to

Keyboard shortcuts

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