Documentation ¶
Index ¶
Constants ¶
View Source
const ( MapName = "cilium_tunnel_map" // MaxEntries is the maximum entries in the tunnel endpoint map MaxEntries = 65536 )
Variables ¶
View Source
var ( // TunnelMap represents the BPF map for tunnels TunnelMap = NewTunnelMap(MapName) )
Functions ¶
This section is empty.
Types ¶
type Map ¶ added in v1.5.0
Map implements tunnel connectivity configuration in the BPF datapath.
func NewTunnelMap ¶ added in v1.5.0
NewTunnelMap returns a new tunnel map with the specified name.
func (*Map) DeleteTunnelEndpoint ¶ added in v1.5.0
DeleteTunnelEndpoint removes a prefix => tunnel-endpoint mapping
func (*Map) GetTunnelEndpoint ¶ added in v1.5.0
GetTunnelEndpoint removes a prefix => tunnel-endpoint mapping
type TunnelEndpoint ¶ added in v1.5.0
type TunnelEndpoint struct {
bpf.EndpointKey
}
func (TunnelEndpoint) NewValue ¶ added in v1.5.0
func (v TunnelEndpoint) NewValue() bpf.MapValue
Click to show internal directories.
Click to hide internal directories.