Home
last modified time | relevance | path

Searched refs:ADDR_DIFF (Results 1 – 1 of 1) sorted by relevance

/external/libnl/lib/route/
Daddr.c439 #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()
[all …]