• Home
  • Raw
  • Download

Lines Matching refs:ai_family

287             .ai_family = PF_UNSPEC,  in android_getaddrinfofornetcontext()
312 if (!(hints->ai_family == PF_UNSPEC || hints->ai_family == PF_INET || in android_getaddrinfofornetcontext()
313 hints->ai_family == PF_INET6)) { in android_getaddrinfofornetcontext()
326 if (ai.ai_family != ex.e_af) continue; in android_getaddrinfofornetcontext()
343 if (MATCH_FAMILY(ai.ai_family, PF_INET, 1) || MATCH_FAMILY(ai.ai_family, PF_INET6, 1)) { in android_getaddrinfofornetcontext()
345 if (tmp.ai_family == PF_UNSPEC) { in android_getaddrinfofornetcontext()
346 tmp.ai_family = PF_INET6; in android_getaddrinfofornetcontext()
357 if (!MATCH_FAMILY(ai.ai_family, ex.e_af, WILD_AF(ex))) continue; in android_getaddrinfofornetcontext()
362 if (tmp.ai_family == PF_UNSPEC) tmp.ai_family = ex.e_af; in android_getaddrinfofornetcontext()
366 LOG(DEBUG) << __func__ << ": explore_numeric: ai_family=" << tmp.ai_family in android_getaddrinfofornetcontext()
401 if (ai.ai_family != ex.e_af) continue; in android_getaddrinfofornetcontext()
414 LOG(DEBUG) << __func__ << ": explore_fqdn(): ai_family=" << tmp.ai_family in android_getaddrinfofornetcontext()
497 s = socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in explore_null()
508 afd = find_afd(pai->ai_family); in explore_null()
553 afd = find_afd(pai->ai_family); in explore_numeric()
557 if (pai->ai_family == afd->a_af || pai->ai_family == PF_UNSPEC /*?*/) { in explore_numeric()
608 afd = find_afd(pai->ai_family); in explore_numeric_scope()
631 if (cur->ai_family != AF_INET6) continue; in explore_numeric_scope()
675 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; in get_ai()
698 switch (ai->ai_family) { in get_port()
745 switch (ai->ai_family) { in get_port()
985 ai.ai_family = (type == T_A) ? AF_INET : AF_INET6; in getanswer()
986 afd = find_afd(ai.ai_family); in getanswer()
1389 switch (pai->ai_family) { in dns_getaddrinfo()