package
0.13.28
Repository: https://github.com/easystack/cilium.git
Documentation: pkg.go.dev

# Functions

AddSVC2BPFMap adds the given bpf service to the bpf maps.
No description provided by the author
DeleteService deletes a service from the lbmap.
L3n4Addr2RevNatKeynValue converts the given L3n4Addr to a RevNatKey and RevNatValue.
L3n4Addr2ServiceKey converts the given l3n4Addr to a ServiceKey with the slave ID set to 0.
LBSVC2ServiceKeynValue transforms the SVC Cilium type into a bpf SVC type.
LookupAndDeleteServiceWeights deletes entry from cilium_lb6_rr_seq or cilium_lb4_rr_seq.
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
RevNat4Value2L3n4Addr converts the given RevNat4Value to a L3n4Addr.
RevNat6Value2L3n4Addr converts the given RevNat6Value to a L3n4Addr.
RevNatValue2L3n4AddrID converts the given RevNatKey and RevNatValue to a L3n4AddrID.
ServiceKey2L3n4Addr converts the given svcKey to a L3n4Addr.
ServiceKeynValue2FEnBE converts the given svcKey and svcValue to a frontend in the form of L3n4AddrID and backend in the form of L3n4Addr.
ServiceValue2LBBackEnd converts the svcValue to a LBBackEnd.
No description provided by the author
No description provided by the author
UpdateServiceWeights updates cilium_lb6_rr_seq or cilium_lb4_rr_seq bpf maps.
UpdateWrrSeq updates bpf map with the generated wrr sequence.

# 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
RevNat6Map represents the BPF map for reverse NAT in IPv6 load balancer.
No description provided by the author
RRSeq6Map represents the BPF map for wrr sequences in IPv6 load balancer.
No description provided by the author
Service6Map represents the BPF map for services in IPv6 load balancer.

# Structs

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
Service4Key must match 'struct lb4_key' in "bpf/lib/common.h".
Service4Value must match 'struct lb4_service' in "bpf/lib/common.h".
Service6Key must match 'struct lb6_key' in "bpf/lib/common.h".
Service6Value must match 'struct lb6_service' in "bpf/lib/common.h".

# Interfaces

No description provided by the author
No description provided by the author
ServiceKey is the interface describing protocol independent key for services map.
ServiceValue is the interface describing protocol independent value for services map.