QUIC management. More...


Go to the source code of this file.
Functions | |
| void | imquic_quic_init (const char *secrets_log) |
| Initialize the QUIC stack at startup. | |
| void | imquic_quic_deinit (void) |
| Uninitialize the QUIC stack. | |
| const char * | imquic_quic_sslkeylog_file (void) |
| Helper method to return the SSLKEYLOGFILE, if configured. | |
| int | imquic_quic_create_context (imquic_network_endpoint *endpoint, imquic_configuration *config) |
| Helper method to create a picoquic context for an endpoint. | |
| void | imquic_quic_incoming_packet (imquic_network_endpoint *endpoint, uint8_t *buffer, size_t len, imquic_network_address *sender) |
| Helper method to process incoming UDP messages. | |
| gboolean | imquic_quic_queued_event (imquic_connection *conn, imquic_connection_event *event) |
| Callback fired when there's a queued event to process for a connection, to process and trigger via picoquic in a thread-safe way. | |
| void | imquic_quic_next_step (imquic_network_endpoint *endpoint) |
| Helper to schedule the next picoquic lifecycle iteration. | |
QUIC management.
QUIC management (headers)
Implementation of the QUIC life cycle management, leveraging methods and callbacks provided by picoquic to manage connections
| int imquic_quic_create_context | ( | imquic_network_endpoint * | endpoint, |
| imquic_configuration * | config ) |
Helper method to create a picoquic context for an endpoint.
| endpoint | The imquic_network_endpoint instance associated with the picoquic context |
| config | The imquic_configuration instance used to configure the new endpoint |
| void imquic_quic_deinit | ( | void | ) |
Uninitialize the QUIC stack.
| void imquic_quic_incoming_packet | ( | imquic_network_endpoint * | endpoint, |
| uint8_t * | buffer, | ||
| size_t | len, | ||
| imquic_network_address * | sender ) |
Helper method to process incoming UDP messages.
| endpoint | The imquic_network_endpoint instance the message came from |
| buffer | The message data |
| len | The message size |
| sender | The imquic_network_address the message came from |
| void imquic_quic_init | ( | const char * | secrets_log | ) |
Initialize the QUIC stack at startup.
| secrets_log | File to use to store QUIC secret, e.g., for Wireshark debugging (see SSLKEYLOGFILE) |
| void imquic_quic_next_step | ( | imquic_network_endpoint * | endpoint | ) |
Helper to schedule the next picoquic lifecycle iteration.
| endpoint | The imquic_network_endpoint instance to update |
| gboolean imquic_quic_queued_event | ( | imquic_connection * | conn, |
| imquic_connection_event * | event ) |
Callback fired when there's a queued event to process for a connection, to process and trigger via picoquic in a thread-safe way.
| conn | The imquic_connection the event is for |
| event | The imquic_connection_event instance to handle |
| const char * imquic_quic_sslkeylog_file | ( | void | ) |
Helper method to return the SSLKEYLOGFILE, if configured.