# Functions
AddHostEntry adds a special endpoint which represents the local host.
DeleteElement deletes the endpoint using all keys which represent the endpoint.
DeleteEntry deletes a single map entry.
NewEndpointKey returns an EndpointKey based on the provided IP address.
ParseMAC parses s only as an IEEE 802 MAC-48.
WriteEndpoint updates the BPF map with the endpoint information and links the endpoint information to all keys provided.
# Constants
EndpointFlagHost indicates that this endpoint represents the host.
No description provided by the author
MaxEntries represents the maximum number of endpoints in the map.
PortMapMax represents the maximum number of Ports Mapping per container.
# Variables
LXCMap represents the BPF map for endpoints.
# Structs
EndpointInfo represents the value of the endpoints BPF map.
No description provided by the author
PortMap represents a port mapping from the host to the LXC.
# Interfaces
EndpointFrontend is the interface to implement for an object to synchronize with the endpoint BPF map.
# Type aliases
MAC is the __u64 representation of a MAC address.