Documentation
¶
Overview ¶
Package neighborsmap represents the map that stores IP to mac address mappings for NodePort clients. It is primarily managed from the datapath; Cilium side is used to create the map only. +groupName=maps
Index ¶
Constants ¶
const SizeOfNeighValue = int(unsafe.Sizeof(Value{}))
SizeOfNeighValue is the size of type NeighValue.
const SizeofNeighKey6 = int(unsafe.Sizeof(Key6{}))
SizeofNeighKey6 is the size of type NeighKey6.
Variables ¶
var Cell = cell.Module( "neighbors-map", "Initializes neighbors bpf map", cell.Provide(newNeighborsMap), )
Cell provides the neighborsmap.Map that stores IP to mac address mappings for NodePort clients. It is primarily managed from the datapath; Cilium side is used to create the map only.
Functions ¶
This section is empty.
Types ¶
type Map ¶ added in v1.19.0
type Map any
Map is a marker interface for the neighbors map. It doesn't provide any functionality to the Cilium Agent because the bpf map is only created by the Cilium Agent for the datapath. It's still provided to be picked up as dependency by the Loader and initialized at startup.