Skip to main content

Module transport

Module transport 

Source
Expand description

Transport Layer Abstractions

Traits and types for FIPS transport drivers. Transports provide the underlying communication mechanisms (UDP, Ethernet, Tor, etc.) over which FIPS links are established.

Modules§

ble
BLE L2CAP Transport Implementation
ethernet
Ethernet Transport Implementation
tcp
TCP Transport Implementation
tor
Tor Transport Implementation
udp
UDP Transport Implementation

Structs§

DiscoveredPeer
A peer discovered via transport-layer discovery.
Link
A link to a remote endpoint over a transport.
LinkId
Unique identifier for a link instance.
LinkStats
Statistics for a link.
ReceivedPacket
A packet received from a transport.
TransportAddr
Opaque transport-specific address.
TransportCongestion
Transport-local congestion indicators.
TransportId
Unique identifier for a transport instance.
TransportType
Static metadata about a transport type.

Enums§

ConnectionState
State of a transport-level connection attempt.
LinkDirection
Direction of link establishment.
LinkState
Link lifecycle state.
TransportError
Errors related to transport operations.
TransportHandle
Wrapper enum for concrete transport implementations.
TransportState
Transport lifecycle state.

Traits§

Transport
Transport trait defining the interface for transport drivers.

Functions§

packet_channel
Create a packet channel.

Type Aliases§

PacketRx
Channel receiver for received packets.
PacketTx
Channel sender for received packets.