Expand description
Implements a virtio network device.
Re-exports§
pub use self::device::Net;
Modules§
- device
- metrics
- Defines the metrics system for Network devices.
- persist
- Defines the structures needed for saving/restoring net devices.
Structs§
- Tap
- Handle for a network tap interface.
Enums§
- NetError
- Errors the network device can trigger.
- NetQueue
- Enum representing the Net device queue types
- TapError
- List of errors the tap implementation can throw.
Constants§
- MAX_
BUFFER_ SIZE - Maximum size of the frame buffers handled by this device.
- NET_
NUM_ QUEUES - The number of queues of the network device.
- NET_
QUEUE_ MAX_ SIZE - Maximum size of the queue for network device.
- NET_
QUEUE_ SIZES - RX_
INDEX - The index of the rx queue from Net device queues/queues_evts vector.
- TX_
INDEX - The index of the tx queue from Net device queues/queues_evts vector.