|
static void | quic_update_timer (quic_ctx_t *ctx) |
|
static int | quic_on_client_connected (quic_ctx_t *ctx) |
|
static u32 | quic_ctx_alloc (u32 thread_index) |
|
static void | quic_ctx_free (quic_ctx_t *ctx) |
|
static quic_ctx_t * | quic_ctx_get (u32 ctx_index, u32 thread_index) |
|
static quic_ctx_t * | quic_ctx_get_if_valid (u32 ctx_index, u32 thread_index) |
|
static quic_ctx_t * | quic_get_conn_ctx (quicly_conn_t *conn) |
|
static void | quic_store_conn_ctx (quicly_conn_t *conn, quic_ctx_t *ctx) |
|
static int | quic_ctx_is_stream (quic_ctx_t *ctx) |
|
static int | quic_ctx_is_listener (quic_ctx_t *ctx) |
|
static session_t * | get_stream_session_from_stream (quicly_stream_t *stream) |
|
static void | quic_make_connection_key (clib_bihash_kv_16_8_t *kv, const quicly_cid_plaintext_t *id) |
|
static int | quic_sendable_packet_count (session_t *udp_session) |
|
static quicly_context_t * | quic_get_quicly_ctx_from_ctx (quic_ctx_t *ctx) |
|
static quicly_context_t * | quic_get_quicly_ctx_from_udp (u64 udp_session_handle) |
|
static void | quic_ack_rx_data (session_t *stream_session) |
|
static void | quic_disconnect_transport (quic_ctx_t *ctx) |
|
static void | quic_connection_delete (quic_ctx_t *ctx) |
|
void | quic_increment_counter (u8 evt, u8 val) |
|
void | quic_event_log (quicly_event_logger_t *_self, quicly_event_type_t type, const quicly_event_attribute_t *attributes, size_t num_attributes) |
|
quicly_event_logger_t * | quic_new_event_logger () |
|
void | quic_free_event_logger (quicly_event_logger_t *_self) |
|
static void | quic_connection_closed (quic_ctx_t *ctx) |
| Called when quicly return an error This function interacts tightly with quic_proto_on_close. More...
|
|
static int | quic_send_datagram (session_t *udp_session, quicly_datagram_t *packet) |
|
static int | quic_send_packets (quic_ctx_t *ctx) |
|
static void | quic_on_stream_destroy (quicly_stream_t *stream, int err) |
|
static int | quic_on_stop_sending (quicly_stream_t *stream, int err) |
|
static int | quic_on_receive_reset (quicly_stream_t *stream, int err) |
|
static int | quic_on_receive (quicly_stream_t *stream, size_t off, const void *src, size_t len) |
|
void | quic_fifo_egress_shift (quicly_stream_t *stream, size_t delta) |
|
int | quic_fifo_egress_emit (quicly_stream_t *stream, size_t off, void *dst, size_t *len, int *wrote_all) |
|
static void | quic_accept_stream (void *s) |
|
static int | quic_on_stream_open (quicly_stream_open_t *self, quicly_stream_t *stream) |
|
static void | quic_on_closed_by_peer (quicly_closed_by_peer_t *self, quicly_conn_t *conn, int code, uint64_t frame_type, const char *reason, size_t reason_len) |
|
static int64_t | quic_get_thread_time (u8 thread_index) |
|
static int64_t | quic_get_time (quicly_now_t *self) |
|
static u32 | quic_set_time_now (u32 thread_index) |
|
static void | quic_update_time (f64 now, u8 thread_index) |
|
static void | quic_timer_expired (u32 conn_index) |
|
static void | quic_expired_timers_dispatch (u32 *expired_timers) |
|
static int | quic_encrypt_ticket_cb (ptls_encrypt_ticket_t *_self, ptls_t *tls, int is_encrypt, ptls_buffer_t *dst, ptls_iovec_t src) |
|
static void | quic_store_quicly_ctx (application_t *app, u8 is_client) |
|
static int | quic_connect_new_stream (session_t *quic_session, u32 opaque) |
|
static int | quic_connect_new_connection (session_endpoint_cfg_t *sep) |
|
static int | quic_connect (transport_endpoint_cfg_t *tep) |
|
static void | quic_proto_on_close (u32 ctx_index, u32 thread_index) |
|
static u32 | quic_start_listen (u32 quic_listen_session_index, transport_endpoint_t *tep) |
|
static u32 | quic_stop_listen (u32 lctx_index) |
|
static transport_connection_t * | quic_connection_get (u32 ctx_index, u32 thread_index) |
|
static transport_connection_t * | quic_listener_get (u32 listener_index) |
|
static u8 * | format_quic_ctx (u8 *s, va_list *args) |
|
static u8 * | format_quic_connection (u8 *s, va_list *args) |
|
static u8 * | format_quic_half_open (u8 *s, va_list *args) |
|
static u8 * | format_quic_listener (u8 *s, va_list *args) |
|
static void | quic_build_sockaddr (struct sockaddr *sa, socklen_t *salen, ip46_address_t *addr, u16 port, u8 is_ip4) |
|
static void | quic_update_conn_ctx (quicly_conn_t *conn, quicly_context_t *quicly_context) |
|
static void | quic_receive_connection (void *arg) |
|
static void | quic_transfer_connection (u32 ctx_index, u32 dest_thread) |
|
static int | quic_session_connected_callback (u32 quic_app_index, u32 ctx_index, session_t *udp_session, u8 is_fail) |
|
static void | quic_session_disconnect_callback (session_t *s) |
|
static void | quic_session_reset_callback (session_t *s) |
|
static void | quic_session_migrate_callback (session_t *s, session_handle_t new_sh) |
|
int | quic_session_accepted_callback (session_t *udp_session) |
|
static int | quic_add_segment_callback (u32 client_index, u64 seg_handle) |
|
static int | quic_del_segment_callback (u32 client_index, u64 seg_handle) |
|
static int | quic_custom_app_rx_callback (transport_connection_t *tc) |
|
static int | quic_custom_tx_callback (void *s, u32 max_burst_size) |
|
static int | quic_find_packet_ctx (u32 *ctx_thread, u32 *ctx_index, struct sockaddr *sa, socklen_t salen, quicly_decoded_packet_t *packet, u32 caller_thread_index) |
|
static int | quic_create_quic_session (quic_ctx_t *ctx) |
|
static int | quic_create_connection (u32 ctx_index, struct sockaddr *sa, socklen_t salen, quicly_decoded_packet_t packet) |
|
static int | quic_reset_connection (u64 udp_session_handle, struct sockaddr *sa, socklen_t salen, quicly_decoded_packet_t packet) |
|
static void | check_quic_client_connected (struct quic_rx_packet_ctx_ *quic_rx_ctx) |
|
static int | quic_process_one_rx_packet (u64 udp_session_handle, quicly_context_t *quicly_ctx, svm_fifo_t *f, u32 *fifo_offset, u32 *max_packet, u32 packet_n, quic_rx_packet_ctx_t *packet_ctx) |
|
static int | quic_app_rx_callback (session_t *udp_session) |
|
static void | quic_common_get_transport_endpoint (quic_ctx_t *ctx, transport_endpoint_t *tep, u8 is_lcl) |
|
static void | quic_get_transport_listener_endpoint (u32 listener_index, transport_endpoint_t *tep, u8 is_lcl) |
|
static void | quic_get_transport_endpoint (u32 ctx_index, u32 thread_index, transport_endpoint_t *tep, u8 is_lcl) |
|
static void | quic_register_cipher_suite (quic_crypto_engine_t type, ptls_cipher_suite_t **ciphers) |
|
static void | quic_update_fifo_size () |
|
static clib_error_t * | quic_init (vlib_main_t *vm) |
|
static clib_error_t * | quic_plugin_crypto_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | quic_plugin_set_fifo_size_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8 * | quic_format_ctx_stat (u8 *s, va_list *args) |
|
static clib_error_t * | quic_plugin_showstats_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
| VLIB_PLUGIN_REGISTER () |
|
static clib_error_t * | quic_config_fn (vlib_main_t *vm, unformat_input_t *input) |
|
static uword | quic_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|