Lines Matching refs:wbio
1493 BIO_free_all(s->wbio); in ossl_ssl_connection_free()
1494 s->wbio = NULL; in ossl_ssl_connection_free()
1519 void SSL_set0_wbio(SSL *s, BIO *wbio) in SSL_set0_wbio() argument
1525 ossl_quic_conn_set0_net_wbio(s, wbio); in SSL_set0_wbio()
1537 sc->wbio = BIO_pop(sc->wbio); in SSL_set0_wbio()
1539 BIO_free_all(sc->wbio); in SSL_set0_wbio()
1540 sc->wbio = wbio; in SSL_set0_wbio()
1544 sc->wbio = BIO_push(sc->bbio, sc->wbio); in SSL_set0_wbio()
1546 sc->rlayer.wrlmethod->set1_bio(sc->rlayer.wrl, sc->wbio); in SSL_set0_wbio()
1549 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio) in SSL_set_bio() argument
1557 if (rbio == SSL_get_rbio(s) && wbio == SSL_get_wbio(s)) in SSL_set_bio()
1564 if (rbio != NULL && rbio == wbio) in SSL_set_bio()
1571 SSL_set0_wbio(s, wbio); in SSL_set_bio()
1579 if (wbio == SSL_get_wbio(s) && SSL_get_rbio(s) != SSL_get_wbio(s)) { in SSL_set_bio()
1586 SSL_set0_wbio(s, wbio); in SSL_set_bio()
1623 return sc->wbio; in SSL_get_wbio()
1736 BIO *wbio = SSL_get_wbio(s); in SSL_set_rfd() local
1744 if (wbio == NULL || BIO_method_type(wbio) != desired_type in SSL_set_rfd()
1745 || ((int)BIO_get_fd(wbio, NULL) != fd)) { in SSL_set_rfd()
1755 BIO_up_ref(wbio); in SSL_set_rfd()
1756 SSL_set0_rbio(s, wbio); in SSL_set_rfd()
2571 if (!BIO_get_ktls_send(sc->wbio)) { in SSL_sendfile()
2587 if (BIO_flush(sc->wbio) <= 0) { in SSL_sendfile()
2588 if (!BIO_should_retry(sc->wbio)) { in SSL_sendfile()
2609 BIO_set_retry_write(sc->wbio); in SSL_sendfile()
2724 (void)BIO_flush(sc->wbio); in SSL_write_early_data()
2978 if (sc->wbio != NULL && BIO_get_ktls_send(sc->wbio)) in ossl_ctrl_internal()
4812 bio = sc->wbio; in ossl_ssl_get_error()
5259 s->wbio = BIO_push(bbio, s->wbio); in ssl_init_wbio_buffer()
5261 s->rlayer.wrlmethod->set1_bio(s->rlayer.wrl, s->wbio); in ssl_init_wbio_buffer()
5272 s->wbio = BIO_pop(s->wbio); in ssl_free_wbio_buffer()
5273 s->rlayer.wrlmethod->set1_bio(s->rlayer.wrl, s->wbio); in ssl_free_wbio_buffer()
7558 if (sc == NULL || sc->wbio == NULL) in SSL_get_wpoll_descriptor()
7561 return BIO_get_wpoll_descriptor(sc->wbio, desc); in SSL_get_wpoll_descriptor()