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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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