Lines Matching refs:AF_INET
57 ASSERT_TRUE(p->ai_family == AF_INET || p->ai_family == AF_INET6); in TEST()
84 hints.ai_family = AF_INET; in TEST()
95 ASSERT_EQ(AF_INET, tai->ai_family); in TEST()
121 ss.ss_family = AF_INET; in TEST()
148 addr.sin_family = AF_INET; in TEST()
179 ASSERT_EQ(hent->h_addrtype, AF_INET); in VerifyLocalhost()
192 hostent* hp = gethostbyname2("localhost", AF_INET); in TEST()
223 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST()
233 result = gethostbyname2_r("localhost", AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST()
242 hostent *hp = gethostbyaddr(&addr, sizeof(addr), AF_INET); in TEST()
252 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST()
262 result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST()
292 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST()
304 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST()
326 …int result = gethostbyname2_r("does.not.exist.google.com", AF_INET, &hent, buf, sizeof(buf), &hp, … in TEST()
338 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST()