Module webrtc_sctp::stack[][src]

The SCTP stack is implemented as a single future that can be provided to Tokio. It delegates internally to child futures (e.g. for associations).

Modules

association

SCTP associations. Most of the complexity of SCTP is here.

cookie

SCTP cookies are part of the 4-way handshake, and provide a means for the server to avoid storing state after receiving an INIT from a peer, thus avoiding certain types of denial of service attacks.

lowerlayer

SCTP packets are encapsulated into a lower-layer protocol (LLP) for transmission. Using UDP as an LLP is convenient for testing interoperability with libusrsctp, although for WebRTC data channels the lower layer protocol will be DTLS.

queue

Queues

recvtracker
settings
sync

Provide a synchronous API which wraps the asynchronous API to provide a convenient way of using the SCTP stack.

Structs

Packet
SctpStack

The state for the SCTP stack itself.

StackResources

Resources shared by all associations in this stack. Its members should be cloneable in a lightweight fashion.

Enums

SctpCommand
Timeout