Lines Matching refs:ai_addr
477 ai->ai_addr = (struct sockaddr*)(ai + 1); in android_getaddrinfo_proxy()
510 if (fread(ai->ai_addr, addr_len, 1, proxy) != 1) { in android_getaddrinfo_proxy()
612 pai->ai_addr = NULL; in android_getaddrinfofornetcontext()
620 hints->ai_addr || hints->ai_next) in android_getaddrinfofornetcontext()
1067 sin6 = (struct sockaddr_in6 *)(void *)cur->ai_addr; in explore_numeric_scope()
1114 ai->ai_addr = (struct sockaddr *)(void *)(ai + 1); in get_ai()
1115 memset(ai->ai_addr, 0, (size_t)afd->a_socklen); in get_ai()
1118 ai->ai_addr->sa_len = afd->a_socklen; in get_ai()
1125 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; in get_ai()
1126 p = (char *)(void *)(ai->ai_addr); in get_ai()
1214 ai->ai_addr)->sin_port = port; in get_port()
1219 ai->ai_addr)->sin6_port = port; in get_port()
1699 scope_dst1 = _get_scope(a1->ai->ai_addr); in _rfc6724_compare()
1703 scope_dst2 = _get_scope(a2->ai->ai_addr); in _rfc6724_compare()
1722 label_dst1 = _get_label(a1->ai->ai_addr); in _rfc6724_compare()
1726 label_dst2 = _get_label(a2->ai->ai_addr); in _rfc6724_compare()
1734 precedence1 = _get_precedence(a1->ai->ai_addr); in _rfc6724_compare()
1735 precedence2 = _get_precedence(a2->ai->ai_addr); in _rfc6724_compare()
1756 if (a1->has_src_addr && a1->ai->ai_addr->sa_family == AF_INET6 && in _rfc6724_compare()
1757 a2->has_src_addr && a2->ai->ai_addr->sa_family == AF_INET6) { in _rfc6724_compare()
1759 const struct sockaddr_in6 *a1_dst = (const struct sockaddr_in6 *)a1->ai->ai_addr; in _rfc6724_compare()
1761 const struct sockaddr_in6 *a2_dst = (const struct sockaddr_in6 *)a2->ai->ai_addr; in _rfc6724_compare()
1872 has_src_addr = _find_src_addr(cur->ai_addr, &elems[i].src_addr.generic, mark, uid); in _rfc6724_sort()