cwist
Modern C web framework with libttak runtime
Loading...
Searching...
No Matches
cwist_webrtc_msg Struct Reference

A DataChannel message on its way into SCTP. More...

#include <webrtc_internal.h>

Collaboration diagram for cwist_webrtc_msg:

Public Attributes

struct cwist_webrtc_msg * next
 
struct cwist_webrtc_conn * conn
 
uint32_t len
 
uint16_t channel
 
uint8_t is_string
 
uint8_t data []
 

Detailed Description

A DataChannel message on its way into SCTP.

Foreign-thread sends travel through the conn's inbox in the same node they wait in on the pending queue, so a queued send costs one allocation.

Definition at line 68 of file webrtc_internal.h.

Member Data Documentation

◆ channel

uint16_t cwist_webrtc_msg::channel

SCTP stream id.

Definition at line 72 of file webrtc_internal.h.

◆ conn

struct cwist_webrtc_conn* cwist_webrtc_msg::conn

Target conn (referenced while posted).

Definition at line 70 of file webrtc_internal.h.

◆ data

uint8_t cwist_webrtc_msg::data[]

Payload.

Definition at line 74 of file webrtc_internal.h.

◆ is_string

uint8_t cwist_webrtc_msg::is_string

Non-zero for PPID 50 (string).

Definition at line 73 of file webrtc_internal.h.

◆ len

uint32_t cwist_webrtc_msg::len

Payload length in bytes.

Definition at line 71 of file webrtc_internal.h.

◆ next

struct cwist_webrtc_msg* cwist_webrtc_msg::next

Inbox / pending-queue link.

Definition at line 69 of file webrtc_internal.h.


The documentation for this struct was generated from the following file: