Lines Matching refs:sbio
31 BIO *sbio; member
113 (void)BIO_ctrl(noiseargs->sbio, BIO_CTRL_NOISE_BACK_OFF, 0, NULL); in noise_msg_callback()
133 BIO *cbio = NULL, *sbio = NULL, *fisbio = NULL; in qtest_create_quic_objects() local
187 sbio = BIO_new_dgram(sfd, 1); in qtest_create_quic_objects()
188 if (!TEST_ptr(sbio)) { in qtest_create_quic_objects()
196 if (!TEST_true(BIO_new_bio_dgram_pair(&cbio, 0, &sbio, 0))) in qtest_create_quic_objects()
200 || !TEST_true(BIO_dgram_set_caps(sbio, BIO_DGRAM_CAP_HANDLES_DST_ADDR))) in qtest_create_quic_objects()
219 sbio = BIO_push(pktsplitbio, sbio); in qtest_create_quic_objects()
247 sbio = BIO_push(noisebio, sbio); in qtest_create_quic_objects()
249 if (!TEST_int_eq(BIO_ctrl(sbio, BIO_CTRL_NOISE_SET_NOW_CB, in qtest_create_quic_objects()
260 (void)BIO_ctrl(sbio, BIO_CTRL_NOISE_BACK_OFF, 0, NULL); in qtest_create_quic_objects()
263 (*fault)->noiseargs.sbio = sbio; in qtest_create_quic_objects()
286 if (!BIO_up_ref(sbio)) in qtest_create_quic_objects()
288 if (!TEST_ptr(BIO_push(fisbio, sbio))) { in qtest_create_quic_objects()
289 BIO_free(sbio); in qtest_create_quic_objects()
294 tserver_args.net_rbio = sbio; in qtest_create_quic_objects()
319 sbio = NULL; in qtest_create_quic_objects()
337 BIO_free_all(sbio); in qtest_create_quic_objects()
1236 BIO *sbio = fault->noiseargs.sbio; in qtest_fault_set_bw_limit() local
1239 if (!TEST_ptr(sbio) || !TEST_ptr(cbio)) in qtest_fault_set_bw_limit()
1241 if (!TEST_int_eq(BIO_ctrl(sbio, BIO_CTRL_NOISE_RATE, noise_rate, NULL), 1)) in qtest_fault_set_bw_limit()
1249 if (!TEST_int_eq(BIO_ctrl(sbio, BIO_CTRL_NOISE_SEND_BANDWIDTH, in qtest_fault_set_bw_limit()