Lines Matching refs:ADDR_DIFF
496 #define ADDR_DIFF(ATTR, EXPR) ATTR_DIFF(attrs, ADDR_ATTR_##ATTR, a, b, EXPR) in addr_compare() macro
498 diff |= ADDR_DIFF(IFINDEX, a->a_ifindex != b->a_ifindex); in addr_compare()
499 diff |= ADDR_DIFF(FAMILY, a->a_family != b->a_family); in addr_compare()
500 diff |= ADDR_DIFF(SCOPE, a->a_scope != b->a_scope); in addr_compare()
501 diff |= ADDR_DIFF(LABEL, strcmp(a->a_label, b->a_label)); in addr_compare()
512 diff |= ADDR_DIFF(PEER, nl_addr_cmp_prefix(a->a_peer, b->a_peer)); in addr_compare()
514 diff |= ADDR_DIFF(PEER, nl_addr_cmp(a->a_peer, b->a_peer)); in addr_compare()
516 diff |= ADDR_DIFF(LOCAL, nl_addr_cmp(a->a_local, b->a_local)); in addr_compare()
517 diff |= ADDR_DIFF(MULTICAST, nl_addr_cmp(a->a_multicast, in addr_compare()
519 diff |= ADDR_DIFF(BROADCAST, nl_addr_cmp(a->a_bcast, b->a_bcast)); in addr_compare()
520 diff |= ADDR_DIFF(ANYCAST, nl_addr_cmp(a->a_anycast, b->a_anycast)); in addr_compare()
521 diff |= ADDR_DIFF(CACHEINFO, memcmp(&a->a_cacheinfo, &b->a_cacheinfo, in addr_compare()
525 diff |= ADDR_DIFF(FLAGS, in addr_compare()
528 diff |= ADDR_DIFF(FLAGS, a->a_flags != b->a_flags); in addr_compare()
530 #undef ADDR_DIFF in addr_compare()