Expand description
IP routing.
Routes is the routing table, accessed with Stack::routes and
Stack::routes_mut.
Routes are keyed by a CIDR. On lookup most specific CIDR wins. Each route contains:
- via
- outgoing interface
- optional expiry time.
On-link destinations (in the same network as one of the stack’s addresses) do not consult the table: the next hop is the destination itself.
Structs§
- Route
- A prefix of addresses that should be routed via a router, out of an interface.
- Routes
- A routing table.
Enums§
- Route
Origin - Where a route came from.