/openssl/doc/designs/ddd/ |
H A D | ddd-06-mem-uv.c | 144 conn->udp.data = conn; in new_conn() 147 conn->timer.data = conn; in new_conn() 150 conn->tcp.data = conn; in new_conn() 160 conn->tcp_connect.data = conn; in new_conn() 317 conn->app_read_cb(conn, buf, srd, conn->app_read_arg); in on_rx_push() 327 conn->app_read_cb(conn, NULL, 0, conn->app_read_arg); in net_error() 396 …if (!conn->closed && (conn->app_read_cb || (!conn->done_handshake && conn->init_handshake) || conn… in set_rx() 410 APP_CONN *conn = op->conn; in net_write_done() local 444 op->conn = conn; in flush_write_buf() 467 conn->app_connect_cb(conn, 0, conn->app_connect_arg); in handshake_done_ssl() [all …]
|
H A D | ddd-02-conn-nonblocking-threads.c | 63 APP_CONN *conn; in new_conn() local 77 free(conn); in new_conn() 83 free(conn); in new_conn() 90 free(conn); in new_conn() 98 free(conn); in new_conn() 106 free(conn); in new_conn() 113 free(conn); in new_conn() 131 return conn; in new_conn() 149 conn->tx_need_rx = BIO_should_read(conn->ssl_bio); in tx() 174 conn->rx_need_tx = BIO_should_write(conn->ssl_bio); in rx() [all …]
|
H A D | ddd-05-mem-nonblocking.c | 63 APP_CONN *conn; local 70 if (conn == NULL) 75 free(conn); 87 free(conn); 95 free(conn); 101 free(conn); 108 free(conn); 130 return conn; 272 free(conn); 428 if (pump(conn, fd, get_conn_pending_tx(conn), timeout) != 1) { [all …]
|
H A D | ddd-02-conn-nonblocking.c | 63 APP_CONN *conn; in new_conn() local 77 free(conn); in new_conn() 83 free(conn); in new_conn() 103 free(conn); in new_conn() 111 free(conn); in new_conn() 119 free(conn); in new_conn() 126 free(conn); in new_conn() 143 return conn; in new_conn() 161 conn->tx_need_rx = BIO_should_read(conn->ssl_bio); in tx() 186 conn->rx_need_tx = BIO_should_write(conn->ssl_bio); in rx() [all …]
|
H A D | ddd-04-fd-nonblocking.c | 58 APP_CONN *conn; in new_conn() local 65 if (conn == NULL) in new_conn() 70 free(conn); in new_conn() 78 free(conn); in new_conn() 84 free(conn); in new_conn() 90 free(conn); in new_conn() 99 free(conn); in new_conn() 104 conn->fd = fd; in new_conn() 105 return conn; in new_conn() 182 return conn->fd; in get_conn_fd() [all …]
|
H A D | REPORT.md | 33 ddd-01-conn-blocking 60 ddd-02-conn-nonblocking 100 - Use of ALPN (as for ddd-01-conn-blocking); 132 ddd-02-conn-nonblocking-threads 155 ddd-02-conn-nonblocking. 167 ddd-02-conn-nonblocking). 170 ddd-02-conn-nonblocking). 226 ddd-02-conn-nonblocking); 271 ddd-02-conn-nonblocking). 308 ddd-02-conn-nonblocking); [all …]
|
H A D | Makefile | 12 TESTS_BASE = ddd-01-conn-blocking \ 13 ddd-02-conn-nonblocking \ 14 ddd-02-conn-nonblocking-threads \
|
H A D | README.md | 110 | [ddd-01-conn-blocking](ddd-01-conn-blocking.c) | S-BIOc | A `BIO_s_connect`-based blocking exampl… 111 | [ddd-02-conn-nonblocking](ddd-02-conn-nonblocking.c) | A-BIOc | A `BIO_s_connect`-based nonblocki…
|
H A D | WINDOWS.md | 46 - ddd-01-conn-blocking: Blocking example, use of IOCP is not applicable. 48 - ddd-02-conn-nonblocking: Socket is managed by OpenSSL, and IOCP is not
|
/openssl/demos/http3/ |
H A D | ossl-nghttp3.c | 87 if (conn == NULL) in OSSL_DEMO_H3_CONN_free() 95 OPENSSL_free(conn); in OSSL_DEMO_H3_CONN_free() 379 return conn; in OSSL_DEMO_H3_CONN_new_for_conn() 387 OPENSSL_free(conn); in OSSL_DEMO_H3_CONN_new_for_conn() 430 if (conn == NULL) in OSSL_DEMO_H3_CONN_new_for_addr() 433 return conn; in OSSL_DEMO_H3_CONN_new_for_addr() 452 return conn->qconn; in OSSL_DEMO_H3_CONN_get0_connection() 463 if (!conn->pump_res) in h3_conn_pump_stream() 562 conn->pump_res = 0; in h3_conn_pump_stream() 575 if (conn == NULL) in OSSL_DEMO_H3_CONN_handle_events() [all …]
|
H A D | ossl-nghttp3.h | 70 int OSSL_DEMO_H3_CONN_connect(OSSL_DEMO_H3_CONN *conn); 76 void OSSL_DEMO_H3_CONN_free(OSSL_DEMO_H3_CONN *conn); 82 void *OSSL_DEMO_H3_CONN_get_user_data(const OSSL_DEMO_H3_CONN *conn); 85 SSL *OSSL_DEMO_H3_CONN_get0_connection(const OSSL_DEMO_H3_CONN *conn); 90 int OSSL_DEMO_H3_CONN_handle_events(OSSL_DEMO_H3_CONN *conn); 100 int OSSL_DEMO_H3_CONN_submit_request(OSSL_DEMO_H3_CONN *conn,
|
H A D | ossl-nghttp3-demo.c | 83 OSSL_DEMO_H3_CONN *conn = NULL; in main() local 113 if ((conn = OSSL_DEMO_H3_CONN_new_for_addr(ctx, addr, &callbacks, in main() 128 if (!OSSL_DEMO_H3_CONN_submit_request(conn, nva, num_nv, NULL, NULL)) { in main() 136 if (!OSSL_DEMO_H3_CONN_handle_events(conn)) { in main() 147 OSSL_DEMO_H3_CONN_free(conn); in main()
|
/openssl/ssl/quic/ |
H A D | quic_lcidm.c | 190 if (conn != NULL) in lcidm_upsert_conn() 191 return conn; in lcidm_upsert_conn() 193 if ((conn = OPENSSL_zalloc(sizeof(*conn))) == NULL) in lcidm_upsert_conn() 199 conn->opaque = opaque; in lcidm_upsert_conn() 205 return conn; in lcidm_upsert_conn() 208 if (conn != NULL) { in lcidm_upsert_conn() 238 OPENSSL_free(conn); in lcidm_delete_conn() 253 lcid_obj->conn = conn; in lcidm_conn_new_lcid() 284 if (conn == NULL) in ossl_quic_lcidm_get_num_active_lcid() 352 ++conn->next_seq_num; in lcidm_generate() [all …]
|
H A D | quic_impl.c | 223 ctx->qc = xso->conn; in expect_quic() 1055 return xso->conn->blocking; in xso_blocking_mode() 1961 xso->conn = qc; in create_xso_from_stream() 2344 if (!quic_mutation_allowed(xso->conn, /*req_active=*/1)) in quic_write_blocking() 2513 qsm = ossl_quic_channel_get_qsm(xso->conn->ch); in quic_validate_for_write() 2657 qsm = ossl_quic_channel_get_qsm(xso->conn->ch); in quic_validate_for_read() 3139 int ossl_quic_attach_stream(SSL *conn, SSL *stream) in ossl_quic_attach_stream() argument 3145 if (!expect_quic_conn_only(conn, &ctx)) in ossl_quic_attach_stream() 4073 return !xso->conn->shutting_down in test_poll_event_w() 4077 && quic_mutation_allowed(xso->conn, /*req_active=*/1); in test_poll_event_w() [all …]
|
H A D | quic_local.h | 39 QUIC_CONNECTION *conn; member
|
/openssl/apps/ |
H A D | s_time.c | 415 BIO *conn; in doConnection() local 419 if ((conn = BIO_new(BIO_s_connect())) == NULL) in doConnection() 422 if (BIO_set_conn_hostname(conn, host) <= 0 in doConnection() 423 || BIO_set_conn_mode(conn, BIO_SOCK_NODELAY) <= 0) { in doConnection() 424 BIO_free(conn); in doConnection() 431 BIO_free(conn); in doConnection() 439 SSL_set_bio(serverCon, conn, conn); in doConnection()
|
/openssl/doc/designs/quic-design/ |
H A D | connection-id-cache.md | 112 unsigned char reset_token[16]; /* stateless reset token is per conn ID */ 143 const QUIC_CONNECTION *conn, 155 const QUIC_CONNECTION *conn, QUIC_CONN_ID **cid); 188 QUIC_CONNECTION *conn, 195 const QUIC_CONNECTION *conn); 229 QUIC_CONNECTION *conn; 272 QUIC_CONNECTION *conn, 279 QUIC_CONNECTION *conn,
|
H A D | quic-api.md | 45 - [`SSL_get_conn_close_info`](#-ssl-get-conn-close-info-) 63 …onnect`, `BIO_set_conn_hostname`](#-bio-s-connect----bio-new-ssl-connect----bio-set-conn-hostname-)
|
/openssl/doc/man3/ |
H A D | SSL_set_incoming_stream_policy.pod | 18 int SSL_set_incoming_stream_policy(SSL *conn, int policy,
|
H A D | SSL_set_default_stream_mode.pod | 18 int SSL_set_default_stream_mode(SSL *conn, uint32_t mode);
|
/openssl/include/internal/ |
H A D | quic_ssl.h | 83 __owur int ossl_quic_attach_stream(SSL *conn, SSL *stream);
|
/openssl/crypto/err/ |
H A D | openssl.txt | 1388 SSL_R_CONN_USE_ONLY:356:conn use only
|