Crate netroute

Crate netroute 

Source

Structs§

RouteDestination
Destination network of a route expressed as an address and prefix length.
RouteEntry
A single entry from the operating system routing table.

Enums§

RouteFamily
IP version of a routing table entry.
RouteFlag
Well-known routing flags.
RouteProtocol
Known routing protocols that may appear in the table.
RouteScope
Scope of the route.

Functions§

list_routes
Returns the list of routing table entries reported by the underlying operating system.