Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PrefixLen (4) + Port (2) + Proto (1) + Flags (1) + IP (4) KeySize = 12 ValueSize = 4 FlagOutbound = 1 // sizeof(port) + sizeof(proto) + sizeof(flags) ZeroCIDRPrefixLen = 32 )
Variables ¶
View Source
var MapParams = maps.MapParameters{ Type: "lpm_trie", KeySize: KeySize, ValueSize: ValueSize, MaxEntries: 65536, Name: "cali_v4_fsafes", Flags: unix.BPF_F_NO_PREALLOC, Version: 2, }
Functions ¶
Types ¶
type Key ¶
func KeyFromSlice ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) CompleteDeferredWork ¶
func (*Manager) ResyncFailsafes ¶
Click to show internal directories.
Click to hide internal directories.