Lines Matching defs:ch

107 static QLOG *ch_get_qlog(QUIC_CHANNEL *ch)  in ch_get_qlog()
142 QUIC_CHANNEL *ch = arg; in ch_get_qlog_cb() local
159 static int ch_init(QUIC_CHANNEL *ch) in ch_init()
391 static void ch_cleanup(QUIC_CHANNEL *ch) in ch_cleanup()
446 int ossl_quic_channel_init(QUIC_CHANNEL *ch) in ossl_quic_channel_init()
464 QUIC_CHANNEL *ch = NULL; in ossl_quic_channel_alloc() local
490 void ossl_quic_channel_free(QUIC_CHANNEL *ch) in ossl_quic_channel_free()
500 int ossl_quic_channel_set_mutator(QUIC_CHANNEL *ch, in ossl_quic_channel_set_mutator()
512 int ossl_quic_channel_get_peer_addr(QUIC_CHANNEL *ch, BIO_ADDR *peer_addr) in ossl_quic_channel_get_peer_addr()
520 int ossl_quic_channel_set_peer_addr(QUIC_CHANNEL *ch, const BIO_ADDR *peer_addr) in ossl_quic_channel_set_peer_addr()
540 QUIC_REACTOR *ossl_quic_channel_get_reactor(QUIC_CHANNEL *ch) in ossl_quic_channel_get_reactor()
545 QUIC_STREAM_MAP *ossl_quic_channel_get_qsm(QUIC_CHANNEL *ch) in ossl_quic_channel_get_qsm()
550 OSSL_STATM *ossl_quic_channel_get_statm(QUIC_CHANNEL *ch) in ossl_quic_channel_get_statm()
555 SSL *ossl_quic_channel_get0_tls(QUIC_CHANNEL *ch) in ossl_quic_channel_get0_tls()
565 int ossl_quic_channel_schedule_new_token(QUIC_CHANNEL *ch, in ossl_quic_channel_schedule_new_token()
609 size_t ossl_quic_channel_get_short_header_conn_id_len(QUIC_CHANNEL *ch) in ossl_quic_channel_get_short_header_conn_id_len()
614 QUIC_STREAM *ossl_quic_channel_get_stream_by_id(QUIC_CHANNEL *ch, in ossl_quic_channel_get_stream_by_id()
620 int ossl_quic_channel_is_active(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_active()
625 int ossl_quic_channel_is_closing(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_closing()
630 static int ossl_quic_channel_is_draining(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_draining()
635 static int ossl_quic_channel_is_terminating(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_terminating()
641 int ossl_quic_channel_is_terminated(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_terminated()
646 int ossl_quic_channel_is_term_any(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_term_any()
653 ossl_quic_channel_get_terminate_cause(const QUIC_CHANNEL *ch) in ossl_quic_channel_get_terminate_cause()
658 int ossl_quic_channel_is_handshake_complete(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_handshake_complete()
663 int ossl_quic_channel_is_handshake_confirmed(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_handshake_confirmed()
668 QUIC_DEMUX *ossl_quic_channel_get0_demux(QUIC_CHANNEL *ch) in ossl_quic_channel_get0_demux()
673 QUIC_PORT *ossl_quic_channel_get0_port(QUIC_CHANNEL *ch) in ossl_quic_channel_get0_port()
678 QUIC_ENGINE *ossl_quic_channel_get0_engine(QUIC_CHANNEL *ch) in ossl_quic_channel_get0_engine()
683 CRYPTO_MUTEX *ossl_quic_channel_get_mutex(QUIC_CHANNEL *ch) in ossl_quic_channel_get_mutex()
688 int ossl_quic_channel_has_pending(const QUIC_CHANNEL *ch) in ossl_quic_channel_has_pending()
702 QUIC_CHANNEL *ch = arg; in get_time() local
710 QUIC_CHANNEL *ch = arg; in get_stream_limit() local
721 QUIC_CHANNEL *ch = arg; in rx_late_validate() local
735 static void ch_trigger_txku(QUIC_CHANNEL *ch) in ch_trigger_txku()
753 static int txku_in_progress(QUIC_CHANNEL *ch) in txku_in_progress()
777 static int txku_allowed(QUIC_CHANNEL *ch) in txku_allowed()
786 static int txku_recommendable(QUIC_CHANNEL *ch) in txku_recommendable()
800 static int txku_desirable(QUIC_CHANNEL *ch) in txku_desirable()
817 static void ch_maybe_trigger_spontaneous_txku(QUIC_CHANNEL *ch) in ch_maybe_trigger_spontaneous_txku()
827 static int rxku_allowed(QUIC_CHANNEL *ch) in rxku_allowed()
860 QUIC_CHANNEL *ch = arg; in rxku_detected() local
928 static void ch_rxku_tick(QUIC_CHANNEL *ch) in ch_rxku_tick()
946 QUIC_CHANNEL *ch = arg; in ch_on_txp_ack_tx() local
967 QUIC_CHANNEL *ch = arg; in ch_on_crypto_send() local
996 QUIC_CHANNEL *ch = arg; in ch_on_crypto_recv_record() local
1034 QUIC_CHANNEL *ch = arg; in ch_on_crypto_release_record() local
1057 QUIC_CHANNEL *ch = arg; in ch_on_handshake_yield_secret() local
1135 QUIC_CHANNEL *ch = arg; in ch_on_handshake_complete() local
1205 QUIC_CHANNEL *ch = arg; in ch_on_handshake_alert() local
1288 QUIC_CHANNEL *ch = arg; in do_update() local
1307 QUIC_CHANNEL *ch = arg; in ch_on_transport_params() local
1858 static int ch_generate_transport_params(QUIC_CHANNEL *ch) in ch_generate_transport_params()
2020 void ossl_quic_channel_subtick(QUIC_CHANNEL *ch, QUIC_TICK_RESULT *res, in ossl_quic_channel_subtick()
2165 static int ch_tick_tls(QUIC_CHANNEL *ch, int channel_only, int *notify_other_threads) in ch_tick_tls()
2191 static void ch_rx_check_forged_pkt_limit(QUIC_CHANNEL *ch) in ch_rx_check_forged_pkt_limit()
2223 static int ch_rx(QUIC_CHANNEL *ch, int channel_only, int *notify_other_threads) in ch_rx()
2306 static void ch_rx_handle_packet(QUIC_CHANNEL *ch, int channel_only) in ch_rx_handle_packet()
2619 static void ch_rx_handle_version_neg(QUIC_CHANNEL *ch, OSSL_QRX_PKT *pkt) in ch_rx_handle_version_neg()
2645 static void ch_raise_version_neg_failure(QUIC_CHANNEL *ch) in ch_raise_version_neg_failure()
2661 static int ch_tx(QUIC_CHANNEL *ch, int *notify_other_threads) in ch_tx()
2782 static OSSL_TIME ch_determine_next_tick_deadline(QUIC_CHANNEL *ch) in ch_determine_next_tick_deadline()
2841 static void ch_record_state_transition(QUIC_CHANNEL *ch, uint32_t new_state) in ch_record_state_transition()
2860 int ossl_quic_channel_start(QUIC_CHANNEL *ch) in ossl_quic_channel_start()
2930 void ossl_quic_channel_local_close(QUIC_CHANNEL *ch, uint64_t app_error_code, in ossl_quic_channel_local_close()
2954 static int ch_restart(QUIC_CHANNEL *ch) in ch_restart()
2965 static int ch_retry(QUIC_CHANNEL *ch, in ch_retry()
3044 static int ch_discard_el(QUIC_CHANNEL *ch, in ch_discard_el()
3082 int ossl_quic_channel_on_handshake_confirmed(QUIC_CHANNEL *ch) in ossl_quic_channel_on_handshake_confirmed()
3182 static void ch_start_terminating(QUIC_CHANNEL *ch, in ch_start_terminating()
3271 void ossl_quic_channel_on_remote_conn_close(QUIC_CHANNEL *ch, in ossl_quic_channel_on_remote_conn_close()
3293 static int ch_enqueue_retire_conn_id(QUIC_CHANNEL *ch, uint64_t seq_num) in ch_enqueue_retire_conn_id()
3335 void ossl_quic_channel_on_new_conn_id(QUIC_CHANNEL *ch, in ossl_quic_channel_on_new_conn_id()
3445 static void ch_save_err_state(QUIC_CHANNEL *ch) in ch_save_err_state()
3456 void ossl_quic_channel_inject(QUIC_CHANNEL *ch, QUIC_URXE *e) in ossl_quic_channel_inject()
3461 void ossl_quic_channel_inject_pkt(QUIC_CHANNEL *ch, OSSL_QRX_PKT *qpkt) in ossl_quic_channel_inject_pkt()
3466 void ossl_quic_channel_on_stateless_reset(QUIC_CHANNEL *ch) in ossl_quic_channel_on_stateless_reset()
3475 void ossl_quic_channel_raise_net_error(QUIC_CHANNEL *ch) in ossl_quic_channel_raise_net_error()
3495 int ossl_quic_channel_net_error(QUIC_CHANNEL *ch) in ossl_quic_channel_net_error()
3500 void ossl_quic_channel_restore_err_state(QUIC_CHANNEL *ch) in ossl_quic_channel_restore_err_state()
3511 void ossl_quic_channel_raise_protocol_error_loc(QUIC_CHANNEL *ch, in ossl_quic_channel_raise_protocol_error_loc()
3587 static void ch_on_terminating_timeout(QUIC_CHANNEL *ch) in ch_on_terminating_timeout()
3597 static OSSL_TIME ch_get_effective_idle_timeout_duration(QUIC_CHANNEL *ch) in ch_get_effective_idle_timeout_duration()
3621 static void ch_update_idle(QUIC_CHANNEL *ch) in ch_update_idle()
3631 static void ch_update_ping_deadline(QUIC_CHANNEL *ch) in ch_update_ping_deadline()
3653 static void ch_on_idle_timeout(QUIC_CHANNEL *ch) in ch_on_idle_timeout()
3683 static int ch_on_new_conn_common(QUIC_CHANNEL *ch, const BIO_ADDR *peer, in ch_on_new_conn_common()
3738 int ossl_quic_channel_on_new_conn(QUIC_CHANNEL *ch, const BIO_ADDR *peer, in ossl_quic_channel_on_new_conn()
3775 int ossl_quic_bind_channel(QUIC_CHANNEL *ch, const BIO_ADDR *peer, in ossl_quic_bind_channel()
3797 SSL *ossl_quic_channel_get0_ssl(QUIC_CHANNEL *ch) in ossl_quic_channel_get0_ssl()
3802 static int ch_init_new_stream(QUIC_CHANNEL *ch, QUIC_STREAM *qs, in ch_init_new_stream()
3868 static uint64_t *ch_get_local_stream_next_ordinal_ptr(QUIC_CHANNEL *ch, in ch_get_local_stream_next_ordinal_ptr()
3875 static const uint64_t *ch_get_local_stream_max_ptr(const QUIC_CHANNEL *ch, in ch_get_local_stream_max_ptr()
3882 static const QUIC_RXFC *ch_get_remote_stream_count_rxfc(const QUIC_CHANNEL *ch, in ch_get_remote_stream_count_rxfc()
3889 int ossl_quic_channel_is_new_local_stream_admissible(QUIC_CHANNEL *ch, in ossl_quic_channel_is_new_local_stream_admissible()
3899 uint64_t ossl_quic_channel_get_local_stream_count_avail(const QUIC_CHANNEL *ch, in ossl_quic_channel_get_local_stream_count_avail()
3911 uint64_t ossl_quic_channel_get_remote_stream_count_avail(const QUIC_CHANNEL *ch, in ossl_quic_channel_get_remote_stream_count_avail()
3917 QUIC_STREAM *ossl_quic_channel_new_stream_local(QUIC_CHANNEL *ch, int is_uni) in ossl_quic_channel_new_stream_local()
3954 QUIC_STREAM *ossl_quic_channel_new_stream_remote(QUIC_CHANNEL *ch, in ossl_quic_channel_new_stream_remote()
3991 void ossl_quic_channel_set_incoming_stream_auto_reject(QUIC_CHANNEL *ch, in ossl_quic_channel_set_incoming_stream_auto_reject()
3999 void ossl_quic_channel_reject_stream(QUIC_CHANNEL *ch, QUIC_STREAM *qs) in ossl_quic_channel_reject_stream()
4012 int ossl_quic_channel_replace_local_cid(QUIC_CHANNEL *ch, in ossl_quic_channel_replace_local_cid()
4029 void ossl_quic_channel_set_msg_callback(QUIC_CHANNEL *ch, in ossl_quic_channel_set_msg_callback()
4046 void ossl_quic_channel_set_msg_callback_arg(QUIC_CHANNEL *ch, in ossl_quic_channel_set_msg_callback_arg()
4061 void ossl_quic_channel_set_txku_threshold_override(QUIC_CHANNEL *ch, in ossl_quic_channel_set_txku_threshold_override()
4067 uint64_t ossl_quic_channel_get_tx_key_epoch(QUIC_CHANNEL *ch) in ossl_quic_channel_get_tx_key_epoch()
4072 uint64_t ossl_quic_channel_get_rx_key_epoch(QUIC_CHANNEL *ch) in ossl_quic_channel_get_rx_key_epoch()
4077 int ossl_quic_channel_trigger_txku(QUIC_CHANNEL *ch) in ossl_quic_channel_trigger_txku()
4087 int ossl_quic_channel_ping(QUIC_CHANNEL *ch) in ossl_quic_channel_ping()
4096 uint16_t ossl_quic_channel_get_diag_num_rx_ack(QUIC_CHANNEL *ch) in ossl_quic_channel_get_diag_num_rx_ack()
4101 void ossl_quic_channel_get_diag_local_cid(QUIC_CHANNEL *ch, QUIC_CONN_ID *cid) in ossl_quic_channel_get_diag_local_cid()
4106 int ossl_quic_channel_have_generated_transport_params(const QUIC_CHANNEL *ch) in ossl_quic_channel_have_generated_transport_params()
4111 void ossl_quic_channel_set_max_idle_timeout_request(QUIC_CHANNEL *ch, uint64_t ms) in ossl_quic_channel_set_max_idle_timeout_request()
4115 uint64_t ossl_quic_channel_get_max_idle_timeout_request(const QUIC_CHANNEL *ch) in ossl_quic_channel_get_max_idle_timeout_request()
4120 uint64_t ossl_quic_channel_get_max_idle_timeout_peer_request(const QUIC_CHANNEL *ch) in ossl_quic_channel_get_max_idle_timeout_peer_request()
4125 uint64_t ossl_quic_channel_get_max_idle_timeout_actual(const QUIC_CHANNEL *ch) in ossl_quic_channel_get_max_idle_timeout_actual()