Lines Matching refs:fd2

2132     int fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0);  in TEST_F()  local
2134 EXPECT_TRUE(fd2 != -1); in TEST_F()
2138 int res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F()
2150 fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2153 EXPECT_TRUE(fd2 != -1); in TEST_F()
2155 res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F()
2236 int fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, 0); in TEST_F() local
2237 EXPECT_TRUE(fd2 != -1); in TEST_F()
2251 res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F()
2358 int fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F() local
2360 EXPECT_TRUE(fd2 != -1); in TEST_F()
2366 expectAnswersValid(fd2, AF_INET, "1.2.3.4"); in TEST_F()
2396 fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_a, in TEST_F()
2400 EXPECT_TRUE(fd2 != -1); in TEST_F()
2402 expectAnswersValid(fd2, AF_INET, "1.2.3.4"); in TEST_F()
2421 fd2 = resNetworkQuery(TEST_NETID, "howdy.example2.com", ns_c_in, ns_t_aaaa, in TEST_F()
2425 EXPECT_TRUE(fd2 != -1); in TEST_F()
2427 expectAnswersValid(fd2, AF_INET6, "::1.2.3.5"); in TEST_F()
2435 fd2 = resNetworkQuery(TEST_NETID, "howdy.example2.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2438 EXPECT_TRUE(fd2 != -1); in TEST_F()
2440 expectAnswersValid(fd2, AF_INET6, "::1.2.3.5"); in TEST_F()
2549 int fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, in TEST_F() local
2551 EXPECT_TRUE(fd2 != -1); in TEST_F()
2555 expectAnswersNotValid(fd2, -ETIMEDOUT); in TEST_F()
2568 fd2 = resNetworkQuery(TEST_NETID, "howdy.example.com", ns_c_in, ns_t_aaaa, 0); in TEST_F()
2569 EXPECT_TRUE(fd2 != -1); in TEST_F()
2573 expectAnswersNotValid(fd2, -ETIMEDOUT); in TEST_F()
4118 int fd2 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_aaaa, 0); in TEST_F() local
4120 EXPECT_TRUE(fd2 != -1); in TEST_F()
4124 int res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F()
4163 int fd2 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_aaaa, 0); in TEST_F() local
4165 EXPECT_TRUE(fd2 != -1); in TEST_F()
4167 int res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F()
4181 int fd2 = resNetworkQuery(TEST_NETID, host_name, ns_c_in, ns_t_aaaa, 0); in TEST_F() local
4183 EXPECT_TRUE(fd2 != -1); in TEST_F()
4185 int res = getAsyncResponse(fd2, &rcode, buf, MAXPACKET); in TEST_F()
5499 int fd2 = resNetworkQuery(network2.netId(), host_name, ns_c_in, ns_t_a, 0); in TEST_F() local
5502 expectAnswersValid(fd2, AF_INET, "1.1.1.32"); in TEST_F()
5509 fd2 = resNetworkQuery(network2.netId(), host_name, ns_c_in, ns_t_a, 0); in TEST_F()
5512 expectAnswersValid(fd2, AF_INET, "1.1.1.32"); in TEST_F()