Expand description
C ABI bindings for MSRT.
Structs§
- Msrt
Config - C-compatible endpoint configuration.
- Msrt
Endpoint - Opaque MSRT endpoint handle.
- Msrt
Endpoint Storage - Caller-owned endpoint storage for heap-free C integrations.
- Msrt
Poll Event - C-compatible poll event.
- Msrt
Receive Event - C-compatible receive report.
Constants§
- ENDPOINT_
STORAGE_ BYTES - Conservative caller-owned endpoint storage size.
- MAX_
EVENT_ BYTES - Maximum bytes carried by one C poll event.
- MSRT_
INTEGRITY_ AEAD_ DEFAULT - Backward-compatible alias for
MSRT_INTEGRITY_SIP_TAG_DEFAULT. - MSRT_
INTEGRITY_ AEAD_ KEY - Backward-compatible alias for
MSRT_INTEGRITY_SIP_TAG_KEY. - MSRT_
INTEGRITY_ CRC16 - Default CRC-16/XMODEM integrity.
- MSRT_
INTEGRITY_ CRC32 - CRC-32/ISO-HDLC integrity.
- MSRT_
INTEGRITY_ CRC64 - CRC-64/ECMA-182 integrity.
- MSRT_
INTEGRITY_ SIP_ TAG_ DEFAULT - Keyed SipTag integrity using the MSRT default key.
- MSRT_
INTEGRITY_ SIP_ TAG_ KEY - Keyed SipTag integrity using the configured key.
- MSRT_
PEER_ CONNECTED - Endpoint has observed valid peer traffic.
- MSRT_
PEER_ CONNECTING - Endpoint has a local session but has not yet observed valid peer traffic.
- MSRT_
PEER_ DISCONNECTED - Endpoint is disconnected.
- MSRT_
POLL_ IDLE - No endpoint action is pending.
- MSRT_
POLL_ MESSAGE - A complete application message is available.
- MSRT_
POLL_ SEND_ FAILED - A reliable message failed to send.
- MSRT_
POLL_ TRANSMIT - Event bytes should be transmitted by the caller.
- MSRT_
RECEIVE_ ACK - An ACK packet was accepted.
- MSRT_
RECEIVE_ CORRUPTED - A corrupted packet envelope was rejected.
- MSRT_
RECEIVE_ DUPLICATE - A duplicate packet was accepted and acknowledged.
- MSRT_
RECEIVE_ ERROR - The packet was valid but could not be applied.
- MSRT_
RECEIVE_ INCOMPLETE - More bytes are needed.
- MSRT_
RECEIVE_ NOISE - Noise was skipped.
- MSRT_
RECEIVE_ NONE - No receive detail is available.
- MSRT_
RECEIVE_ PACKET - A packet was accepted.
- MSRT_
RECEIVE_ PING - A PING packet was accepted.
- MSRT_
RECEIVE_ PONG - A PONG packet was accepted.
- MSRT_
ROLE_ CLIENT - Active client endpoint role.
- MSRT_
ROLE_ PASSIVE - Passive single-peer endpoint role.
- MSRT_
STATUS_ INVALID_ SLICE - A slice pointer was null while its length was non-zero.
- MSRT_
STATUS_ INVALID_ STORAGE - Caller-provided storage is too small or insufficiently aligned.
- MSRT_
STATUS_ NO_ SESSION - The endpoint is not currently connected or accepted.
- MSRT_
STATUS_ NULL - A required pointer argument was null.
- MSRT_
STATUS_ OK - Operation completed successfully.
- MSRT_
STATUS_ PROTOCOL_ ERROR - MSRT reported a protocol error.
- MSRT_
STATUS_ UNSUPPORTED - The requested option value is not supported.