Crate driver_net
source ·Expand description
Common traits and types for network device (NIC) drivers.
Re-exports
pub use driver_common::BaseDriverOps;
pub use driver_common::DevError;
pub use driver_common::DevResult;
pub use driver_common::DeviceType;
Structs
- The ethernet address of the NIC (MAC address).
- A RAII network buffer.
- A pool of
NetBuffer
s to speed up buffer allocation.
Traits
- Operations that require a network device (NIC) driver to implement.
Type Definitions
- A RAII network buffer wrapped in a
Box
.