Documentation ¶
Overview ¶
+groupName=maps
Index ¶
Constants ¶
const ( MapName = "cilium_tunnel_map" // MaxEntries is the maximum entries in the tunnel endpoint map MaxEntries = 65536 )
Variables ¶
var ( // TunnelMap represents the BPF map for tunnels TunnelMap = NewTunnelMap(MapName) )
Functions ¶
This section is empty.
Types ¶
type Map ¶ added in v0.15.7
Map implements tunnel connectivity configuration in the BPF datapath.
func NewTunnelMap ¶ added in v0.15.7
NewTunnelMap returns a new tunnel map with the specified name.
func (*Map) DeleteTunnelEndpoint ¶ added in v0.15.7
DeleteTunnelEndpoint removes a prefix => tunnel-endpoint mapping
func (*Map) GetTunnelEndpoint ¶ added in v0.15.7
GetTunnelEndpoint removes a prefix => tunnel-endpoint mapping
func (*Map) SetTunnelEndpoint ¶ added in v0.15.7
SetTunnelEndpoint adds/replaces a prefix => tunnel-endpoint mapping
type TunnelIP ¶ added in v0.15.7
type TunnelIP struct { // represents both IPv6 and IPv4 (in the lowest four bytes) IP types.IPv6 `align:"$union0"` Family uint8 `align:"family"` }
+k8s:deepcopy-gen=true
func (*TunnelIP) DeepCopy ¶ added in v0.15.7
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelIP.
func (*TunnelIP) DeepCopyInto ¶ added in v0.15.7
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TunnelKey ¶ added in v0.15.7
+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapKey
func (*TunnelKey) DeepCopy ¶ added in v1.11.14
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelKey.
func (*TunnelKey) DeepCopyInto ¶ added in v1.11.14
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TunnelKey) DeepCopyMapKey ¶ added in v1.11.14
DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey.
type TunnelValue ¶ added in v0.15.7
+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapValue
func (*TunnelValue) DeepCopy ¶ added in v1.11.14
func (in *TunnelValue) DeepCopy() *TunnelValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TunnelValue.
func (*TunnelValue) DeepCopyInto ¶ added in v1.11.14
func (in *TunnelValue) DeepCopyInto(out *TunnelValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TunnelValue) DeepCopyMapValue ¶ added in v1.11.14
func (in *TunnelValue) DeepCopyMapValue() bpf.MapValue
DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue.
func (*TunnelValue) GetValuePtr ¶ added in v1.11.14
func (k *TunnelValue) GetValuePtr() unsafe.Pointer
GetValuePtr returns the unsafe pointer to the BPF key for users that use TunnelValue as a value in bpf maps
func (TunnelValue) NewValue ¶ added in v1.11.14
func (v TunnelValue) NewValue() bpf.MapValue
func (TunnelValue) String ¶ added in v0.15.7
func (k TunnelValue) String() string
String provides a string representation of the TunnelValue.