l2responder

package
v1.19.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cell = cell.Module(
	"l2-responder",
	"L2 Responder Reconciler",

	cell.Provide(
		tables.NewL2AnnounceTable,
		statedb.RWTable[*tables.L2AnnounceEntry].ToTable,
	),
	cell.Invoke(NewL2ResponderReconciler),
	cell.Provide(newNeighborNetlink),
)

Cell provides the L2 Responder Reconciler. This component takes the desired state, calculated by the L2 announcer component from the StateDB table and reconciles it with the L2 responder maps. The L2 Responder Reconciler watches for incremental changes in the table and applies these incremental changes immediately and it periodically perform full reconciliation as redundancy.

Functions

func NewL2ResponderReconciler

func NewL2ResponderReconciler(params params) *l2ResponderReconciler

Types

type McMACEntry added in v1.19.0

type McMACEntry struct {
	IfIndex int
	MAC     [6]byte
}

Used for IPv6 Solicited node Group membership tracking.

type McMACMap added in v1.19.0

type McMACMap map[McMACEntry]struct{}

McMACMap stores a solicited node multicast l2 entry with their ifindex

func (McMACMap) Add added in v1.19.0

func (m McMACMap) Add(ifIndex int, ip netip.Addr)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL