MoQ context. More...
#include <moq.h>

Data Fields | |
| imquic_connection * | conn |
| Associated QUIC connection. | |
| GList * | supported_versions |
| Peer versions. | |
| imquic_moq_version | version |
| Negotiated version. | |
| gboolean | do_grease |
| Whether we should add GREASE to our SETUP options. | |
| char * | peer_implementation |
| MoQ implementation of our peer, if provided. | |
| uint8_t * | auth |
| Auth data to use when connecting (clients only). | |
| size_t | authlen |
| Size of the auth data to use when connecting (clients only). | |
| gboolean | auth_set |
| Whether the auth data has been set. | |
| gboolean | is_server |
| Whether this is a QUIC server or client. | |
| gboolean | has_control_stream |
| Whether a MoQ control stream has been established. | |
| uint64_t | control_stream_id |
| ID(s) of the control stream (legacy bidirectional, or new unidirectional). | |
| uint64_t | remote_control_stream_id |
| gboolean | sent_setup |
| Whether we sent and received a SETUP. | |
| gboolean | recvd_setup |
| GHashTable * | streams |
| QUIC streams handled by the stack. | |
| GHashTable * | streams_by_reqid |
| Map of request streams, indexed by Request ID. | |
| GHashTable * | subscriptions |
| Subscriptions this connection will send objects to, indexed by track_alias. | |
| GHashTable * | subscriptions_by_id |
| Subscriptions this connection will send objects to, indexed by request_id. | |
| GHashTable * | fill_fetches_by_id |
| Subscriptions this connection will send objects to, indexed by request_id. | |
| GHashTable * | requests |
| Map of Request IDs and what they were for. | |
| GHashTable * | update_requests |
| Map of Request IDs to Existing Request IDs, for updates. | |
| uint64_t | expected_request_id |
| Current Request IDs we expect and we can send. | |
| uint64_t | next_request_id |
| uint64_t | max_request_id |
| Maximum Request IDs we can send and the one we accept. | |
| uint64_t | local_max_request_id |
| uint64_t | max_auth_token_cache_size |
| Maximum token cache size we can send and the one we accept. | |
| uint64_t | local_max_auth_token_cache_size |
| uint64_t | max_filter_ranges |
| Maximum Filter ranges we can send and the one we accept. | |
| uint64_t | local_max_filter_ranges |
| uint64_t | max_request_updates |
| Maximum Request updates we can send and the one we accept. | |
| uint64_t | local_max_request_updates |
| imquic_buffer * | buffer |
| Buffer to process incoming messages. | |
| imquic_mutex | mutex |
| Mutex. | |
| volatile gint | connected |
| Whether we have established a connection. | |
| volatile gint | check_pending |
| Check if it's time to handle pending streams. | |
| volatile gint | got_goaway |
| Whether we have received a GOAWAY. | |
| volatile gint | destroyed |
| Whether this instance has been destroyed (reference counting). | |
| imquic_refcount | ref |
| Reference counter. | |
MoQ context.
| uint8_t* imquic_moq_context::auth |
Auth data to use when connecting (clients only).
| gboolean imquic_moq_context::auth_set |
Whether the auth data has been set.
| size_t imquic_moq_context::authlen |
Size of the auth data to use when connecting (clients only).
| imquic_buffer* imquic_moq_context::buffer |
Buffer to process incoming messages.
| volatile gint imquic_moq_context::check_pending |
Check if it's time to handle pending streams.
| imquic_connection* imquic_moq_context::conn |
Associated QUIC connection.
| volatile gint imquic_moq_context::connected |
Whether we have established a connection.
| uint64_t imquic_moq_context::control_stream_id |
ID(s) of the control stream (legacy bidirectional, or new unidirectional).
| volatile gint imquic_moq_context::destroyed |
Whether this instance has been destroyed (reference counting).
| gboolean imquic_moq_context::do_grease |
Whether we should add GREASE to our SETUP options.
| uint64_t imquic_moq_context::expected_request_id |
Current Request IDs we expect and we can send.
| GHashTable* imquic_moq_context::fill_fetches_by_id |
Subscriptions this connection will send objects to, indexed by request_id.
| volatile gint imquic_moq_context::got_goaway |
Whether we have received a GOAWAY.
| gboolean imquic_moq_context::has_control_stream |
Whether a MoQ control stream has been established.
| gboolean imquic_moq_context::is_server |
Whether this is a QUIC server or client.
| uint64_t imquic_moq_context::local_max_auth_token_cache_size |
| uint64_t imquic_moq_context::local_max_filter_ranges |
| uint64_t imquic_moq_context::local_max_request_id |
| uint64_t imquic_moq_context::local_max_request_updates |
| uint64_t imquic_moq_context::max_auth_token_cache_size |
Maximum token cache size we can send and the one we accept.
| uint64_t imquic_moq_context::max_filter_ranges |
Maximum Filter ranges we can send and the one we accept.
| uint64_t imquic_moq_context::max_request_id |
Maximum Request IDs we can send and the one we accept.
| uint64_t imquic_moq_context::max_request_updates |
Maximum Request updates we can send and the one we accept.
| imquic_mutex imquic_moq_context::mutex |
Mutex.
| uint64_t imquic_moq_context::next_request_id |
| char* imquic_moq_context::peer_implementation |
MoQ implementation of our peer, if provided.
| gboolean imquic_moq_context::recvd_setup |
| imquic_refcount imquic_moq_context::ref |
Reference counter.
| uint64_t imquic_moq_context::remote_control_stream_id |
| GHashTable* imquic_moq_context::requests |
Map of Request IDs and what they were for.
| gboolean imquic_moq_context::sent_setup |
Whether we sent and received a SETUP.
| GHashTable* imquic_moq_context::streams |
QUIC streams handled by the stack.
| GHashTable* imquic_moq_context::streams_by_reqid |
Map of request streams, indexed by Request ID.
| GHashTable* imquic_moq_context::subscriptions |
Subscriptions this connection will send objects to, indexed by track_alias.
| GHashTable* imquic_moq_context::subscriptions_by_id |
Subscriptions this connection will send objects to, indexed by request_id.
| GList* imquic_moq_context::supported_versions |
Peer versions.
| GHashTable* imquic_moq_context::update_requests |
Map of Request IDs to Existing Request IDs, for updates.
| imquic_moq_version imquic_moq_context::version |
Negotiated version.