Lines Matching refs:qtserv

54     QUIC_TSERVER *qtserv = NULL;  in test_quic_write_read()  local
74 &qtserv, &clientquic, in test_quic_write_read()
82 if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic))) in test_quic_write_read()
86 if (!TEST_true(BIO_get_fd(ossl_quic_tserver_get0_rbio(qtserv), in test_quic_write_read()
105 ossl_quic_tserver_tick(qtserv); in test_quic_write_read()
107 if (!TEST_true(ossl_quic_tserver_read(qtserv, sid, buf, in test_quic_write_read()
121 ossl_quic_tserver_tick(qtserv); in test_quic_write_read()
122 if (!TEST_true(ossl_quic_tserver_write(qtserv, sid, in test_quic_write_read()
126 ossl_quic_tserver_tick(qtserv); in test_quic_write_read()
176 if (!TEST_true(qtest_shutdown(qtserv, clientquic))) in test_quic_write_read()
180 sctx = ossl_quic_tserver_get0_ssl_ctx(qtserv); in test_quic_write_read()
186 ossl_quic_tserver_free(qtserv); in test_quic_write_read()
187 qtserv = NULL; in test_quic_write_read()
199 ossl_quic_tserver_free(qtserv); in test_quic_write_read()
216 QUIC_TSERVER *qtserv = NULL; in test_fin_only_blocking() local
231 &qtserv, &clientquic, in test_fin_only_blocking()
236 if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic))) in test_fin_only_blocking()
239 if (!TEST_true(ossl_quic_tserver_stream_new(qtserv, 0, &sid)) in test_fin_only_blocking()
240 || !TEST_true(ossl_quic_tserver_write(qtserv, sid, in test_fin_only_blocking()
246 ossl_quic_tserver_tick(qtserv); in test_fin_only_blocking()
254 if (!TEST_true(ossl_quic_tserver_conclude(qtserv, sid))) in test_fin_only_blocking()
270 if (!TEST_true(qtest_shutdown(qtserv, clientquic))) in test_fin_only_blocking()
276 ossl_quic_tserver_free(qtserv); in test_fin_only_blocking()
390 QUIC_TSERVER *qtserv = NULL; in test_version() local
395 privkey, 0, &qtserv, in test_version()
397 || !TEST_true(qtest_create_quic_connection(qtserv, clientquic))) in test_version()
412 ossl_quic_tserver_free(qtserv); in test_version()
505 QUIC_TSERVER *qtserv = NULL; in test_ssl_trace() local
515 &qtserv, in test_ssl_trace()
522 if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic))) in test_ssl_trace()
537 ossl_quic_tserver_free(qtserv); in test_ssl_trace()
828 QUIC_TSERVER *qtserv = NULL; in test_bio_ssl() local
852 0, &qtserv, &clientquic, NULL, in test_bio_ssl()
877 ossl_quic_tserver_tick(qtserv); in test_bio_ssl()
878 servererr = ossl_quic_tserver_is_term_any(qtserv); in test_bio_ssl()
880 rets = ossl_quic_tserver_is_handshake_confirmed(qtserv); in test_bio_ssl()
897 if (!TEST_true(ossl_quic_tserver_read(qtserv, sid, buf, sizeof(buf), in test_bio_ssl()
902 if (!TEST_true(ossl_quic_tserver_write(qtserv, sid, (unsigned char *)msg, in test_bio_ssl()
905 ossl_quic_tserver_tick(qtserv); in test_bio_ssl()
942 ossl_quic_tserver_tick(qtserv); in test_bio_ssl()
950 ossl_quic_tserver_free(qtserv); in test_bio_ssl()
965 QUIC_TSERVER *qtserv = NULL; in test_back_pressure() local
975 privkey, 0, &qtserv, in test_back_pressure()
977 || !TEST_true(qtest_create_quic_connection(qtserv, clientquic))) in test_back_pressure()
1001 ossl_quic_tserver_tick(qtserv); in test_back_pressure()
1002 if (!TEST_true(ossl_quic_tserver_read(qtserv, 0, buf, sizeof(buf), in test_back_pressure()
1015 ossl_quic_tserver_free(qtserv); in test_back_pressure()
1042 QUIC_TSERVER *qtserv = NULL; in test_multiple_dgrams() local
1053 privkey, 0, &qtserv, in test_multiple_dgrams()
1055 || !TEST_true(qtest_create_quic_connection(qtserv, clientquic))) in test_multiple_dgrams()
1070 ossl_quic_tserver_free(qtserv); in test_multiple_dgrams()
1103 QUIC_TSERVER *qtserv = NULL; in test_non_io_retry() local
1118 flags, &qtserv, &clientquic, NULL, in test_non_io_retry()
1120 || !TEST_true(qtest_create_quic_connection_ex(qtserv, clientquic, in test_non_io_retry()
1126 if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic))) in test_non_io_retry()
1132 ossl_quic_tserver_free(qtserv); in test_non_io_retry()
1183 QUIC_TSERVER *qtserv = NULL; in test_quic_psk() local
1189 NULL, 0, &qtserv, in test_quic_psk()
1194 ossl_quic_tserver_set_psk_find_session_cb(qtserv, find_session_cb); in test_quic_psk()
1204 if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic)) in test_quic_psk()
1215 ossl_quic_tserver_free(qtserv); in test_quic_psk()
1229 QUIC_TSERVER *qtserv = NULL; in test_client_auth() local
1252 privkey, 0, &qtserv, in test_client_auth()
1263 if (!TEST_false(qtest_create_quic_connection(qtserv, clientquic))) in test_client_auth()
1271 if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic))) in test_client_auth()
1279 ossl_quic_tserver_tick(qtserv); in test_client_auth()
1280 if (!TEST_true(ossl_quic_tserver_write(qtserv, 0, in test_client_auth()
1285 ossl_quic_tserver_tick(qtserv); in test_client_auth()
1293 if (!TEST_true(qtest_shutdown(qtserv, clientquic))) in test_client_auth()
1300 ossl_quic_tserver_free(qtserv); in test_client_auth()
1316 QUIC_TSERVER *qtserv = NULL; in test_alpn() local
1331 &qtserv, in test_alpn()
1354 || !TEST_true(qtest_create_quic_connection(qtserv, clientquic))) in test_alpn()
1360 ossl_quic_tserver_free(qtserv); in test_alpn()
1374 QUIC_TSERVER *qtserv = NULL; in test_get_shutdown() local
1381 &qtserv, &clientquic, in test_get_shutdown()
1383 || !TEST_true(qtest_create_quic_connection(qtserv, clientquic))) in test_get_shutdown()
1396 ossl_quic_tserver_tick(qtserv); in test_get_shutdown()
1406 ossl_quic_tserver_free(qtserv); in test_get_shutdown()
1421 QUIC_TSERVER *qtserv) in unreliable_client_read() argument
1438 ossl_quic_tserver_tick(qtserv); in unreliable_client_read()
1440 qtest_wait_for_timeout(clientquic, qtserv); in unreliable_client_read()
1448 static int unreliable_server_read(QUIC_TSERVER *qtserv, uint64_t sid, in unreliable_server_read() argument
1456 if (ossl_quic_tserver_read(qtserv, sid, buf, buflen, readbytes) in unreliable_server_read()
1459 ossl_quic_tserver_tick(qtserv); in unreliable_server_read()
1462 qtest_wait_for_timeout(clientquic, qtserv); in unreliable_server_read()
1481 QUIC_TSERVER *qtserv = NULL; in test_noisy_dgram() local
1496 &qtserv, in test_noisy_dgram()
1500 if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic))) in test_noisy_dgram()
1511 if (!TEST_true(ossl_quic_tserver_stream_new(qtserv, 0, &sid))) in test_noisy_dgram()
1513 ossl_quic_tserver_tick(qtserv); in test_noisy_dgram()
1522 if (!TEST_true(ossl_quic_tserver_write(qtserv, sid, in test_noisy_dgram()
1527 ossl_quic_tserver_tick(qtserv); in test_noisy_dgram()
1537 qtserv)) in test_noisy_dgram()
1549 ossl_quic_tserver_tick(qtserv); in test_noisy_dgram()
1557 if (!TEST_true(unreliable_server_read(qtserv, sid, buf, sizeof(buf), in test_noisy_dgram()
1566 ossl_quic_tserver_free(qtserv); in test_noisy_dgram()
1587 QUIC_TSERVER *qtserv = NULL; in test_bw_limit() local
1600 &qtserv, in test_bw_limit()
1612 if (!TEST_true(qtest_create_quic_connection(qtserv, clientquic))) in test_bw_limit()
1636 if (ossl_quic_tserver_read(qtserv, 0, recvbuf, in test_bw_limit()
1646 ossl_quic_tserver_tick(qtserv); in test_bw_limit()
1660 ossl_quic_tserver_free(qtserv); in test_bw_limit()