Searched refs:ai_family (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 436 hints == NULL ? -1 : hints->ai_family, in android_getaddrinfo_proxy() 495 readBE32(proxy, &ai->ai_family) && in android_getaddrinfo_proxy() 607 pai->ai_family = PF_UNSPEC; in android_getaddrinfofornetcontext() 624 switch (hints->ai_family) { in android_getaddrinfofornetcontext() 642 if (pai->ai_family != ex->e_af) in android_getaddrinfofornetcontext() 661 if (MATCH_FAMILY(pai->ai_family, PF_INET, 1) in android_getaddrinfofornetcontext() 663 || MATCH_FAMILY(pai->ai_family, PF_INET6, 1) in android_getaddrinfofornetcontext() 668 if (pai->ai_family == PF_UNSPEC) { in android_getaddrinfofornetcontext() 670 pai->ai_family = PF_INET6; in android_getaddrinfofornetcontext() 672 pai->ai_family = PF_INET; in android_getaddrinfofornetcontext() [all …]
|
/bionic/tests/ |
D | netdb_test.cpp | 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()
|
/bionic/tests/headers/posix/ |
D | netdb_h.c | 65 STRUCT_MEMBER(struct addrinfo, int, ai_family); in netdb_h()
|
/bionic/libc/include/ |
D | netdb.h | 114 int ai_family; /* PF_xxx */ member
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 365 hints.ai_family = PF_UNSPEC; in __res_vinit()
|
D | res_cache.c | 2014 .ai_family = AF_UNSPEC, in _resolv_set_nameservers_for_net()
|