Lines Matching refs:ai_family
209 "ai_family not supported", /* EAI_FAMILY */
331 pai->ai_family = PF_UNSPEC;
348 switch (hints->ai_family) {
366 if (pai->ai_family != ex->e_af)
385 if (MATCH_FAMILY(pai->ai_family, PF_INET, 1)
387 || MATCH_FAMILY(pai->ai_family, PF_INET6, 1)
392 if (pai->ai_family == PF_UNSPEC) {
394 pai->ai_family = PF_INET6;
396 pai->ai_family = PF_INET;
412 if (!MATCH_FAMILY(pai->ai_family, ex->e_af, WILD_AF(ex)))
419 if (pai->ai_family == PF_UNSPEC)
420 pai->ai_family = ex->e_af;
459 if (!MATCH_FAMILY(pai->ai_family, afd->a_af, 1))
465 if (pai->ai_family == PF_UNSPEC)
466 pai->ai_family = afd->a_af;
468 if (!MATCH_FAMILY(pai->ai_family, ex->e_af, WILD_AF(ex)))
479 if (pai->ai_family == PF_UNSPEC)
480 pai->ai_family = ex->e_af;
555 afd = find_afd(pai->ai_family);
563 hp = getipnodebyname(hostname, pai->ai_family, AI_ADDRCONFIG, &h_error);
566 hp = gethostbyname2(hostname, pai->ai_family);
568 if (pai->ai_family != AF_INET)
646 if (af != pai->ai_family)
714 s = socket(pai->ai_family, SOCK_DGRAM, 0);
727 afd = find_afd(pai->ai_family);
780 afd = find_afd(pai->ai_family);
807 if (pai->ai_family == afd->a_af ||
808 pai->ai_family == PF_UNSPEC /*?*/) {
868 afd = find_afd(pai->ai_family);
886 switch (pai->ai_family) {
901 if (cur->ai_family != AF_INET6)
1020 ai->ai_addr->sa_family = ai->ai_family = afd->a_af;
1049 switch (ai->ai_family) {
1098 switch (ai->ai_family) {