Expand description
Neighbor Unreachability Detection.
Structs§
- Confirmation
Flags - Neighbor confirmation flags.
- Delay
- State associated with a neighbor in delay state.
- Event
- Neighbor event.
- Incomplete
- The state for an incomplete neighbor entry.
- Neighbor
Api - The neighbor API.
- NudCounters
Inner - NUD counters.
- NudState
- NUD module per-device state.
- NudTimer
Id - The timer ID for the NUD module.
- NudUser
Config - NUD configurations.
- NudUser
Config Update - An update structure for
NudUserConfig
. - Reachable
- State associated with a reachable neighbor.
- Stale
- State associated with a stale neighbor.
Enums§
- Dynamic
Neighbor State - 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.
- Dynamic
Neighbor Update Source - The type of message with a dynamic neighbor update.
- Event
Dynamic State - The state of dynamic neighbor table entries as published via events.
- Event
Kind - Neighbor event kind.
- Event
State - Neighbor state published via events.
- Link
Resolution Result - Specifies the link-layer address of a neighbor.
- Neighbor
Removal Error - Error when a neighbor table entry cannot be removed.
- Neighbor
State - A neighbor’s state.
- Static
Neighbor Insertion Error - 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§
- Delegate
NudContext - Enables a blanket implementation of
NudContext
via delegate that can wrap a mutable reference ofSelf
. - Link
Resolution Context - An execution context that allows creating link resolution notifiers.
- Link
Resolution Notifier - A notifier held by core that can be used to inform interested parties of the result of link address resolution.
- NudBindings
Context - The bindings context for NUD.
- NudBindings
Types - A marker trait for types provided by bindings to NUD.
- NudConfig
Context - 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.
- NudIcmp
Context - The execution context which allows sending ICMP destination unreachable errors, which needs to happen when address resolution fails.
- NudIp
Handler - An implementation of NUD for the IP layer.
- NudSender
Context - The execution context for NUD for a link device that allows sending IP packets to specific neighbors.
- UseDelegate
NudContext - A marker trait to enable the blanket impl of
NudContext
for types implementingDelegateNudContext
.
Functions§
- confirm_
reachable - Confirm upper-layer forward reachability to the specified neighbor through the specified device.
Type Aliases§
- NudCounters
- NUD counters.