Documentation ¶
Index ¶
Constants ¶
View Source
const KeySize = 8
View Source
const KeyV6Size = 20
View Source
const ValueSize = 12
View Source
const ValueV6Size = ValueSize
Variables ¶
View Source
var MapParams = maps.MapParameters{ Type: "lru_hash", KeySize: KeySize, ValueSize: ValueSize, MaxEntries: 10000, Name: "cali_v4_arp", Version: 2, }
View Source
var MapV6Params = maps.MapParameters{ Type: "lru_hash", KeySize: KeyV6Size, ValueSize: ValueV6Size, MaxEntries: 10000, Name: "cali_v6_arp", Version: 2, }
Functions ¶
func MapMemIter ¶
func MapMemIter(m MapMem) maps.IterCallback
MapMemIter returns maps.MapIter that loads the provided MapMem
func MapMemIterV6 ¶
func MapMemIterV6(m MapMemV6) maps.IterCallback
MapMemIterV6 returns maps.MapIter that loads the provided MapMem
Types ¶
Click to show internal directories.
Click to hide internal directories.