renet/src/phy/mod.rs

11 lines
304 B
Rust
Raw Normal View History

//! Access to networking hardware.
//!
2016-12-11 02:33:19 +08:00
//! The `phy` module provides a way to capture and inject packets.
//! It requires the standard library, and currently only works on Linux.
#[cfg(all(unix, feature = "std"))]
mod raw_socket;
#[cfg(all(unix, feature = "std"))]
pub use self::raw_socket::RawSocket;