Documentation ¶
Overview ¶
+groupName=maps
Index ¶
Constants ¶
const ( // MaxEntries is the maximum number of keys that can be present in the // VTEP map. MaxEntries = defaults.MaxVTEPDevices // Name is the canonical name for the VTEP map on the filesystem. Name = "cilium_vtep_map" )
Variables ¶
var ( // VtepMAP is a mapping of all VTEP endpoint MAC, IPs VtepMAP = NewMap(Name) )
Functions ¶
Types ¶
type Key ¶
Key implements the bpf.MapKey interface.
Must be in sync with struct vtep_key in <bpf/lib/common.h> +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapKey
func (*Key) DeepCopy ¶ added in v1.12.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Key.
func (*Key) DeepCopyInto ¶ added in v1.12.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Key) DeepCopyMapKey ¶ added in v1.12.0
DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey.
type VtepEndpointInfo ¶
type VtepEndpointInfo struct { VtepMAC mac.Uint64MAC `align:"vtep_mac"` TunnelEndpoint types.IPv4 `align:"tunnel_endpoint"` }
VtepEndpointInfo implements the bpf.MapValue interface. It contains the VTEP endpoint MAC and IP. +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapValue
func (*VtepEndpointInfo) DeepCopy ¶ added in v1.12.0
func (in *VtepEndpointInfo) DeepCopy() *VtepEndpointInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VtepEndpointInfo.
func (*VtepEndpointInfo) DeepCopyInto ¶ added in v1.12.0
func (in *VtepEndpointInfo) DeepCopyInto(out *VtepEndpointInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VtepEndpointInfo) DeepCopyMapValue ¶ added in v1.12.0
func (in *VtepEndpointInfo) DeepCopyMapValue() bpf.MapValue
DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue.
func (*VtepEndpointInfo) GetValuePtr ¶ added in v1.12.0
func (v *VtepEndpointInfo) GetValuePtr() unsafe.Pointer
GetValuePtr returns the unsafe pointer to the BPF value.
func (*VtepEndpointInfo) String ¶
func (v *VtepEndpointInfo) String() string