Module netstack3_core::device
source · Expand description
The device layer.
Modules
- The Ethernet protocol.
- The loopback device.
- Device queues.
- Link-layer sockets (analogous to Linux’s AF_PACKET sockets).
Structs
- A strong device ID identifying an ethernet device.
- A weak device ID identifying an ethernet device.
Enums
- A strong ID identifying a device.
- An error encountered when sending a frame.
- A weak ID identifying a device.
Traits
- An event dispatcher for the device layer.
Functions
- Adds a new Ethernet device to the stack.
- Adds a new Ethernet device to the stack.
- Adds a new loopback device to the stack.
- Adds a new loopback device to the stack.
- Gets the IPv4 Configuration for a
device
. - Gets the IPv6 Configuration for a
device
. - Handle a batch of queued RX packets for the device.
- Receive a device layer frame from the network.
- Removes an ethernet device from the device layer.
- Sets the TX queue configuration for a device.
- Does the work of transmitting frames for a device.
- Updates the IPv4 Configuration for a
device
. - Updates the IPv6 Configuration for a
device
.