Module nud

Source
Expand description

Neighbor Unreachability Detection.

Structs§

ConfirmationFlags
Neighbor confirmation flags.
Delay
State associated with a neighbor in delay state.
Event
Neighbor event.
Incomplete
The state for an incomplete neighbor entry.
NeighborApi
The neighbor API.
NudCountersInner
NUD counters.
NudState
NUD module per-device state.
NudTimerId
The timer ID for the NUD module.
NudUserConfig
NUD configurations.
NudUserConfigUpdate
An update structure for NudUserConfig.
Reachable
State associated with a reachable neighbor.
Stale
State associated with a stale neighbor.

Enums§

DynamicNeighborState
The state of a dynamic entry in the neighbor cache within the Neighbor Unreachability Detection state machine, defined in RFC 4861 section 7.3.2 and RFC 7048 section 3.
DynamicNeighborUpdateSource
The type of message with a dynamic neighbor update.
EventDynamicState
The state of dynamic neighbor table entries as published via events.
EventKind
Neighbor event kind.
EventState
Neighbor state published via events.
LinkResolutionResult
Specifies the link-layer address of a neighbor.
NeighborRemovalError
Error when a neighbor table entry cannot be removed.
NeighborState
A neighbor’s state.
StaticNeighborInsertionError
Error when a static neighbor entry cannot be inserted.

Constants§

MAX_ENTRIES
The maximum number of neighbor entries in the neighbor table for a given device. When the number of entries is above this number and an entry transitions into a discardable state, a garbage collection task will be scheduled to remove any entries that are not in use.
RETRANS_TIMER_DEFAULT
The default value for RetransTimer as defined in RFC 4861 section 10.

Traits§

DelegateNudContext
Enables a blanket implementation of NudContext via delegate that can wrap a mutable reference of Self.
LinkResolutionContext
An execution context that allows creating link resolution notifiers.
LinkResolutionNotifier
A notifier held by core that can be used to inform interested parties of the result of link address resolution.
NudBindingsContext
The bindings context for NUD.
NudBindingsTypes
A marker trait for types provided by bindings to NUD.
NudConfigContext
The execution context for NUD that allows accessing NUD configuration (such as timer durations) for a particular device.
NudContext
The execution context for NUD for a link device.
NudHandler
An implementation of NUD for a link device.
NudIcmpContext
The execution context which allows sending ICMP destination unreachable errors, which needs to happen when address resolution fails.
NudIpHandler
An implementation of NUD for the IP layer.
NudSenderContext
The execution context for NUD for a link device that allows sending IP packets to specific neighbors.
UseDelegateNudContext
A marker trait to enable the blanket impl of NudContext for types implementing DelegateNudContext.

Functions§

confirm_reachable
Confirm upper-layer forward reachability to the specified neighbor through the specified device.

Type Aliases§

NudCounters
NUD counters.