Expand description
Types and utilities for dealing with routes.
Structs§
- Addable
Entry AddableEntryis a routing entry that may be used to add a new entry to the forwarding table.- Entry
- A forwarding entry.
- Generation
- Used to compare routes for how early they were added to the table.
- RawMetric
- The priority of a forwarding entry. Lower metrics are preferred.
- Resolved
Route - The resolved route to a destination IP address.
- Route
Resolve Options - The options for
RoutesApi::resolve_routeapi. - Routing
Table Id - Identifier to a routing table.
- Rule
- A routing rule.
- Rule
Matcher - Contains traffic matchers for a given rule.
- Wrap
Broadcast Marker - Wrapper struct to provide a convenient
GenericOverIpimpl for use withBroadcastIpExt::BroadcastMarker.
Enums§
- AddRoute
Error - An error encountered when adding a routing entry.
- Addable
Entry Either - An IPv4 forwarding entry or an IPv6 forwarding entry.
- Addable
Metric - The metric for an
AddableEntry. - Entry
Either - An IPv4 forwarding entry or an IPv6 forwarding entry.
- Metric
- The metric for an
Entry. - NextHop
- The next hop for a
Destination. - Routing
Table Cookie - Bindings ID for a routing table.
- Rule
Action - The action part of a
Rule. - Traffic
Origin Matcher - Matches with
PacketOrigin.
Type Aliases§
- Marks
- The 2 marks that can be attached to packets.
- Routable
IpAddr - An IP Address that witnesses properties needed to be routed.