Module device_socket

Source
Expand description

Device socket API.

Structs§

DeviceSocketMetadata
Metadata required to send a frame on a device socket.
EthernetFrame
Data from an Ethernet frame.
EthernetHeaderParams
Parameters needed to apply system-framing of an Ethernet frame.
IpFrame
Data from an IP frame.
SocketInfo
Information about the bound state of a socket.
WeakDeviceSocketId
A weak reference to socket state.

Enums§

Frame
A frame sent or received on a device
FrameDestination
The type of address used as the destination address in a device-layer frame.
Protocol
A selector for frames based on link-layer protocol number.
ReceivedFrame
A frame received on a device.
SendFrameErrorReason
The error type for SendFrameError.
SentFrame
A frame sent on a device.
TargetDevice
Selector for devices to send and receive packets on.

Traits§

DeviceSocketBindingsContext
The execution context for device sockets provided by bindings.
DeviceSocketTypes
Provides associated types for device sockets provided by the bindings context.

Type Aliases§

SocketId
Public identifier for a socket.