Module device

Source
Expand description

The device layer.

Structs§

ArpConfiguration
Device ARP configuration.
ArpConfigurationUpdate
An update to apply to ARP configurations.
BatchSize
A type representing an operation count in a queue (e.g. the number of packets allowed to be dequeued in a single operation).
DeviceConfiguration
Device link layer configuration.
DeviceConfigurationUpdate
An update to apply to device configurations.
DeviceNameMatcher
Matcher that matches devices with the name.
EthernetCreationProperties
Base properties to create a new Ethernet device.
LoopbackCreationProperties
Properties used to create a loopback device.
MaxEthernetFrameSize
The maximum frame size one ethernet device can send.
NdpConfiguration
Device NDP configuration.
NdpConfigurationUpdate
An update to apply to NDP configurations.
PureIpDeviceCreationProperties
The parameters required to create a pure IP device.
PureIpDeviceReceiveFrameMetadata
Metadata for IP packets received on a pure IP device.
PureIpHeaderParams
Metadata for sending IP packets from a device socket.
RecvEthernetFrameMeta
Metadata for received ethernet frames.

Enums§

BlackholeDevice
Blackhole device domain.
DeviceConfigurationUpdateError
Errors observed updating device configuration.
DeviceId
A strong ID identifying a device.
DeviceSendFrameError
An error encountered when sending a frame.
EthernetLinkDevice
An implementation of the LinkDevice trait for Ethernet devices.
LoopbackDevice
Loopback device domain.
PureIpDevice
A marker type identifying a pure IP device.
TransmitQueueConfiguration
The configuration for a transmit queue.
WeakDeviceId
A weak ID identifying a device.

Traits§

DeviceClassMatcher
Provides matching functionality for the device class of a device installed in the netstack.
DeviceIdAndNameMatcher
Provides matching functionality for the ID and name of a device installed in the netstack.
DeviceLayerEventDispatcher
An event dispatcher for the device layer.
DeviceLayerStateTypes
Provides associated types used in the device layer.
DeviceProvider
Provides the Device type for each device domain.
ReceiveQueueBindingsContext
The bindings context for the receive queue.
TransmitQueueBindingsContext
The bindings context for the transmit queue.

Type Aliases§

BlackholeDeviceId
A strong device ID identifying a blackhole device.
EthernetDeviceId
A strong device ID identifying an ethernet device.
EthernetWeakDeviceId
A weak device ID identifying an ethernet device.
LoopbackDeviceId
A strong device ID identifying a loopback device.
PureIpDeviceId
A strong device ID identifying a pure IP device.
PureIpWeakDeviceId
A weak device ID identifying a pure IP device.