Expand description
Netstack3 core device layer.
This crate contains the device layer for netstack3.
Modules§
- Ethernet devices.
- Loopback devices.
- Marker traits controlling Device context behavior.
- Pure IP devices.
- Device RX and TX queueing.
- Device sockets.
Macros§
- Evaluates the expression for the given device_id, regardless of its variant.
Structs§
- Device ARP configuration.
- An update to apply to ARP configurations.
- Counters for the ARP layer.
- Provides a [
NudContext
] IPv4 implementation for a core context that implementsArpContext
. - The state associated with an instance of the Address Resolution Protocol (ARP).
- A base device identifier.
- The device API interacting with any kind of supported device.
- The device API.
- Device link layer configuration.
- An update to apply to device configurations.
- Device layer counters.
- The state associated with the device layer.
- The identifier for timer events in the device layer.
- The collection of devices within
DeviceLayerState
. - Iterator over devices.
- State for a link-device that is also an IP device.
- Device NDP configuration.
- An update to apply to NDP configurations.
- Light-weight tracker for recording the source of some instance.
Enums§
- Errors observed updating device configuration.
- A strong ID identifying a device.
- An error encountered when sending a frame.
- Supported link layer address types for IPv6.
- A weak ID identifying a device.
Traits§
- An execution context for the ARP protocol that allows accessing configuration parameters.
- An execution context for the ARP protocol.
- An execution context for the ARP protocol that allows sending IP packets to specific neighbors.
- Provides matching functionality for the device class of a device installed in the netstack.
- A context providing facilities to store and remove primary device IDs.
- A trait abstracting device configuration.
- Provides matching functionality for the ID and name of a device installed in the netstack.
- An event dispatcher for the device layer.
- Provides associated types used in the device layer.
- Provides associated types used in the device layer.
- Provides the
Device
type for each device domain. - Provides the specifications for device state held by [
BaseDeviceId
] in [BaseDeviceState
]. - A trait abstracting a context containing an
OriginTracker
.
Type Aliases§
- A convenience wrapper around
IpLinkDeviceStateInner
that usesDeviceStateSpec
to extract the link state type and make type signatures shorter.