Lines Matching defs:rbio
1263 BIO_free_all(s->rbio);
1264 s->rbio = NULL;
1354 void SSL_set0_rbio(SSL *s, BIO *rbio)
1356 BIO_free_all(s->rbio);
1357 s->rbio = rbio;
1376 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio)
1384 if (rbio == SSL_get_rbio(s) && wbio == SSL_get_wbio(s))
1391 if (rbio != NULL && rbio == wbio)
1392 BIO_up_ref(rbio);
1397 if (rbio == SSL_get_rbio(s)) {
1402 * There is an asymmetry here for historical reasons. If only the rbio is
1403 * changed AND the rbio and wbio were originally different, then we only
1407 SSL_set0_rbio(s, rbio);
1412 SSL_set0_rbio(s, rbio);
1418 return s->rbio;
1492 BIO *rbio = SSL_get_rbio(s);
1494 if (rbio == NULL || BIO_method_type(rbio) != BIO_TYPE_SOCKET
1495 || (int)BIO_get_fd(rbio, NULL) != fd) {
1514 BIO_up_ref(rbio);
1515 SSL_set0_wbio(s, rbio);
3973 * to the rbio, and an application program where rbio and wbio
3976 * SSL_want_read(s) instead of SSL_want_write(s)) and rbio and