Expand description
Device socket API.
Structs§
- Device
Socket Metadata - Metadata required to send a frame on a device socket.
- Ethernet
Frame - Data from an Ethernet frame.
- Ethernet
Header Params - Parameters needed to apply system-framing of an Ethernet frame.
- IpFrame
- Data from an IP frame.
- Socket
Info - Information about the bound state of a socket.
- Weak
Device Socket Id - A weak reference to socket state.
Enums§
- Frame
- A frame sent or received on a device
- Frame
Destination - 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.
- Received
Frame - A frame received on a device.
- Send
Frame Error Reason - The error type for
SendFrameError
. - Sent
Frame - A frame sent on a device.
- Target
Device - Selector for devices to send and receive packets on.
Traits§
- Device
Socket Bindings Context - The execution context for device sockets provided by bindings.
- Device
Socket Types - Provides associated types for device sockets provided by the bindings context.
Type Aliases§
- Socket
Id - Public identifier for a socket.