Home
last modified time | relevance | path

Searched refs:c_fd (Results 1 – 3 of 3) sorted by relevance

/openssl/test/
H A Dquic_client_test.c34 int c_fd; in test_quic_client_ex() local
50 if (!TEST_int_ne(c_fd, INVALID_SOCKET)) in test_quic_client_ex()
64 c_fd = fd_arg; in test_quic_client_ex()
169 BIO_closesocket(c_fd); in test_quic_client_ex()
181 int c_fd; in test_quic_client_connect_first() local
192 if (!TEST_int_ne(c_fd, INVALID_SOCKET)) in test_quic_client_connect_first()
198 if (!TEST_true(BIO_socket_nbio(c_fd, 1))) in test_quic_client_connect_first()
201 rv = test_quic_client_ex(c_fd); in test_quic_client_connect_first()
203 close(c_fd); in test_quic_client_connect_first()
208 if (c_fd != INVALID_SOCKET) in test_quic_client_connect_first()
[all …]
H A Dquic_tserver_test.c57 int s_fd = -1, c_fd = -1; in do_test() local
147 c_fd = BIO_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0); in do_test()
148 if (!TEST_int_ge(c_fd, 0)) in do_test()
151 if (!TEST_true(BIO_socket_nbio(c_fd, 1))) in do_test()
154 if (!TEST_ptr(c_net_bio = c_net_bio_own = BIO_new_dgram(c_fd, 0))) in do_test()
395 if (c_fd >= 0) in do_test()
396 BIO_closesocket(c_fd); in do_test()
H A Dquic_multistream_test.c66 int c_fd; member
652 if (h->c_fd >= 0) { in helper_cleanup()
653 BIO_closesocket(h->c_fd); in helper_cleanup()
654 h->c_fd = -1; in helper_cleanup()
686 h->c_fd = -1; in helper_init()
773 h->c_fd = BIO_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0); in helper_init()
774 if (!TEST_int_ge(h->c_fd, 0)) in helper_init()
777 if (!TEST_true(BIO_socket_nbio(h->c_fd, 1))) in helper_init()
780 if (!TEST_ptr(h->c_net_bio = h->c_net_bio_own = BIO_new_dgram(h->c_fd, 0))) in helper_init()
1900 BIO_closesocket(h->c_fd); in run_script_worker()
[all …]

Completed in 20 milliseconds