Documentation ¶
Index ¶
Constants ¶
View Source
const ( MapName = "cilium_l2_responder_v4" DefaultMaxEntries = 4096 )
Variables ¶
View Source
var Cell = cell.Provide(NewMap)
Functions ¶
This section is empty.
Types ¶
type IterateCallback ¶
type IterateCallback func(*L2ResponderKey, *L2ResponderStats)
IterateCallback represents the signature of the callback function expected by the IterateWithCallback method, which in turn is used to iterate all the keys/values of an auth map.
type L2ResponderKey ¶
AuthKey implements the bpf.MapKey interface.
Must be in sync with struct auth_key in <bpf/lib/common.h>
func (*L2ResponderKey) String ¶
func (k *L2ResponderKey) String() string
type L2ResponderStats ¶
type L2ResponderStats struct {
ResponsesSent uint64 `align:"responses_sent"`
}
L2ResponderStats implements the bpf.MapValue interface.
Must be in sync with struct l2_responder_v4_stats in <bpf/lib/common.h>
func (*L2ResponderStats) String ¶
func (s *L2ResponderStats) String() string
Click to show internal directories.
Click to hide internal directories.