# Functions
AddBackendIDsToCache populates the given backend IDs to the lbmap local cache.
No description provided by the author
No description provided by the author
DeleteRevNATBPF deletes the revNAT entry from its corresponding BPF map (IPv4 or IPv6) with ID id.
DeleteServiceCache deletes the service cache.
DeleteServiceV2 deletes a service from the lbmap and deletes backends of it if they are not used by any other service.
DumpBackendMapsToUserspace dumps the backend entries from the BPF maps.
DumpRevNATMapsToUserspace dumps the contents of both the IPv6 and IPv4 revNAT BPF maps, and stores the contents of said dumps in a RevNATMap.
DumpServiceMapsToUserspaceV2 dumps the services in the same way as DumpServiceMapsToUserspace.
L3n4Addr2RevNatKeynValue converts the given L3n4Addr to a RevNatKey and RevNatValue.
LBBackEnd2Backend converts the loadbalancer backend type into a backend with a BPF key backing.
LBSVC2ServiceKeynValue transforms the SVC Cilium type into a bpf SVC type.
LBSVC2ServiceKeynValuenBackendValueV2 transforms the SVC Cilium type into a bpf SVC v2 type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RemoveDeprecatedMaps removes the maps for legacy services, left over from previous installations.
RestoreService restores a single service in the cache.
No description provided by the author
UpdateService adds or updates the given service in the bpf maps.
# Constants
Maximum number of entries in each hashtable.
MaxSeq is used by daemon for generating bpf define LB_RR_MAX_SEQ.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
RevNat6Map represents the BPF map for reverse NAT in IPv6 load balancer.
No description provided by the author
No description provided by the author
RRSeq6Map represents the BPF map for wrr sequences in IPv6 load balancer.
RRSeq6MapV2 represents the BPF map for wrr sequences in IPv6 load balancer.
No description provided by the author
No description provided by the author
Service6Map represents the BPF map for services in IPv6 load balancer.
No description provided by the author
# Structs
No description provided by the author
+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapKey.
Backend4Value must match 'struct lb4_backend' in "bpf/lib/common.h".
No description provided by the author
+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapKey.
Backend6Value must match 'struct lb6_backend' in "bpf/lib/common.h".
+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapKey.
+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapValue.
+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapKey.
+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapValue.
+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapValue.
Service4Key must match 'struct lb4_key' in "bpf/lib/common.h".
Service4KeyV2 must match 'struct lb4_key_v2' in "bpf/lib/common.h".
Service4Value must match 'struct lb4_service' in "bpf/lib/common.h".
Service4ValueV2 must match 'struct lb4_service_v2' in "bpf/lib/common.h".
Service6Key must match 'struct lb6_key' in "bpf/lib/common.h".
Service6KeyV2 must match 'struct lb6_key_v2' in "bpf/lib/common.h".
Service6Value must match 'struct lb6_service' in "bpf/lib/common.h".
Service6ValueV2 must match 'struct lb6_service_v2' in "bpf/lib/common.h".
# Interfaces
Backend is the interface describing protocol independent backend used by services v2.
BackendKey is the interface describing protocol independent backend key.
BackendValue is the interface describing protocol independent backend value.
No description provided by the author
No description provided by the author
ServiceKey is the interface describing protocol independent key for services map.
ServiceKey is the interface describing protocol independent key for services map v2.
ServiceValue is the interface describing protocol independent value for services map.
ServiceValue is the interface describing protocol independent value for services map v2.
# Type aliases
BackendAddrID is the type of a service endpoint's unique identifier which consists of "IP:PORT".