Home
last modified time | relevance | path

Searched refs:s_fd (Results 1 – 2 of 2) sorted by relevance

/openssl/test/
H A Dquic_tserver_test.c57 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 Dquic_multistream_test.c52 int s_fd; member
644 if (h->s_fd >= 0) { in helper_cleanup()
645 BIO_closesocket(h->s_fd); in helper_cleanup()
646 h->s_fd = -1; in helper_cleanup()
684 h->s_fd = -1; in helper_init()
703 h->s_fd = BIO_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0); in helper_init()
704 if (!TEST_int_ge(h->s_fd, 0)) in helper_init()
707 if (!TEST_true(BIO_socket_nbio(h->s_fd, 1))) in helper_init()
718 if (!TEST_true(BIO_bind(h->s_fd, h->s_net_bio_orig_addr, 0))) in helper_init()
722 if (!TEST_true(BIO_sock_info(h->s_fd, BIO_SOCK_INFO_ADDRESS, &info))) in helper_init()
[all …]

Completed in 23 milliseconds