Lines Matching refs:a2
1651 _common_prefix_len(const struct in6_addr *a1, const struct in6_addr *a2) in _common_prefix_len() argument
1654 const char *p2 = (const char *)a2; in _common_prefix_len()
1684 const struct addrinfo_sort_elem *a2 = (const struct addrinfo_sort_elem *)ptr2; in _rfc6724_compare() local
1693 if (a1->has_src_addr != a2->has_src_addr) { in _rfc6724_compare()
1694 return a2->has_src_addr - a1->has_src_addr; in _rfc6724_compare()
1702 scope_src2 = _get_scope(&a2->src_addr.generic); in _rfc6724_compare()
1703 scope_dst2 = _get_scope(a2->ai->ai_addr); in _rfc6724_compare()
1725 label_src2 = _get_label(&a2->src_addr.generic); in _rfc6724_compare()
1726 label_dst2 = _get_label(a2->ai->ai_addr); in _rfc6724_compare()
1735 precedence2 = _get_precedence(a2->ai->ai_addr); in _rfc6724_compare()
1757 a2->has_src_addr && a2->ai->ai_addr->sa_family == AF_INET6) { in _rfc6724_compare()
1760 const struct sockaddr_in6 *a2_src = &a2->src_addr.in6; in _rfc6724_compare()
1761 const struct sockaddr_in6 *a2_dst = (const struct sockaddr_in6 *)a2->ai->ai_addr; in _rfc6724_compare()
1773 return a1->original_order - a2->original_order; in _rfc6724_compare()