Lines Matching defs:rbio
1199 BIO_free_all(s->rbio);
1200 s->rbio = NULL;
1272 void SSL_set0_rbio(SSL *s, BIO *rbio)
1274 BIO_free_all(s->rbio);
1275 s->rbio = rbio;
1294 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio)
1302 if (rbio == SSL_get_rbio(s) && wbio == SSL_get_wbio(s))
1309 if (rbio != NULL && rbio == wbio)
1310 BIO_up_ref(rbio);
1315 if (rbio == SSL_get_rbio(s)) {
1320 * There is an asymmetry here for historical reasons. If only the rbio is
1321 * changed AND the rbio and wbio were originally different, then we only
1325 SSL_set0_rbio(s, rbio);
1330 SSL_set0_rbio(s, rbio);
1336 return s->rbio;
1410 BIO *rbio = SSL_get_rbio(s);
1412 if (rbio == NULL || BIO_method_type(rbio) != BIO_TYPE_SOCKET
1413 || (int)BIO_get_fd(rbio, NULL) != fd) {
1432 BIO_up_ref(rbio);
1433 SSL_set0_wbio(s, rbio);
3869 * to the rbio, and an application program where rbio and wbio
3872 * SSL_want_read(s) instead of SSL_want_write(s)) and rbio and