Searched refs:s_fd (Results 1 – 2 of 2) sorted by relevance
/openssl/test/ |
H A D | quic_tserver_test.c | 57 int s_fd = -1, c_fd = -1; in do_test() local 88 s_fd = BIO_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0); in do_test() 89 if (!TEST_int_ge(s_fd, 0)) in do_test() 92 if (!TEST_true(BIO_socket_nbio(s_fd, 1))) in do_test() 101 if (!TEST_true(BIO_bind(s_fd, s_addr_, 0))) in do_test() 105 if (!TEST_true(BIO_sock_info(s_fd, BIO_SOCK_INFO_ADDRESS, &s_info))) in do_test() 111 if (!TEST_ptr(s_net_bio = s_net_bio_own = BIO_new_dgram(s_fd, 0))) in do_test() 393 if (s_fd >= 0) in do_test() 394 BIO_closesocket(s_fd); in do_test()
|
H A D | quic_multistream_test.c | 52 int s_fd; member 647 if (h->s_fd >= 0) { in helper_cleanup() 648 BIO_closesocket(h->s_fd); in helper_cleanup() 649 h->s_fd = -1; in helper_cleanup() 687 h->s_fd = -1; in helper_init() 706 h->s_fd = BIO_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0); in helper_init() 707 if (!TEST_int_ge(h->s_fd, 0)) in helper_init() 710 if (!TEST_true(BIO_socket_nbio(h->s_fd, 1))) in helper_init() 721 if (!TEST_true(BIO_bind(h->s_fd, h->s_net_bio_orig_addr, 0))) in helper_init() 725 if (!TEST_true(BIO_sock_info(h->s_fd, BIO_SOCK_INFO_ADDRESS, &info))) in helper_init() [all …]
|
Completed in 22 milliseconds