Lines Matching refs:ADDR_DIFF
439 #define ADDR_DIFF(ATTR, EXPR) ATTR_DIFF(attrs, ADDR_ATTR_##ATTR, a, b, EXPR) in addr_compare() macro
441 diff |= ADDR_DIFF(IFINDEX, a->a_ifindex != b->a_ifindex); in addr_compare()
442 diff |= ADDR_DIFF(FAMILY, a->a_family != b->a_family); in addr_compare()
443 diff |= ADDR_DIFF(SCOPE, a->a_scope != b->a_scope); in addr_compare()
444 diff |= ADDR_DIFF(LABEL, strcmp(a->a_label, b->a_label)); in addr_compare()
445 diff |= ADDR_DIFF(PEER, nl_addr_cmp(a->a_peer, b->a_peer)); in addr_compare()
446 diff |= ADDR_DIFF(LOCAL, nl_addr_cmp(a->a_local, b->a_local)); in addr_compare()
447 diff |= ADDR_DIFF(MULTICAST, nl_addr_cmp(a->a_multicast, in addr_compare()
449 diff |= ADDR_DIFF(BROADCAST, nl_addr_cmp(a->a_bcast, b->a_bcast)); in addr_compare()
450 diff |= ADDR_DIFF(ANYCAST, nl_addr_cmp(a->a_anycast, b->a_anycast)); in addr_compare()
453 diff |= ADDR_DIFF(FLAGS, in addr_compare()
456 diff |= ADDR_DIFF(FLAGS, a->a_flags != b->a_flags); in addr_compare()
458 #undef ADDR_DIFF in addr_compare()