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 ¶
View Source
const ( // Map4Name is the BPF map name. Map4Name = "cilium_nodeport_neigh4" // Map6Name is the BPF map name. Map6Name = "cilium_nodeport_neigh6" )
View Source
const SizeOfNeighValue = int(unsafe.Sizeof(Value{}))
SizeOfNeighValue is the size of type NeighValue.
View Source
const SizeofNeighKey6 = int(unsafe.Sizeof(Key6{}))
SizeofNeighKey6 is the size of type NeighKey6.
Variables ¶
This section is empty.
Functions ¶
func NeighRetire ¶
NeighRetire retires a cached neigh entry from the LRU cache
Types ¶
type Key4 ¶
type Key4 struct {
// contains filtered or unexported fields
}
Key4 is the IPv4 for the IP-to-MAC address mappings.
type Key6 ¶
type Key6 struct {
// contains filtered or unexported fields
}
Key6 is the IPv6 for the IP-to-MAC address mappings.
Click to show internal directories.
Click to hide internal directories.