ctmap

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MapName6 = "cilium_ct6_"
	MapName4 = "cilium_ct4_"

	TUPLE_F_OUT     = 0
	TUPLE_F_IN      = 1
	TUPLE_F_RELATED = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CtEntry

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

type CtEntryDump

type CtEntryDump struct {
	Key   CtKey
	Value CtEntry
}

type CtKey

type CtKey interface {
	Dump(buffer *bytes.Buffer) bool
}

type CtKey4

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

func (CtKey4) Dump

func (key CtKey4) Dump(buffer *bytes.Buffer) bool

type CtKey6

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

func (CtKey6) Dump

func (key CtKey6) Dump(buffer *bytes.Buffer) bool

type CtMap

type CtMap struct {
	Fd   int
	Type CtType
	// contains filtered or unexported fields
}

func (*CtMap) Dump

func (m *CtMap) Dump() (string, error)

func (*CtMap) DumpToSlice

func (m *CtMap) DumpToSlice() ([]CtEntryDump, error)

func (*CtMap) GC

func (m *CtMap) GC(interval uint16) int

func (*CtMap) String

func (m *CtMap) String() string

type CtType

type CtType int
const (
	CtTypeIPv6 CtType = iota
	CtTypeIPv4
)

Jump to

Keyboard shortcuts

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