Lines Matching refs:ch
35 QUIC_CHANNEL *ch; member
137 if ((srv->ch = ossl_quic_port_create_incoming(srv->port, srv->tls)) == NULL) in ossl_quic_tserver_new()
148 qc->ch = srv->ch; in ossl_quic_tserver_new()
158 ossl_quic_channel_free(srv->ch); in ossl_quic_tserver_new()
177 ossl_quic_channel_free(srv->ch); in ossl_quic_tserver_free()
196 return ossl_quic_channel_set_mutator(srv->ch, mutatecb, finishmutatecb, in ossl_quic_tserver_set_plain_packet_mutator()
205 return ossl_statem_set_mutator(ossl_quic_channel_get0_ssl(srv->ch), in ossl_quic_tserver_set_handshake_mutator()
213 ossl_quic_reactor_tick(ossl_quic_channel_get_reactor(srv->ch), 0); in ossl_quic_tserver_tick()
215 if (ossl_quic_channel_is_active(srv->ch)) in ossl_quic_tserver_tick()
223 return ossl_quic_channel_is_active(srv->ch); in ossl_quic_tserver_is_connected()
229 return ossl_quic_channel_is_term_any(srv->ch); in ossl_quic_tserver_is_term_any()
235 return ossl_quic_channel_get_terminate_cause(srv->ch); in ossl_quic_tserver_get_terminate_cause()
241 return ossl_quic_channel_is_terminated(srv->ch); in ossl_quic_tserver_is_terminated()
246 return ossl_quic_channel_is_handshake_confirmed(srv->ch); in ossl_quic_tserver_is_handshake_confirmed()
258 qs = ossl_quic_stream_map_get_by_id(ossl_quic_channel_get_qsm(srv->ch), in ossl_quic_tserver_read()
271 if (!is_client_init || !ossl_quic_channel_is_active(srv->ch)) in ossl_quic_tserver_read()
295 ossl_statm_get_rtt_info(ossl_quic_channel_get_statm(srv->ch), &rtt_info); in ossl_quic_tserver_read()
303 ossl_quic_stream_map_notify_totally_read(ossl_quic_channel_get_qsm(srv->ch), in ossl_quic_tserver_read()
307 ossl_quic_stream_map_update_state(ossl_quic_channel_get_qsm(srv->ch), qs); in ossl_quic_tserver_read()
319 qs = ossl_quic_stream_map_get_by_id(ossl_quic_channel_get_qsm(srv->ch), in ossl_quic_tserver_has_read_ended()
351 ossl_quic_stream_map_notify_totally_read(ossl_quic_channel_get_qsm(srv->ch), in ossl_quic_tserver_has_read_ended()
353 ossl_quic_stream_map_update_state(ossl_quic_channel_get_qsm(srv->ch), qs); in ossl_quic_tserver_has_read_ended()
368 if (!ossl_quic_channel_is_active(srv->ch)) in ossl_quic_tserver_write()
371 qs = ossl_quic_stream_map_get_by_id(ossl_quic_channel_get_qsm(srv->ch), in ossl_quic_tserver_write()
385 ossl_quic_stream_map_update_state(ossl_quic_channel_get_qsm(srv->ch), qs); in ossl_quic_tserver_write()
396 if (!ossl_quic_channel_is_active(srv->ch)) in ossl_quic_tserver_conclude()
399 qs = ossl_quic_stream_map_get_by_id(ossl_quic_channel_get_qsm(srv->ch), in ossl_quic_tserver_conclude()
406 ossl_quic_stream_map_update_state(ossl_quic_channel_get_qsm(srv->ch), qs); in ossl_quic_tserver_conclude()
419 if (!ossl_quic_channel_is_active(srv->ch)) in ossl_quic_tserver_stream_new()
422 if ((qs = ossl_quic_channel_new_stream_local(srv->ch, is_uni)) == NULL) in ossl_quic_tserver_stream_new()
445 qs = ossl_quic_stream_map_get_by_id(ossl_quic_channel_get_qsm(srv->ch), in ossl_quic_tserver_stream_has_peer_stop_sending()
462 qs = ossl_quic_stream_map_get_by_id(ossl_quic_channel_get_qsm(srv->ch), in ossl_quic_tserver_stream_has_peer_reset_stream()
477 return ossl_quic_channel_replace_local_cid(srv->ch, conn_id); in ossl_quic_tserver_set_new_local_cid()
482 QUIC_STREAM_MAP *qsm = ossl_quic_channel_get_qsm(srv->ch); in ossl_quic_tserver_pop_incoming_stream()
498 qs = ossl_quic_stream_map_get_by_id(ossl_quic_channel_get_qsm(srv->ch), in ossl_quic_tserver_is_stream_totally_acked()
509 ossl_quic_channel_get_reactor(srv->ch)); in ossl_quic_tserver_get_net_read_desired()
515 ossl_quic_channel_get_reactor(srv->ch)); in ossl_quic_tserver_get_net_write_desired()
521 ossl_quic_channel_get_reactor(srv->ch)); in ossl_quic_tserver_get_deadline()
526 ossl_quic_channel_local_close(srv->ch, app_error_code, NULL); in ossl_quic_tserver_shutdown()
530 if (ossl_quic_channel_is_terminated(srv->ch)) in ossl_quic_tserver_shutdown()
533 ossl_quic_reactor_tick(ossl_quic_channel_get_reactor(srv->ch), 0); in ossl_quic_tserver_shutdown()
535 return ossl_quic_channel_is_terminated(srv->ch); in ossl_quic_tserver_shutdown()
540 if (ossl_quic_channel_is_terminated(srv->ch)) in ossl_quic_tserver_ping()
543 if (!ossl_quic_channel_ping(srv->ch)) in ossl_quic_tserver_ping()
546 ossl_quic_reactor_tick(ossl_quic_channel_get_reactor(srv->ch), 0); in ossl_quic_tserver_ping()
552 return srv->ch; in ossl_quic_tserver_get_channel()
562 ossl_quic_channel_set_msg_callback(srv->ch, f, srv->ssl); in ossl_quic_tserver_set_msg_callback()
563 ossl_quic_channel_set_msg_callback_arg(srv->ch, arg); in ossl_quic_tserver_set_msg_callback()