conndict

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetPair

func SetPair(field string, value string, id uint) error

SetPair sets a field/value pair for the supplied conntrack id

func SetPairs

func SetPairs(pairs []DictPair, id uint) error

SetPairs sets a slice of field/value pairs for the supplied conntrack id

Types

type DictPair

type DictPair struct {
	Field string
	Value string
}

DictPair holds a field value pair of data

func GetAll

func GetAll() ([]DictPair, error)

GetAll gets all of the field/value pairs for all known conntrack entries

func GetPairs

func GetPairs(id uint) ([]DictPair, error)

GetPairs gets all of the field/value pairs for the supplied conntrack id

func (DictPair) Print

func (p DictPair) Print()

Print a pair's field and value

Jump to

Keyboard shortcuts

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