Lines Matching refs:ai_family
681 res->ai_family = sa->sa_family; /* Same or not? XXX */
819 if (hints->ai_family != PF_UNSPEC && hints->ai_family != PF_INET &&
820 hints->ai_family != PF_INET6)
840 if (hints->ai_family != PF_INET) { /* INET6 or UNSPEC. */
857 if (hints->ai_family != PF_INET6) { /* INET or UNSPEC */
883 if (hints->ai_family == PF_INET6 || hints->ai_family == PF_UNSPEC) {
899 if (hints->ai_family == PF_INET || hints->ai_family == PF_UNSPEC) {
1045 * hints->ai_family is PF_UNSPEC, then revise the value of hints->ai_family so
1053 if (hints->ai_family != PF_UNSPEC)
1058 hints->ai_family = PF_INET;
1060 hints->ai_family = PF_INET6;
1096 hints.ai_family = PF_UNSPEC;
1198 hints.ai_family = PF_UNSPEC;
1203 if (hints.ai_family == PF_UNSPEC &&
1289 hints.ai_family = PF_UNSPEC;
1351 if (ent->h_addrtype != hints.ai_family &&
1352 hints.ai_family != PF_UNSPEC) {
1447 return "ai_family not supported";