Home
last modified time | relevance | path

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

/external/libnl/lib/route/
Dnexthop.c88 #define NH_DIFF(ATTR, EXPR) ATTR_DIFF(attrs, NH_ATTR_##ATTR, a, b, EXPR) in rtnl_route_nh_compare() macro
90 diff |= NH_DIFF(IFINDEX, a->rtnh_ifindex != b->rtnh_ifindex); in rtnl_route_nh_compare()
91 diff |= NH_DIFF(WEIGHT, a->rtnh_weight != b->rtnh_weight); in rtnl_route_nh_compare()
92 diff |= NH_DIFF(REALMS, a->rtnh_realms != b->rtnh_realms); in rtnl_route_nh_compare()
93 diff |= NH_DIFF(GATEWAY, nl_addr_cmp(a->rtnh_gateway, in rtnl_route_nh_compare()
97 diff |= NH_DIFF(FLAGS, in rtnl_route_nh_compare()
100 diff |= NH_DIFF(FLAGS, a->rtnh_flags != b->rtnh_flags); in rtnl_route_nh_compare()
102 #undef NH_DIFF in rtnl_route_nh_compare()