Expand description
A network interface can represent physical network devices such as ethernet or wireless. It can also be a virtual representation.
The operating system maintains records of available network interfaces and the data associated with them. This project gets the data and structures it as standard rust data types.
Structs§
- Network
Interface - A system’s network interface
- V4If
Addr - IPV4 Interface from the AFINET network interface family
- V6If
Addr - IPV6 Interface from the AFINET6 network interface family
Enums§
- Error
- Errors for this library
Functions§
- get_
interfaces - Maps the raw data from libc linked list nodes into rust data types
and joins the separate chunks of interface data into single
NetworkInterface
s.