Lines Matching refs:a2
1646 _common_prefix_len(const struct in6_addr *a1, const struct in6_addr *a2) in _common_prefix_len() argument
1649 const char *p2 = (const char *)a2; in _common_prefix_len()
1679 const struct addrinfo_sort_elem *a2 = (const struct addrinfo_sort_elem *)ptr2; in _rfc6724_compare() local
1688 if (a1->has_src_addr != a2->has_src_addr) { in _rfc6724_compare()
1689 return a2->has_src_addr - a1->has_src_addr; in _rfc6724_compare()
1697 scope_src2 = _get_scope(&a2->src_addr.generic); in _rfc6724_compare()
1698 scope_dst2 = _get_scope(a2->ai->ai_addr); in _rfc6724_compare()
1720 label_src2 = _get_label(&a2->src_addr.generic); in _rfc6724_compare()
1721 label_dst2 = _get_label(a2->ai->ai_addr); in _rfc6724_compare()
1730 precedence2 = _get_precedence(a2->ai->ai_addr); in _rfc6724_compare()
1752 a2->has_src_addr && a2->ai->ai_addr->sa_family == AF_INET6) { in _rfc6724_compare()
1755 const struct sockaddr_in6 *a2_src = &a2->src_addr.in6; in _rfc6724_compare()
1756 const struct sockaddr_in6 *a2_dst = (const struct sockaddr_in6 *)a2->ai->ai_addr; in _rfc6724_compare()
1768 return a1->original_order - a2->original_order; in _rfc6724_compare()