Lines Matching refs:c_fd
34 int c_fd; in test_quic_client_ex() local
49 c_fd = BIO_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0); in test_quic_client_ex()
50 if (!TEST_int_ne(c_fd, INVALID_SOCKET)) in test_quic_client_ex()
53 if (!TEST_true(BIO_socket_nbio(c_fd, 1))) in test_quic_client_ex()
64 c_fd = fd_arg; in test_quic_client_ex()
67 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()
192 if (!TEST_int_ne(c_fd, INVALID_SOCKET)) in test_quic_client_connect_first()
195 if (!TEST_int_eq(connect(c_fd, (const struct sockaddr *)&sin, sizeof(sin)), 0)) 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()
209 close(c_fd); in test_quic_client_connect_first()