Home | History | Annotate | Download | only in net

Lines Matching refs:ai_family

64  *	  ai_family  = PF_UNSPEC:
259 "ai_family not supported", /* EAI_FAMILY */
437 hints == NULL ? -1 : hints->ai_family,
482 // int ai_family; /* PF_xxx */
496 readBE32(proxy, &ai->ai_family) &&
608 pai->ai_family = PF_UNSPEC;
625 switch (hints->ai_family) {
643 if (pai->ai_family != ex->e_af)
662 if (MATCH_FAMILY(pai->ai_family, PF_INET, 1)
664 || MATCH_FAMILY(pai->ai_family, PF_INET6, 1)
669 if (pai->ai_family == PF_UNSPEC) {
671 pai->ai_family = PF_INET6;
673 pai->ai_family = PF_INET;
693 if (!MATCH_FAMILY(pai->ai_family, ex->e_af, WILD_AF(ex)))
700 if (pai->ai_family == PF_UNSPEC)
701 pai->ai_family = ex->e_af;
750 if (pai->ai_family != ex->e_af)
884 s = socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0);
897 afd = find_afd(pai->ai_family);
953 afd = find_afd(pai->ai_family);
961 if (pai->ai_family == afd->a_af ||
962 pai->ai_family == PF_UNSPEC /*?*/) {
982 if (pai->ai_family == afd->a_af ||
983 pai->ai_family == PF_UNSPEC /*?*/) {
1039 afd = find_afd(pai->ai_family);
1066 if (cur->ai_family != AF_INET6)
1126 ai->ai_addr->sa_family = ai->ai_family = afd->a_af;
1155 switch (ai->ai_family) {
1212 switch (ai->ai_family) {
1472 ai.ai_family = (type == T_A) ? AF_INET : AF_INET6;
1473 afd = find_afd(ai.ai_family);
1928 switch (pai->ai_family) {