Lines Matching refs:ai_addr
268 if (hints->ai_addrlen || hints->ai_canonname || hints->ai_addr || hints->ai_next) { in validateHints()
640 sin6 = (struct sockaddr_in6*) (void*) cur->ai_addr; in explore_numeric_scope()
679 ai->ai_addr = (struct sockaddr*) (void*) (ai + 1); in get_ai()
681 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; in get_ai()
682 p = (char*) (void*) (ai->ai_addr); in get_ai()
750 ((struct sockaddr_in*) (void*) ai->ai_addr)->sin_port = port; in get_port()
753 ((struct sockaddr_in6*) (void*) ai->ai_addr)->sin6_port = port; in get_port()
1181 scope_dst1 = _get_scope(a1->ai->ai_addr); in _rfc6724_compare()
1185 scope_dst2 = _get_scope(a2->ai->ai_addr); in _rfc6724_compare()
1204 label_dst1 = _get_label(a1->ai->ai_addr); in _rfc6724_compare()
1208 label_dst2 = _get_label(a2->ai->ai_addr); in _rfc6724_compare()
1216 precedence1 = _get_precedence(a1->ai->ai_addr); in _rfc6724_compare()
1217 precedence2 = _get_precedence(a2->ai->ai_addr); in _rfc6724_compare()
1238 if (a1->has_src_addr && a1->ai->ai_addr->sa_family == AF_INET6 && a2->has_src_addr && in _rfc6724_compare()
1239 a2->ai->ai_addr->sa_family == AF_INET6) { in _rfc6724_compare()
1241 const struct sockaddr_in6* a1_dst = (const struct sockaddr_in6*) a1->ai->ai_addr; in _rfc6724_compare()
1243 const struct sockaddr_in6* a2_dst = (const struct sockaddr_in6*) a2->ai->ai_addr; in _rfc6724_compare()
1363 has_src_addr = _find_src_addr(cur->ai_addr, &elems[i].src_addr.sa, mark, uid, in resolv_rfc6724_sort()