HomeSort by: relevance | last modified time | path
    Searched refs:sbio (Results 1 - 22 of 22) sorted by relevancy

  /src/crypto/external/bsd/openssl/dist/demos/bio/
client-arg.c 16 BIO *sbio = NULL, *out = NULL; local
74 sbio = BIO_new_ssl_connect(ctx);
76 BIO_get_ssl(sbio, &ssl);
85 BIO_set_conn_hostname(sbio, connect_str);
88 if (BIO_do_connect(sbio) <= 0) {
96 BIO_puts(sbio, "GET / HTTP/1.0\n\n");
98 len = BIO_read(sbio, tmpbuf, 1024);
105 BIO_free_all(sbio);
client-conf.c 17 BIO *sbio = NULL, *out = NULL; local
82 sbio = BIO_new_ssl_connect(ctx);
84 BIO_get_ssl(sbio, &ssl);
93 BIO_set_conn_hostname(sbio, connect_str);
96 if (BIO_do_connect(sbio) <= 0) {
104 BIO_puts(sbio, "GET / HTTP/1.0\n\n");
106 len = BIO_read(sbio, tmpbuf, 1024);
113 BIO_free_all(sbio);
  /src/crypto/external/bsd/openssl.old/dist/demos/bio/
client-arg.c 16 BIO *sbio = NULL, *out = NULL; local
74 sbio = BIO_new_ssl_connect(ctx);
76 BIO_get_ssl(sbio, &ssl);
88 BIO_set_conn_hostname(sbio, connect_str);
91 if (BIO_do_connect(sbio) <= 0) {
99 BIO_puts(sbio, "GET / HTTP/1.0\n\n");
101 len = BIO_read(sbio, tmpbuf, 1024);
108 BIO_free_all(sbio);
client-conf.c 17 BIO *sbio = NULL, *out = NULL; local
82 sbio = BIO_new_ssl_connect(ctx);
84 BIO_get_ssl(sbio, &ssl);
96 BIO_set_conn_hostname(sbio, connect_str);
99 if (BIO_do_connect(sbio) <= 0) {
107 BIO_puts(sbio, "GET / HTTP/1.0\n\n");
109 len = BIO_read(sbio, tmpbuf, 1024);
116 BIO_free_all(sbio);
  /src/crypto/external/apache2/openssl/dist/demos/bio/
client-arg.c 16 BIO *sbio = NULL, *out = NULL; local
75 sbio = BIO_new_ssl_connect(ctx);
77 BIO_get_ssl(sbio, &ssl);
86 BIO_set_conn_hostname(sbio, connect_str);
89 if (BIO_do_connect(sbio) <= 0) {
97 BIO_puts(sbio, "GET / HTTP/1.0\n\n");
99 len = BIO_read(sbio, tmpbuf, 1024);
107 BIO_free_all(sbio);
client-conf.c 17 BIO *sbio = NULL, *out = NULL; local
83 sbio = BIO_new_ssl_connect(ctx);
85 BIO_get_ssl(sbio, &ssl);
94 BIO_set_conn_hostname(sbio, connect_str);
97 if (BIO_do_connect(sbio) <= 0) {
105 BIO_puts(sbio, "GET / HTTP/1.0\n\n");
107 len = BIO_read(sbio, tmpbuf, 1024);
116 BIO_free_all(sbio);
  /src/crypto/external/apache2/openssl/dist/test/helpers/
quictestlib.c 31 BIO *sbio; member in struct:noise_args_data_st
119 (void)BIO_ctrl(noiseargs->sbio, BIO_CTRL_NOISE_BACK_OFF, 1, NULL);
139 BIO *cbio = NULL, *sbio = NULL, *fisbio = NULL; local
217 sbio = BIO_new_dgram(sfd, 1);
218 if (!TEST_ptr(sbio)) {
228 if (!TEST_true(BIO_new_bio_dgram_pair(&cbio, 0, &sbio, 0)))
232 || !TEST_true(BIO_dgram_set_caps(sbio, BIO_DGRAM_CAP_HANDLES_DST_ADDR)))
264 sbio = BIO_push(pktsplitbio, sbio);
294 sbio = BIO_push(noisebio, sbio)
1333 BIO *sbio = fault->noiseargs.sbio; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/apps/
s_client.c 784 BIO *sbio; local
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);
    [all...]
s_server.c 2339 BIO *sbio; local
2388 sbio = BIO_new_dgram_sctp(s, BIO_NOCLOSE);
2391 sbio = BIO_new_dgram(s, BIO_NOCLOSE);
2392 if (sbio == NULL) {
2401 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_RECV_TIMEOUT, 0, &timeout);
2405 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_SEND_TIMEOUT, 0, &timeout);
2413 BIO_free(sbio);
2420 BIO_free(sbio);
2425 BIO_ctrl(sbio, BIO_CTRL_DGRAM_MTU_DISCOVER, 0, NULL);
2434 sbio = BIO_new_socket(s, BIO_NOCLOSE)
3045 BIO *io, *ssl_bio, *sbio; local
3500 BIO *io, *ssl_bio, *sbio; local
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/apps/
s_client.c 884 BIO *sbio; local
2083 sbio = BIO_new_dgram_sctp(s, BIO_NOCLOSE);
2086 sbio = BIO_new_dgram(s, BIO_NOCLOSE);
2101 (void)BIO_ctrl_set_connected(sbio, peer_info.addr);
2108 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_RECV_TIMEOUT, 0, &timeout);
2112 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_SEND_TIMEOUT, 0, &timeout);
2119 BIO_free(sbio);
2125 BIO_free(sbio);
2130 BIO_ctrl(sbio, BIO_CTRL_DGRAM_MTU_DISCOVER, 0, NULL);
2134 sbio = BIO_new_socket(s, BIO_NOCLOSE)
    [all...]
s_server.c 2271 BIO *sbio; local
2320 sbio = BIO_new_dgram_sctp(s, BIO_NOCLOSE);
2323 sbio = BIO_new_dgram(s, BIO_NOCLOSE);
2328 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_RECV_TIMEOUT, 0, &timeout);
2332 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_SEND_TIMEOUT, 0, &timeout);
2340 BIO_free(sbio);
2347 BIO_free(sbio);
2352 BIO_ctrl(sbio, BIO_CTRL_DGRAM_MTU_DISCOVER, 0, NULL);
2361 sbio = BIO_new_socket(s, BIO_NOCLOSE);
2363 if (sbio == NULL)
3002 BIO *io, *ssl_bio, *sbio; local
3394 BIO *io, *ssl_bio, *sbio; local
    [all...]
ocsp.c 1604 BIO *sbio; local
1611 sbio = BIO_new_ssl(ctx, 1);
1612 cbio = BIO_push(sbio, cbio);
  /src/crypto/external/apache2/openssl/dist/test/
bio_tfo_test.c 56 BIO *sbio = NULL; local
111 sbio = BIO_pop(abio);
151 sbio = BIO_pop(abio);
175 if (!TEST_ptr(sbio = BIO_pop(abio))
176 || !TEST_true(BIO_read_ex(sbio, read_buffer, sizeof(read_buffer), &bytes))
196 BIO_free(sbio);
dtlstest.c 397 BIO *rbio = NULL, *wbio = NULL, *sbio = NULL; local
436 sbio = rbio;
442 if (!TEST_int_eq(BIO_write(sbio, buf, sizeof(buf)), sizeof(buf)))
quicapitest.c 2624 BIO *lbio = NULL, *sbio = NULL; local
2631 || !TEST_true(BIO_new_bio_dgram_pair(&lbio, 0, &sbio, 0)))
2644 if (!TEST_true(bio_addr_bind(sbio, addr)))
2653 qserver = ql_create(sctx, sbio);
2654 sbio = NULL;
2684 BIO_free(sbio);
2729 BIO *cbio = NULL, *sbio = NULL; local
2735 if (!TEST_true(BIO_new_bio_dgram_pair(&cbio, 0, &sbio, 0)))
2741 if (!TEST_true(bio_addr_bind(sbio, addr)))
2745 *lssl = ql_create(sctx, sbio);
    [all...]
  /src/crypto/external/apache2/openssl/dist/apps/
s_client.c 931 BIO *sbio; local
2292 sbio = BIO_new_dgram_sctp(sock, BIO_NOCLOSE);
2295 sbio = BIO_new_dgram(sock, BIO_NOCLOSE);
2297 if (sbio == NULL || (peer_info.addr = BIO_ADDR_new()) == NULL) {
2299 BIO_free(sbio);
2306 BIO_free(sbio);
2312 (void)BIO_ctrl_set_connected(sbio, peer_info.addr);
2319 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_RECV_TIMEOUT, 0, &timeout);
2323 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_SEND_TIMEOUT, 0, &timeout);
2330 BIO_free(sbio);
    [all...]
s_server.c 2547 BIO *sbio; local
2596 sbio = BIO_new_dgram_sctp(s, BIO_NOCLOSE);
2599 sbio = BIO_new_dgram(s, BIO_NOCLOSE);
2600 if (sbio == NULL) {
2609 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_RECV_TIMEOUT, 0, &timeout);
2613 BIO_ctrl(sbio, BIO_CTRL_DGRAM_SET_SEND_TIMEOUT, 0, &timeout);
2621 BIO_free(sbio);
2628 BIO_free(sbio);
2633 BIO_ctrl(sbio, BIO_CTRL_DGRAM_MTU_DISCOVER, 0, NULL);
2642 sbio = BIO_new_socket(s, BIO_NOCLOSE)
3262 BIO *io, *ssl_bio, *sbio, *edio; local
3741 BIO *io, *ssl_bio, *sbio; local
    [all...]
  /src/external/bsd/openldap/dist/libraries/liblber/
sockbuf.c 181 ber_sockbuf_add_io( Sockbuf *sb, Sockbuf_IO *sbio, int layer, void *arg )
188 if ( sbio == NULL ) {
206 d->sbiod_io = sbio;
211 if ( sbio->sbi_setup != NULL && ( sbio->sbi_setup( d, arg ) < 0 ) ) {
219 ber_sockbuf_remove_io( Sockbuf *sb, Sockbuf_IO *sbio, int layer )
233 if ( layer == p->sbiod_level && p->sbiod_io == sbio ) {
  /src/crypto/external/bsd/openssl/dist/test/
dtlstest.c 401 BIO *rbio = NULL, *wbio = NULL, *sbio = NULL; local
435 sbio = rbio;
441 if (!TEST_int_eq(BIO_write(sbio, buf, sizeof(buf)), sizeof(buf)))
  /src/external/bsd/openldap/dist/include/
lber.h 575 Sockbuf_IO *sbio,
582 Sockbuf_IO *sbio,
  /src/crypto/external/bsd/openssl/dist/apps/lib/
apps.c 2483 BIO *sbio = NULL; local
2494 || (sbio = BIO_new(BIO_f_ssl())) == NULL) {
2498 BIO_free(sbio);
2506 BIO_set_ssl(sbio, ssl, BIO_CLOSE);
2508 bio = BIO_push(sbio, bio);
  /src/crypto/external/apache2/openssl/dist/apps/lib/
apps.c 2560 BIO *sbio = NULL; local
2570 || (sbio = BIO_new(BIO_f_ssl())) == NULL) {
2574 BIO_free(sbio);
2582 BIO_set_ssl(sbio, ssl, BIO_CLOSE);
2584 bio = BIO_push(sbio, bio);

Completed in 61 milliseconds