Expand description
VirtIO Network Device driver
Provides network I/O via VirtIO-net protocol for QEMU/KVM environments.
Implements the common crate::hardware::nic::NetworkDevice trait so
this driver plugs into the unified /dev/net/ scheme.
Reference: VirtIO spec v1.2, Section 5.1 (Network Device)
Modules§
- features
- VirtIO net device features
- net_
status - VirtIO net status flags
Structs§
- Virtio
NetDevice - VirtIO Network Device driver
- Virtio
NetHeader - VirtIO net header (prepended to every packet)
Functions§
- get_
device - Get the VirtIO network device instance (if present).
- init
- Initialize VirtIO network device and register it in the global net registry.