netdev 0.35.0

Cross-platform library for network interface
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod db;
pub mod device;
#[cfg(feature = "gateway")]
pub mod gateway;
pub mod interface;
mod ip;
pub mod mac;
mod sys;

pub use device::NetworkDevice;
#[cfg(feature = "gateway")]
pub use gateway::get_default_gateway;
#[cfg(feature = "gateway")]
pub use interface::get_default_interface;
pub use interface::get_interfaces;
pub use interface::Interface;
pub use ipnet;
pub use mac::MacAddr;