Module device

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.
DeviceCounters
Device layer counters.
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.
BoundInterfaceMatcher
Matcher for the bound device of locally generated traffic.
DeviceConfigurationUpdateError
Errors observed updating device configuration.
DeviceId
A strong ID identifying a device.
DeviceSendFrameError
An error encountered when sending a frame.
EthernetDeviceEvent
Events emitted from ethernet devices.
EthernetLinkDevice
An implementation of the LinkDevice trait for Ethernet devices.
InterfaceMatcher
A matcher for network interfaces.
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.
InterfaceProperties
Allows code to match on properties of an interface (ID, name, and device class) without Netstack3 Core (or Bindings, in the case of the device class) having to specifically expose that state.
ReceiveQueueBindingsContext
The bindings context for the receive queue.
StrongDeviceIdentifier
A strong device reference.
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.
LoopbackWeakDeviceId
A weak 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.