Lines Matching refs:a2
1632 _common_prefix_len(const struct in6_addr *a1, const struct in6_addr *a2) in _common_prefix_len() argument
1635 const char *p2 = (const char *)a2; in _common_prefix_len()
1665 const struct addrinfo_sort_elem *a2 = (const struct addrinfo_sort_elem *)ptr2; in _rfc6724_compare() local
1674 if (a1->has_src_addr != a2->has_src_addr) { in _rfc6724_compare()
1675 return a2->has_src_addr - a1->has_src_addr; in _rfc6724_compare()
1683 scope_src2 = _get_scope(&a2->src_addr.generic); in _rfc6724_compare()
1684 scope_dst2 = _get_scope(a2->ai->ai_addr); in _rfc6724_compare()
1706 label_src2 = _get_label(&a2->src_addr.generic); in _rfc6724_compare()
1707 label_dst2 = _get_label(a2->ai->ai_addr); in _rfc6724_compare()
1716 precedence2 = _get_precedence(a2->ai->ai_addr); in _rfc6724_compare()
1738 a2->has_src_addr && a2->ai->ai_addr->sa_family == AF_INET6) { in _rfc6724_compare()
1741 const struct sockaddr_in6 *a2_src = &a2->src_addr.in6; in _rfc6724_compare()
1742 const struct sockaddr_in6 *a2_dst = (const struct sockaddr_in6 *)a2->ai->ai_addr; in _rfc6724_compare()
1754 return a1->original_order - a2->original_order; in _rfc6724_compare()