Lines Matching refs:ai_family
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()
692 if (!MATCH_FAMILY(pai->ai_family, ex->e_af, WILD_AF(ex))) in android_getaddrinfofornetcontext()
699 if (pai->ai_family == PF_UNSPEC) in android_getaddrinfofornetcontext()
700 pai->ai_family = ex->e_af; in android_getaddrinfofornetcontext()
749 if (pai->ai_family != ex->e_af) in android_getaddrinfofornetcontext()
883 s = socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in explore_null()
896 afd = find_afd(pai->ai_family); in explore_null()
952 afd = find_afd(pai->ai_family); in explore_numeric()
960 if (pai->ai_family == afd->a_af || in explore_numeric()
961 pai->ai_family == PF_UNSPEC /*?*/) { in explore_numeric()
981 if (pai->ai_family == afd->a_af || in explore_numeric()
982 pai->ai_family == PF_UNSPEC /*?*/) { in explore_numeric()
1038 afd = find_afd(pai->ai_family); in explore_numeric_scope()
1065 if (cur->ai_family != AF_INET6) in explore_numeric_scope()
1125 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; in get_ai()
1154 switch (ai->ai_family) { in get_port()
1211 switch (ai->ai_family) { in get_port()
1471 ai.ai_family = (type == T_A) ? AF_INET : AF_INET6; in getanswer()
1472 afd = find_afd(ai.ai_family); in getanswer()
1927 switch (pai->ai_family) { in _dns_getaddrinfo()