⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module device

Module device 

Source
Expand description

Network device abstraction layer

Defines the NetworkDevice trait and device registry for hardware network drivers. All network drivers (E1000, VirtIO-Net, etc.) implement this trait to provide a uniform interface for the IP stack.

Structs§

DeviceCapabilities
Network device capabilities
DeviceStatistics
Network device statistics
EthernetDevice
Ethernet device (placeholder for real hardware)
LoopbackDevice
Loopback device implementation

Enums§

DeviceState
Network device state

Traits§

NetworkDevice
Network device trait

Functions§

init
Initialize device subsystem
list_devices
List all device names
register_device
Register a network device
with_device
Execute a closure with a device by name (immutable access)
with_device_mut
Execute a closure with a device by name (mutable access)