Home
last modified time | relevance | path

Searched refs:ai_family (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/dns/net/
Dgetaddrinfo.c436 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/
Dnetdb_test.cpp57 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/
Dnetdb_h.c65 STRUCT_MEMBER(struct addrinfo, int, ai_family); in netdb_h()
/bionic/libc/include/
Dnetdb.h114 int ai_family; /* PF_xxx */ member
/bionic/libc/dns/resolv/
Dres_init.c365 hints.ai_family = PF_UNSPEC; in __res_vinit()
Dres_cache.c2014 .ai_family = AF_UNSPEC, in _resolv_set_nameservers_for_net()