Documentation ¶
Index ¶
Constants ¶
View Source
const ( MapName = "cilium_lxc" // MaxKeys represents the maximum number of keys in the LXCMap. MaxKeys = common.EndpointsPerHost // PortMapMax represents the maximum number of Ports Mapping per container. PortMapMax = 16 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LXCInfo ¶
type LXCInfo struct { IfIndex uint32 SecLabelID uint16 LxcID uint16 MAC MAC NodeMAC MAC V6Addr v6Addr PortMap [PortMapMax]PortMap }
LXCInfo is an internal representation of an LXC most relevant details for eBPF programs.
type LXCMap ¶
type LXCMap struct { Mutex sync.Mutex // Mutex protects the whole LXCMap. // contains filtered or unexported fields }
LXCMap is an internal representation of an eBPF LXC Map.
func (*LXCMap) DeleteElement ¶
DeleteElement deletes the element with the given id from the LXCMap.
Click to show internal directories.
Click to hide internal directories.