Lines Matching refs:ai_family
64 * ai_family = PF_UNSPEC:
259 "ai_family not supported", /* EAI_FAMILY */
436 hints == NULL ? -1 : hints->ai_family,
481 // int ai_family; /* PF_xxx */
495 readBE32(proxy, &ai->ai_family) &&
607 pai->ai_family = PF_UNSPEC;
624 switch (hints->ai_family) {
642 if (pai->ai_family != ex->e_af)
661 if (MATCH_FAMILY(pai->ai_family, PF_INET, 1)
663 || MATCH_FAMILY(pai->ai_family, PF_INET6, 1)
668 if (pai->ai_family == PF_UNSPEC) {
670 pai->ai_family = PF_INET6;
672 pai->ai_family = PF_INET;
692 if (!MATCH_FAMILY(pai->ai_family, ex->e_af, WILD_AF(ex)))
699 if (pai->ai_family == PF_UNSPEC)
700 pai->ai_family = ex->e_af;
749 if (pai->ai_family != ex->e_af)
883 s = socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0);
896 afd = find_afd(pai->ai_family);
952 afd = find_afd(pai->ai_family);
960 if (pai->ai_family == afd->a_af ||
961 pai->ai_family == PF_UNSPEC /*?*/) {
981 if (pai->ai_family == afd->a_af ||
982 pai->ai_family == PF_UNSPEC /*?*/) {
1038 afd = find_afd(pai->ai_family);
1065 if (cur->ai_family != AF_INET6)
1125 ai->ai_addr->sa_family = ai->ai_family = afd->a_af;
1154 switch (ai->ai_family) {
1211 switch (ai->ai_family) {
1471 ai.ai_family = (type == T_A) ? AF_INET : AF_INET6;
1472 afd = find_afd(ai.ai_family);
1927 switch (pai->ai_family) {