Module network

Module network 

Source
Expand description

Network device interface

This module defines the interface for network devices in the kernel. It provides abstractions for network packet operations and device management.

Structs§

DevicePacket
Device-level network packet for raw data transmission
GenericNetworkDevice
A generic implementation of a network device for testing
MacAddress
MAC (Media Access Control) address
NetworkInterfaceConfig
Network interface configuration
NetworkResult
Result of network operations
NetworkStats
Network device statistics

Enums§

NetworkRequest
Network operation requests
NetworkResponse
Response from network operations

Traits§

EthernetDevice
Ethernet-capable network device.
NetworkDevice
Network device interface

Functions§

get_network_device
Get the first available network device