Lines Matching refs:AF_INET
56 ASSERT_TRUE(p->ai_family == AF_INET || p->ai_family == AF_INET6); in TEST()
83 hints.ai_family = AF_INET; in TEST()
94 ASSERT_EQ(AF_INET, tai->ai_family); in TEST()
120 ss.ss_family = AF_INET; in TEST()
147 addr.sin_family = AF_INET; in TEST()
178 ASSERT_EQ(hent->h_addrtype, AF_INET); in VerifyLocalhost()
191 hostent* hp = gethostbyname2("localhost", AF_INET); in TEST()
222 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST()
232 result = gethostbyname2_r("localhost", AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST()
241 hostent *hp = gethostbyaddr(&addr, sizeof(addr), AF_INET); in TEST()
251 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST()
261 result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST()
283 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST()
294 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST()