Searched refs:ADDR_DIFF (Results 1 – 1 of 1) sorted by relevance
/external/libnl/lib/route/ |
D | addr.c | 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() [all …]
|