Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeySize = 4 ValueSize = 4 + 16 MaxEntries = 1000 )
View Source
const ( FlgWEP = uint32(0x1) FlgReady = uint32(0x2) )
Variables ¶
View Source
var MapParams = maps.MapParameters{ Type: "hash", KeySize: KeySize, ValueSize: ValueSize, MaxEntries: MaxEntries, Name: "cali_iface", Flags: unix.BPF_F_NO_PREALLOC, Version: 2, UpdatedByBPF: false, }
Functions ¶
func MapMemIter ¶
func SetMapSize ¶
func SetMapSize(size int)
Types ¶
Click to show internal directories.
Click to hide internal directories.