/openssl/demos/guide/ |
H A D | quic-client-block.c | 30 int family, BIO_ADDR **peer_addr) in create_socket_bio() argument 78 *peer_addr = BIO_ADDR_dup(BIO_ADDRINFO_address(ai)); in create_socket_bio() 79 if (*peer_addr == NULL) { in create_socket_bio() 129 BIO_ADDR *peer_addr = NULL; in main() local 185 bio = create_socket_bio(hostname, port, ipv6 ? AF_INET6 : AF_INET, &peer_addr); in main() 219 if (!SSL_set1_initial_peer_addr(ssl, peer_addr)) { in main() 339 BIO_ADDR_free(peer_addr); in main()
|
H A D | quic-client-non-block.c | 31 int family, BIO_ADDR **peer_addr) in create_socket_bio() argument 79 *peer_addr = BIO_ADDR_dup(BIO_ADDRINFO_address(ai)); in create_socket_bio() 80 if (*peer_addr == NULL) { in create_socket_bio() 236 BIO_ADDR *peer_addr = NULL; in main() local 294 &peer_addr); in main() 328 if (!SSL_set1_initial_peer_addr(ssl, peer_addr)) { in main() 429 BIO_ADDR_free(peer_addr); in main()
|
H A D | quic-multi-stream.c | 30 int family, BIO_ADDR **peer_addr) in create_socket_bio() argument 78 *peer_addr = BIO_ADDR_dup(BIO_ADDRINFO_address(ai)); in create_socket_bio() 79 if (*peer_addr == NULL) { in create_socket_bio() 149 BIO_ADDR *peer_addr = NULL; in main() local 214 bio = create_socket_bio(hostname, port, ipv6 ? AF_INET6 : AF_INET, &peer_addr); in main() 248 if (!SSL_set1_initial_peer_addr(ssl, peer_addr)) { in main() 442 BIO_ADDR_free(peer_addr); in main()
|
H A D | quic-hq-interop.c | 103 int family, BIO_ADDR **peer_addr) in create_socket_bio() argument 155 *peer_addr = BIO_ADDR_dup(BIO_ADDRINFO_address(ai)); in create_socket_bio() 156 if (*peer_addr == NULL) { in create_socket_bio() 667 static BIO_ADDR *peer_addr = NULL; variable 751 &peer_addr); in setup_connection() 785 if (!SSL_set1_initial_peer_addr(*ssl, peer_addr)) { in setup_connection() 812 BIO_ADDR_free(peer_addr); in setup_connection() 1027 BIO_ADDR_free(peer_addr); in main()
|
/openssl/fuzz/ |
H A D | quic-client.c | 61 BIO_ADDR *peer_addr = NULL; in FuzzerTestOneInput() local 84 peer_addr = BIO_ADDR_new(); in FuzzerTestOneInput() 85 if (peer_addr == NULL) in FuzzerTestOneInput() 90 if (!BIO_ADDR_rawmake(peer_addr, AF_INET, &ina, sizeof(ina), htons(4433))) in FuzzerTestOneInput() 110 if (SSL_set1_initial_peer_addr(client, peer_addr) != 1) in FuzzerTestOneInput() 261 BIO_ADDR_free(peer_addr); in FuzzerTestOneInput()
|
/openssl/include/internal/ |
H A D | quic_channel.h | 308 int ossl_quic_channel_get_peer_addr(QUIC_CHANNEL *ch, BIO_ADDR *peer_addr); 309 int ossl_quic_channel_set_peer_addr(QUIC_CHANNEL *ch, const BIO_ADDR *peer_addr);
|
H A D | quic_ssl.h | 75 const BIO_ADDR *peer_addr);
|
/openssl/doc/man7/ |
H A D | ossl-guide-quic-client-block.pod | 135 *peer_addr = BIO_ADDR_dup(BIO_ADDRINFO_address(ai)); 136 if (*peer_addr == NULL) { 229 if (!SSL_set1_initial_peer_addr(ssl, peer_addr)) { 234 Note that we will need to free the B<peer_addr> value that we allocated via 237 BIO_ADDR_free(peer_addr);
|
/openssl/ssl/quic/ |
H A D | quic_channel.c | 472 int ossl_quic_channel_get_peer_addr(QUIC_CHANNEL *ch, BIO_ADDR *peer_addr) in ossl_quic_channel_get_peer_addr() argument 477 *peer_addr = ch->cur_peer_addr; in ossl_quic_channel_get_peer_addr() 481 int ossl_quic_channel_set_peer_addr(QUIC_CHANNEL *ch, const BIO_ADDR *peer_addr) in ossl_quic_channel_set_peer_addr() argument 486 if (peer_addr == NULL || BIO_ADDR_family(peer_addr) == AF_UNSPEC) { in ossl_quic_channel_set_peer_addr() 492 ch->cur_peer_addr = *peer_addr; in ossl_quic_channel_set_peer_addr()
|
H A D | quic_impl.c | 1013 const BIO_ADDR *peer_addr) in ossl_quic_conn_set_initial_peer_addr() argument 1024 if (peer_addr == NULL) { in ossl_quic_conn_set_initial_peer_addr() 1029 ctx.qc->init_peer_addr = *peer_addr; in ossl_quic_conn_set_initial_peer_addr()
|
/openssl/apps/ |
H A D | s_client.c | 960 BIO_ADDR *peer_addr = NULL; in s_client_main() local 2172 BIO_ADDR_free(peer_addr); in s_client_main() 2173 peer_addr = NULL; in s_client_main() 2175 socket_type, protocol, tfo, !isquic, &peer_addr) == 0) { in s_client_main() 2259 if (!SSL_set1_initial_peer_addr(con, peer_addr)) { in s_client_main() 2276 (void)BIO_set_conn_address(sbio, peer_addr); in s_client_main() 3337 BIO_ADDR_free(peer_addr); in s_client_main()
|
/openssl/ssl/ |
H A D | ssl_lib.c | 7612 int SSL_set1_initial_peer_addr(SSL *s, const BIO_ADDR *peer_addr) in SSL_set1_initial_peer_addr() argument 7618 return ossl_quic_conn_set_initial_peer_addr(s, peer_addr); in SSL_set1_initial_peer_addr()
|
/openssl/include/openssl/ |
H A D | ssl.h.in | 2291 __owur int SSL_set1_initial_peer_addr(SSL *s, const BIO_ADDR *peer_addr);
|