Searched refs:NH_DIFF (Results 1 – 1 of 1) sorted by relevance
/third_party/libnl/lib/route/ |
D | nexthop.c | 120 #define NH_DIFF(ATTR, EXPR) ATTR_DIFF(attrs, NH_ATTR_##ATTR, a, b, EXPR) in rtnl_route_nh_compare() macro 122 diff |= NH_DIFF(IFINDEX, a->rtnh_ifindex != b->rtnh_ifindex); in rtnl_route_nh_compare() 123 diff |= NH_DIFF(WEIGHT, a->rtnh_weight != b->rtnh_weight); in rtnl_route_nh_compare() 124 diff |= NH_DIFF(REALMS, a->rtnh_realms != b->rtnh_realms); in rtnl_route_nh_compare() 125 diff |= NH_DIFF(GATEWAY, nl_addr_cmp(a->rtnh_gateway, in rtnl_route_nh_compare() 127 diff |= NH_DIFF(NEWDST, nl_addr_cmp(a->rtnh_newdst, in rtnl_route_nh_compare() 129 diff |= NH_DIFF(VIA, nl_addr_cmp(a->rtnh_via, in rtnl_route_nh_compare() 131 diff |= NH_DIFF(ENCAP, nh_encap_compare(a->rtnh_encap, in rtnl_route_nh_compare() 135 diff |= NH_DIFF(FLAGS, in rtnl_route_nh_compare() 138 diff |= NH_DIFF(FLAGS, a->rtnh_flags != b->rtnh_flags); in rtnl_route_nh_compare() [all …]
|