Expand description
§xarxa-driver
The driver interface of the xarxa network
stack.
Driver implementations should depend on xarxa-driver instead of the full xarxa crate.
§Feature flags
defmt— Derivedefmt::Formaton the types in this crate.
§Packet metadata
-
packetmeta-id— Enable thePacketMeta::idfield: an opaque number that travels with a packet through the whole stack. -
packetmeta-timestamp— Enable thePacketMeta::timestampandPacketMeta::request_timestampfields, andDriver::poll_tx_timestamp.Transmit timestamps are correlated back to the packet that produced them by
PacketMeta::id, so this impliespacketmeta-id.
Modules§
- config
- Compile-time configuration.
Structs§
- Capabilities
- A description of a device’s capabilities.
- Checksum
Capabilities - A description of checksum behavior for every supported protocol.
- Packet
Buf - An owned network packet buffer.
- Packet
Meta - Metadata associated with a packet.
- Timestamp
- A reading of a device’s own clock.
- TxTimestamp
- The timestamp of a transmitted packet, reported by
Driver::poll_tx_timestamp.
Enums§
- Checksum
- A description of checksum behavior for a particular protocol.
- Hardware
Address - A hardware (link-layer) address, as reported by a driver.
- Link
State - Link state of a network device.
- Medium
- Type of medium of a network device.
Traits§
- Driver
- A network device driver, sending and receiving raw network frames.