Lines Matching refs:ai_family
64 * ai_family = PF_UNSPEC:
210 "ai_family not supported", /*%< EAI_FAMILY */
336 pai->ai_family = PF_UNSPEC;
362 switch (hints->ai_family) {
385 if (pai->ai_family != ex->e_af)
407 if (pai->ai_family != AF_INET6)
425 if (MATCH_FAMILY(pai->ai_family, PF_INET, 1)
427 || MATCH_FAMILY(pai->ai_family, PF_INET6, 1)
432 if (pai->ai_family == PF_UNSPEC) {
434 pai->ai_family = PF_INET6;
436 pai->ai_family = PF_INET;
452 if (!MATCH_FAMILY(pai->ai_family, ex->e_af, WILD_AF(ex)))
459 if (pai->ai_family == PF_UNSPEC)
460 pai->ai_family = ex->e_af;
477 if (!addrconfig(pai->ai_family))
535 if (pai->ai_family == PF_UNSPEC)
536 pai->ai_family = ex->e_af;
538 if (!MATCH_FAMILY(pai->ai_family, ex->e_af, WILD_AF(ex)))
555 !addrconfig(pai->ai_family))
559 if (pai->ai_family == PF_UNSPEC)
560 pai->ai_family = ex->e_af;
705 if (src->ai_family != pai->ai_family)
747 afd = find_afd(pai->ai_family);
795 afd = find_afd(pai->ai_family);
803 if (pai->ai_family == afd->a_af ||
804 pai->ai_family == PF_UNSPEC /*?*/) {
816 if (pai->ai_family == afd->a_af ||
817 pai->ai_family == PF_UNSPEC /*?*/) {
857 afd = find_afd(pai->ai_family);
884 if (cur->ai_family != AF_INET6)
939 ai->ai_addr->sa_family = ai->ai_family = afd->a_af;
995 switch (ai->ai_family) {
1013 switch (ai->ai_family) {
1055 switch (ai->ai_family) {
1167 if (pai->ai_family != AF_UNSPEC && af != pai->ai_family)
1225 afd = find_afd(pai->ai_family);