Module prelude

Module prelude 

Source

Structs§

Interface
Structure of Network Interface information
InterfaceStats
Interface traffic statistics at a given point in time.
Ipv4Net
An IPv4 network address.
Ipv6Net
An IPv6 network address.
MacAddr
48-bit MAC address (IEEE EUI-48).
NetworkDevice
Structure of NetworkDevice information

Enums§

InterfaceType
Type of Network Interface
OperState
Operational state of a network interface.

Functions§

get_default_gateway
Get default Gateway
get_default_interface
Get default Network Interface
get_interfaces
Get a list of available Network Interfaces