Home
last modified time | relevance | path

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

/src/crypto/openssl/test/
H A Dquic_client_test.c34 int c_fd; in test_quic_client_ex() local
48 c_fd = BIO_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0); in test_quic_client_ex()
49 if (!TEST_int_ne(c_fd, INVALID_SOCKET)) in test_quic_client_ex()
52 if (!TEST_true(BIO_socket_nbio(c_fd, 1))) in test_quic_client_ex()
63 c_fd = fd_arg; in test_quic_client_ex()
66 if (!TEST_ptr(c_net_bio = c_net_bio_own = BIO_new_dgram(c_fd, 0))) in test_quic_client_ex()
168 if (fd_arg == INVALID_SOCKET && c_fd != INVALID_SOCKET) 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
191 c_fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); 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()
408 if (c_fd >= 0) in do_test()
409 BIO_closesocket(c_fd); in do_test()
H A Dquic_multistream_test.c76 int c_fd; member
661 if (h->c_fd >= 0) { in helper_cleanup()
662 BIO_closesocket(h->c_fd); in helper_cleanup()
663 h->c_fd = -1; in helper_cleanup()
696 h->c_fd = -1; in helper_init()
787 h->c_fd = BIO_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0); in helper_init()
788 if (!TEST_int_ge(h->c_fd, 0)) in helper_init()
791 if (!TEST_true(BIO_socket_nbio(h->c_fd, 1))) in helper_init()
794 if (!TEST_ptr(h->c_net_bio = h->c_net_bio_own = BIO_new_dgram(h->c_fd, 0))) in helper_init()
1842 BIO_closesocket(h->c_fd); in run_script_worker()
[all …]
/src/crypto/openssh/
H A Dssh-keyscan.c109 int c_fd; /* Quick lookup: c->c_fd == c - fdcon */ member
417 fdcon[s].c_fd = s; in conalloc()
597 int s = c->c_fd; in conloop()