Expand description
Contains helpers for looking up system network interfaces.
Structs§
- Default
Route Details - The details about a default route.
- Home
Router - Likely IPs of the residentla router, and the ip address of the current machine using it.
- Interface
- Represents a network interface.
- Ipv6
Addr Flags - State flags for a single IPv6 address.
- State
- Intended to store the state of the machine’s network interfaces, routing table, and other network configuration. For now it’s pretty basic.
Enums§
- IpNet
- Structure of an IP network, either IPv4 or IPv6.
Functions§
- default_
route_ interface - Like
DefaultRoutDetails::newbut only returns the interface name.