Module netstack3_core::routes
source · Expand description
Types and utilities for dealing with routes.
Structs§
AddableEntry
is a routing entry that may be used to add a new entry to the forwarding table.- A forwarding entry.
- Used to compare routes for how early they were added to the table.
- The priority of a forwarding entry. Lower metrics are preferred.
- The resolved route to a destination IP address.
- Wrapper struct to provide a convenient
GenericOverIp
impl for use with [IpTypesIpExt::BroadcastMarker
].
Enums§
- An error encountered when adding a forwarding entry.
- An IPv4 forwarding entry or an IPv6 forwarding entry.
- The metric for an
AddableEntry
. - An IPv4 forwarding entry or an IPv6 forwarding entry.
- The metric for an
Entry
. - The next hop for a [
Destination
].
Type Aliases§
- An IP Address that witnesses properties needed to be routed.