Lines Matching refs:sbio
789 BIO *sbio; in s_client_main() local
2031 sbio = BIO_new_dgram_sctp(sock, BIO_NOCLOSE); in s_client_main()
2034 sbio = BIO_new_dgram(sock, BIO_NOCLOSE); in s_client_main()
2049 (void)BIO_ctrl_set_connected(sbio, peer_info.addr); in s_client_main()
2056 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_RECV_TIMEOUT, 0, &timeout); in s_client_main()
2060 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_SEND_TIMEOUT, 0, &timeout); in s_client_main()
2067 BIO_free(sbio); in s_client_main()
2073 BIO_free(sbio); in s_client_main()
2078 BIO_ctrl(sbio, BIO_CTRL_DGRAM_MTU_DISCOVER, 0, NULL); in s_client_main()
2082 sbio = BIO_new_socket(sock, BIO_NOCLOSE); in s_client_main()
2088 sbio = BIO_push(test, sbio); in s_client_main()
2092 BIO_set_callback_ex(sbio, bio_dump_callback); in s_client_main()
2093 BIO_set_callback_arg(sbio, (char *)bio_c_out); in s_client_main()
2117 SSL_set_bio(con, sbio, sbio); in s_client_main()
2154 BIO_push(fbio, sbio); in s_client_main()
2182 BIO_printf(sbio, "STARTTLS\r\n"); in s_client_main()
2183 BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2188 BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2189 BIO_printf(sbio, "STLS\r\n"); in s_client_main()
2190 mbuf_len = BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2202 BIO_push(fbio, sbio); in s_client_main()
2221 BIO_printf(sbio, ". STARTTLS\r\n"); in s_client_main()
2222 BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2229 BIO_push(fbio, sbio); in s_client_main()
2238 BIO_printf(sbio, "AUTH TLS\r\n"); in s_client_main()
2239 BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2246 BIO_printf(sbio, "<stream:stream " in s_client_main()
2251 seen = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2262 seen = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2269 BIO_printf(sbio, in s_client_main()
2271 seen = BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2299 bytes = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2303 BIO_write(sbio, tls_will, 3); in s_client_main()
2304 BIO_write(sbio, tls_follows, 6); in s_client_main()
2305 (void)BIO_flush(sbio); in s_client_main()
2307 bytes = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2314 if (!OSSL_HTTP_proxy_connect(sbio, thost, tport, proxyuser, proxypass, in s_client_main()
2323 BIO_push(fbio, sbio); in s_client_main()
2344 && !BIO_pending(sbio) in s_client_main()
2404 bytes = BIO_read(sbio, (void *)packet, BUFSIZZ); in s_client_main()
2456 BIO_write(sbio, ssl_req, sizeof(ssl_req)); in s_client_main()
2457 (void)BIO_flush(sbio); in s_client_main()
2469 BIO_write(sbio, ssl_request, 8); in s_client_main()
2470 (void)BIO_flush(sbio); in s_client_main()
2473 bytes = BIO_read(sbio, sbuf, BUFSIZZ); in s_client_main()
2483 BIO_push(fbio, sbio); in s_client_main()
2505 BIO_printf(sbio, "STARTTLS\r\n"); in s_client_main()
2506 mbuf_len = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2523 BIO_push(fbio, sbio); in s_client_main()
2544 BIO_printf(sbio, "STARTTLS\r\n"); in s_client_main()
2545 mbuf_len = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
2614 BIO_write(sbio, atyp->value.sequence->data, in s_client_main()
2616 (void)BIO_flush(sbio); in s_client_main()
2619 mbuf_len = BIO_read(sbio, mbuf, BUFSIZZ); in s_client_main()
3034 && BIO_read(sbio, sbuf, BUFSIZZ) > 0); in s_client_main()