Lines Matching defs:ch
109 static QLOG *ch_get_qlog(QUIC_CHANNEL *ch) in ch_get_qlog()
144 QUIC_CHANNEL *ch = arg; in ch_get_qlog_cb() local
161 static int ch_init(QUIC_CHANNEL *ch) in ch_init()
365 static void ch_cleanup(QUIC_CHANNEL *ch) in ch_cleanup()
421 QUIC_CHANNEL *ch = NULL; in ossl_quic_channel_new() local
450 void ossl_quic_channel_free(QUIC_CHANNEL *ch) in ossl_quic_channel_free()
460 int ossl_quic_channel_set_mutator(QUIC_CHANNEL *ch, in ossl_quic_channel_set_mutator()
472 int ossl_quic_channel_get_peer_addr(QUIC_CHANNEL *ch, BIO_ADDR *peer_addr) in ossl_quic_channel_get_peer_addr()
481 int ossl_quic_channel_set_peer_addr(QUIC_CHANNEL *ch, const BIO_ADDR *peer_addr) in ossl_quic_channel_set_peer_addr()
497 QUIC_REACTOR *ossl_quic_channel_get_reactor(QUIC_CHANNEL *ch) in ossl_quic_channel_get_reactor()
502 QUIC_STREAM_MAP *ossl_quic_channel_get_qsm(QUIC_CHANNEL *ch) in ossl_quic_channel_get_qsm()
507 OSSL_STATM *ossl_quic_channel_get_statm(QUIC_CHANNEL *ch) in ossl_quic_channel_get_statm()
512 QUIC_STREAM *ossl_quic_channel_get_stream_by_id(QUIC_CHANNEL *ch, in ossl_quic_channel_get_stream_by_id()
518 int ossl_quic_channel_is_active(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_active()
523 int ossl_quic_channel_is_closing(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_closing()
528 static int ossl_quic_channel_is_draining(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_draining()
533 static int ossl_quic_channel_is_terminating(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_terminating()
539 int ossl_quic_channel_is_terminated(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_terminated()
544 int ossl_quic_channel_is_term_any(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_term_any()
551 ossl_quic_channel_get_terminate_cause(const QUIC_CHANNEL *ch) in ossl_quic_channel_get_terminate_cause()
556 int ossl_quic_channel_is_handshake_complete(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_handshake_complete()
561 int ossl_quic_channel_is_handshake_confirmed(const QUIC_CHANNEL *ch) in ossl_quic_channel_is_handshake_confirmed()
566 QUIC_DEMUX *ossl_quic_channel_get0_demux(QUIC_CHANNEL *ch) in ossl_quic_channel_get0_demux()
571 QUIC_PORT *ossl_quic_channel_get0_port(QUIC_CHANNEL *ch) in ossl_quic_channel_get0_port()
576 QUIC_ENGINE *ossl_quic_channel_get0_engine(QUIC_CHANNEL *ch) in ossl_quic_channel_get0_engine()
581 CRYPTO_MUTEX *ossl_quic_channel_get_mutex(QUIC_CHANNEL *ch) in ossl_quic_channel_get_mutex()
586 int ossl_quic_channel_has_pending(const QUIC_CHANNEL *ch) in ossl_quic_channel_has_pending()
600 QUIC_CHANNEL *ch = arg; in get_time() local
608 QUIC_CHANNEL *ch = arg; in get_stream_limit() local
619 QUIC_CHANNEL *ch = arg; in rx_late_validate() local
633 static void ch_trigger_txku(QUIC_CHANNEL *ch) in ch_trigger_txku()
651 static int txku_in_progress(QUIC_CHANNEL *ch) in txku_in_progress()
675 static int txku_allowed(QUIC_CHANNEL *ch) in txku_allowed()
684 static int txku_recommendable(QUIC_CHANNEL *ch) in txku_recommendable()
698 static int txku_desirable(QUIC_CHANNEL *ch) in txku_desirable()
715 static void ch_maybe_trigger_spontaneous_txku(QUIC_CHANNEL *ch) in ch_maybe_trigger_spontaneous_txku()
725 static int rxku_allowed(QUIC_CHANNEL *ch) in rxku_allowed()
758 QUIC_CHANNEL *ch = arg; in rxku_detected() local
826 static void ch_rxku_tick(QUIC_CHANNEL *ch) in ch_rxku_tick()
844 QUIC_CHANNEL *ch = arg; in ch_on_txp_ack_tx() local
865 QUIC_CHANNEL *ch = arg; in ch_on_crypto_send() local
894 QUIC_CHANNEL *ch = arg; in ch_on_crypto_recv_record() local
932 QUIC_CHANNEL *ch = arg; in ch_on_crypto_release_record() local
955 QUIC_CHANNEL *ch = arg; in ch_on_handshake_yield_secret() local
1014 QUIC_CHANNEL *ch = arg; in ch_on_handshake_complete() local
1060 QUIC_CHANNEL *ch = arg; in ch_on_handshake_alert() local
1143 QUIC_CHANNEL *ch = arg; in do_update() local
1162 QUIC_CHANNEL *ch = arg; in ch_on_transport_params() local
1704 static int ch_generate_transport_params(QUIC_CHANNEL *ch) in ch_generate_transport_params()
1848 void ossl_quic_channel_subtick(QUIC_CHANNEL *ch, QUIC_TICK_RESULT *res, in ossl_quic_channel_subtick()
1983 static int ch_tick_tls(QUIC_CHANNEL *ch, int channel_only) in ch_tick_tls()
2006 static void ch_rx_check_forged_pkt_limit(QUIC_CHANNEL *ch) in ch_rx_check_forged_pkt_limit()
2038 static int ch_rx(QUIC_CHANNEL *ch, int channel_only) in ch_rx()
2118 static void ch_rx_handle_packet(QUIC_CHANNEL *ch, int channel_only) in ch_rx_handle_packet()
2348 static void ch_rx_handle_version_neg(QUIC_CHANNEL *ch, OSSL_QRX_PKT *pkt) in ch_rx_handle_version_neg()
2374 static void ch_raise_version_neg_failure(QUIC_CHANNEL *ch) in ch_raise_version_neg_failure()
2390 static int ch_tx(QUIC_CHANNEL *ch) in ch_tx()
2503 static OSSL_TIME ch_determine_next_tick_deadline(QUIC_CHANNEL *ch) in ch_determine_next_tick_deadline()
2562 static void ch_record_state_transition(QUIC_CHANNEL *ch, uint32_t new_state) in ch_record_state_transition()
2575 int ossl_quic_channel_start(QUIC_CHANNEL *ch) in ossl_quic_channel_start()
2625 void ossl_quic_channel_local_close(QUIC_CHANNEL *ch, uint64_t app_error_code, in ossl_quic_channel_local_close()
2646 static int ch_retry(QUIC_CHANNEL *ch, in ch_retry()
2716 static int ch_discard_el(QUIC_CHANNEL *ch, in ch_discard_el()
2754 int ossl_quic_channel_on_handshake_confirmed(QUIC_CHANNEL *ch) in ossl_quic_channel_on_handshake_confirmed()
2854 static void ch_start_terminating(QUIC_CHANNEL *ch, in ch_start_terminating()
2943 void ossl_quic_channel_on_remote_conn_close(QUIC_CHANNEL *ch, in ossl_quic_channel_on_remote_conn_close()
2965 static int ch_enqueue_retire_conn_id(QUIC_CHANNEL *ch, uint64_t seq_num) in ch_enqueue_retire_conn_id()
3007 void ossl_quic_channel_on_new_conn_id(QUIC_CHANNEL *ch, in ossl_quic_channel_on_new_conn_id()
3117 static void ch_save_err_state(QUIC_CHANNEL *ch) in ch_save_err_state()
3128 void ossl_quic_channel_inject(QUIC_CHANNEL *ch, QUIC_URXE *e) in ossl_quic_channel_inject()
3133 void ossl_quic_channel_on_stateless_reset(QUIC_CHANNEL *ch) in ossl_quic_channel_on_stateless_reset()
3142 void ossl_quic_channel_raise_net_error(QUIC_CHANNEL *ch) in ossl_quic_channel_raise_net_error()
3162 int ossl_quic_channel_net_error(QUIC_CHANNEL *ch) in ossl_quic_channel_net_error()
3167 void ossl_quic_channel_restore_err_state(QUIC_CHANNEL *ch) in ossl_quic_channel_restore_err_state()
3178 void ossl_quic_channel_raise_protocol_error_loc(QUIC_CHANNEL *ch, in ossl_quic_channel_raise_protocol_error_loc()
3254 static void ch_on_terminating_timeout(QUIC_CHANNEL *ch) in ch_on_terminating_timeout()
3264 static OSSL_TIME ch_get_effective_idle_timeout_duration(QUIC_CHANNEL *ch) in ch_get_effective_idle_timeout_duration()
3288 static void ch_update_idle(QUIC_CHANNEL *ch) in ch_update_idle()
3298 static void ch_update_ping_deadline(QUIC_CHANNEL *ch) in ch_update_ping_deadline()
3320 static void ch_on_idle_timeout(QUIC_CHANNEL *ch) in ch_on_idle_timeout()
3335 int ossl_quic_channel_on_new_conn(QUIC_CHANNEL *ch, const BIO_ADDR *peer, in ossl_quic_channel_on_new_conn()
3384 SSL *ossl_quic_channel_get0_ssl(QUIC_CHANNEL *ch) in ossl_quic_channel_get0_ssl()
3389 static int ch_init_new_stream(QUIC_CHANNEL *ch, QUIC_STREAM *qs, in ch_init_new_stream()
3455 static uint64_t *ch_get_local_stream_next_ordinal_ptr(QUIC_CHANNEL *ch, in ch_get_local_stream_next_ordinal_ptr()
3462 static const uint64_t *ch_get_local_stream_max_ptr(const QUIC_CHANNEL *ch, in ch_get_local_stream_max_ptr()
3469 static const QUIC_RXFC *ch_get_remote_stream_count_rxfc(const QUIC_CHANNEL *ch, in ch_get_remote_stream_count_rxfc()
3476 int ossl_quic_channel_is_new_local_stream_admissible(QUIC_CHANNEL *ch, in ossl_quic_channel_is_new_local_stream_admissible()
3486 uint64_t ossl_quic_channel_get_local_stream_count_avail(const QUIC_CHANNEL *ch, in ossl_quic_channel_get_local_stream_count_avail()
3498 uint64_t ossl_quic_channel_get_remote_stream_count_avail(const QUIC_CHANNEL *ch, in ossl_quic_channel_get_remote_stream_count_avail()
3504 QUIC_STREAM *ossl_quic_channel_new_stream_local(QUIC_CHANNEL *ch, int is_uni) in ossl_quic_channel_new_stream_local()
3541 QUIC_STREAM *ossl_quic_channel_new_stream_remote(QUIC_CHANNEL *ch, in ossl_quic_channel_new_stream_remote()
3578 void ossl_quic_channel_set_incoming_stream_auto_reject(QUIC_CHANNEL *ch, in ossl_quic_channel_set_incoming_stream_auto_reject()
3586 void ossl_quic_channel_reject_stream(QUIC_CHANNEL *ch, QUIC_STREAM *qs) in ossl_quic_channel_reject_stream()
3599 int ossl_quic_channel_replace_local_cid(QUIC_CHANNEL *ch, in ossl_quic_channel_replace_local_cid()
3616 void ossl_quic_channel_set_msg_callback(QUIC_CHANNEL *ch, in ossl_quic_channel_set_msg_callback()
3628 void ossl_quic_channel_set_msg_callback_arg(QUIC_CHANNEL *ch, in ossl_quic_channel_set_msg_callback_arg()
3637 void ossl_quic_channel_set_txku_threshold_override(QUIC_CHANNEL *ch, in ossl_quic_channel_set_txku_threshold_override()
3643 uint64_t ossl_quic_channel_get_tx_key_epoch(QUIC_CHANNEL *ch) in ossl_quic_channel_get_tx_key_epoch()
3648 uint64_t ossl_quic_channel_get_rx_key_epoch(QUIC_CHANNEL *ch) in ossl_quic_channel_get_rx_key_epoch()
3653 int ossl_quic_channel_trigger_txku(QUIC_CHANNEL *ch) in ossl_quic_channel_trigger_txku()
3663 int ossl_quic_channel_ping(QUIC_CHANNEL *ch) in ossl_quic_channel_ping()
3672 uint16_t ossl_quic_channel_get_diag_num_rx_ack(QUIC_CHANNEL *ch) in ossl_quic_channel_get_diag_num_rx_ack()
3677 void ossl_quic_channel_get_diag_local_cid(QUIC_CHANNEL *ch, QUIC_CONN_ID *cid) in ossl_quic_channel_get_diag_local_cid()
3682 int ossl_quic_channel_have_generated_transport_params(const QUIC_CHANNEL *ch) in ossl_quic_channel_have_generated_transport_params()
3687 void ossl_quic_channel_set_max_idle_timeout_request(QUIC_CHANNEL *ch, uint64_t ms) in ossl_quic_channel_set_max_idle_timeout_request()
3691 uint64_t ossl_quic_channel_get_max_idle_timeout_request(const QUIC_CHANNEL *ch) in ossl_quic_channel_get_max_idle_timeout_request()
3696 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()
3701 uint64_t ossl_quic_channel_get_max_idle_timeout_actual(const QUIC_CHANNEL *ch) in ossl_quic_channel_get_max_idle_timeout_actual()