Lines Matching refs:wbio

1487     BIO_free_all(s->wbio);  in ossl_ssl_connection_free()
1488 s->wbio = NULL; in ossl_ssl_connection_free()
1513 void SSL_set0_wbio(SSL *s, BIO *wbio) in SSL_set0_wbio() argument
1519 ossl_quic_conn_set0_net_wbio(s, wbio); in SSL_set0_wbio()
1531 sc->wbio = BIO_pop(sc->wbio); in SSL_set0_wbio()
1533 BIO_free_all(sc->wbio); in SSL_set0_wbio()
1534 sc->wbio = wbio; in SSL_set0_wbio()
1538 sc->wbio = BIO_push(sc->bbio, sc->wbio); in SSL_set0_wbio()
1540 sc->rlayer.wrlmethod->set1_bio(sc->rlayer.wrl, sc->wbio); in SSL_set0_wbio()
1543 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio) in SSL_set_bio() argument
1551 if (rbio == SSL_get_rbio(s) && wbio == SSL_get_wbio(s)) in SSL_set_bio()
1558 if (rbio != NULL && rbio == wbio) in SSL_set_bio()
1565 SSL_set0_wbio(s, wbio); in SSL_set_bio()
1573 if (wbio == SSL_get_wbio(s) && SSL_get_rbio(s) != SSL_get_wbio(s)) { in SSL_set_bio()
1580 SSL_set0_wbio(s, wbio); in SSL_set_bio()
1617 return sc->wbio; in SSL_get_wbio()
1730 BIO *wbio = SSL_get_wbio(s); in SSL_set_rfd() local
1738 if (wbio == NULL || BIO_method_type(wbio) != desired_type in SSL_set_rfd()
1739 || ((int)BIO_get_fd(wbio, NULL) != fd)) { in SSL_set_rfd()
1749 BIO_up_ref(wbio); in SSL_set_rfd()
1750 SSL_set0_rbio(s, wbio); in SSL_set_rfd()
2565 if (!BIO_get_ktls_send(sc->wbio)) { in SSL_sendfile()
2581 if (BIO_flush(sc->wbio) <= 0) { in SSL_sendfile()
2582 if (!BIO_should_retry(sc->wbio)) { in SSL_sendfile()
2603 BIO_set_retry_write(sc->wbio); in SSL_sendfile()
2718 (void)BIO_flush(sc->wbio); in SSL_write_early_data()
2972 if (sc->wbio != NULL && BIO_get_ktls_send(sc->wbio)) in ossl_ctrl_internal()
4681 bio = sc->wbio; in ossl_ssl_get_error()
5134 s->wbio = BIO_push(bbio, s->wbio); in ssl_init_wbio_buffer()
5136 s->rlayer.wrlmethod->set1_bio(s->rlayer.wrl, s->wbio); in ssl_init_wbio_buffer()
5147 s->wbio = BIO_pop(s->wbio); in ssl_free_wbio_buffer()
5148 s->rlayer.wrlmethod->set1_bio(s->rlayer.wrl, s->wbio); in ssl_free_wbio_buffer()
7386 if (sc == NULL || sc->wbio == NULL) in SSL_get_wpoll_descriptor()
7389 return BIO_get_wpoll_descriptor(sc->wbio, desc); in SSL_get_wpoll_descriptor()