Lines Matching refs:sbio

784     BIO *sbio;
2038 sbio = BIO_new_dgram_sctp(sock, BIO_NOCLOSE);
2041 sbio = BIO_new_dgram(sock, BIO_NOCLOSE);
2043 if (sbio == NULL || (peer_info.addr = BIO_ADDR_new()) == NULL) {
2045 BIO_free(sbio);
2052 BIO_free(sbio);
2058 (void)BIO_ctrl_set_connected(sbio, peer_info.addr);
2065 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_RECV_TIMEOUT, 0, &timeout);
2069 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_SEND_TIMEOUT, 0, &timeout);
2076 BIO_free(sbio);
2082 BIO_free(sbio);
2087 BIO_ctrl(sbio, BIO_CTRL_DGRAM_MTU_DISCOVER, 0, NULL);
2091 sbio = BIO_new_socket(sock, BIO_NOCLOSE);
2093 if (sbio == NULL) {
2106 BIO_free(sbio);
2109 sbio = BIO_push(test, sbio);
2113 BIO_set_callback_ex(sbio, bio_dump_callback);
2114 BIO_set_callback_arg(sbio, (char *)bio_c_out);
2138 SSL_set_bio(con, sbio, sbio);
2160 if (!OSSL_HTTP_proxy_connect(sbio, thost, tport, proxyuser, proxypass,
2186 BIO_push(fbio, sbio);
2214 BIO_printf(sbio, "STARTTLS\r\n");
2215 BIO_read(sbio, sbuf, BUFSIZZ);
2220 BIO_read(sbio, mbuf, BUFSIZZ);
2221 BIO_printf(sbio, "STLS\r\n");
2222 mbuf_len = BIO_read(sbio, sbuf, BUFSIZZ);
2238 BIO_push(fbio, sbio);
2257 BIO_printf(sbio, ". STARTTLS\r\n");
2258 BIO_read(sbio, sbuf, BUFSIZZ);
2269 BIO_push(fbio, sbio);
2278 BIO_printf(sbio, "AUTH TLS\r\n");
2279 BIO_read(sbio, sbuf, BUFSIZZ);
2286 BIO_printf(sbio, "<stream:stream "
2291 seen = BIO_read(sbio, mbuf, BUFSIZZ);
2302 seen = BIO_read(sbio, mbuf, BUFSIZZ);
2309 BIO_printf(sbio,
2311 seen = BIO_read(sbio, sbuf, BUFSIZZ);
2339 bytes = BIO_read(sbio, mbuf, BUFSIZZ);
2343 BIO_write(sbio, tls_will, 3);
2344 BIO_write(sbio, tls_follows, 6);
2345 (void)BIO_flush(sbio);
2347 bytes = BIO_read(sbio, mbuf, BUFSIZZ);
2361 BIO_push(fbio, sbio);
2382 && !BIO_pending(sbio)
2442 bytes = BIO_read(sbio, (void *)packet, BUFSIZZ);
2494 BIO_write(sbio, ssl_req, sizeof(ssl_req));
2495 (void)BIO_flush(sbio);
2507 BIO_write(sbio, ssl_request, 8);
2508 (void)BIO_flush(sbio);
2511 bytes = BIO_read(sbio, sbuf, BUFSIZZ);
2525 BIO_push(fbio, sbio);
2547 BIO_printf(sbio, "STARTTLS\r\n");
2548 mbuf_len = BIO_read(sbio, mbuf, BUFSIZZ);
2569 BIO_push(fbio, sbio);
2590 BIO_printf(sbio, "STARTTLS\r\n");
2591 mbuf_len = BIO_read(sbio, mbuf, BUFSIZZ);
2661 BIO_write(sbio, atyp->value.sequence->data,
2663 (void)BIO_flush(sbio);
2666 mbuf_len = BIO_read(sbio, mbuf, BUFSIZZ);
3081 && BIO_read(sbio, sbuf, BUFSIZZ) > 0);