Lines Matching defs:rbio
1210 BIO_free_all(s->rbio);
1211 s->rbio = NULL;
1287 void SSL_set0_rbio(SSL *s, BIO *rbio)
1289 BIO_free_all(s->rbio);
1290 s->rbio = rbio;
1309 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio)
1317 if (rbio == SSL_get_rbio(s) && wbio == SSL_get_wbio(s))
1324 if (rbio != NULL && rbio == wbio)
1325 BIO_up_ref(rbio);
1330 if (rbio == SSL_get_rbio(s)) {
1335 * There is an asymmetry here for historical reasons. If only the rbio is
1336 * changed AND the rbio and wbio were originally different, then we only
1340 SSL_set0_rbio(s, rbio);
1345 SSL_set0_rbio(s, rbio);
1351 return s->rbio;
1425 BIO *rbio = SSL_get_rbio(s);
1427 if (rbio == NULL || BIO_method_type(rbio) != BIO_TYPE_SOCKET
1428 || (int)BIO_get_fd(rbio, NULL) != fd) {
1447 BIO_up_ref(rbio);
1448 SSL_set0_wbio(s, rbio);
3884 * to the rbio, and an application program where rbio and wbio
3887 * SSL_want_read(s) instead of SSL_want_write(s)) and rbio and