Lines Matching refs:ROUTE_DIFF
354 #define ROUTE_DIFF(ATTR, EXPR) ATTR_DIFF(attrs, ROUTE_ATTR_##ATTR, a, b, EXPR) in route_compare() macro
356 diff |= ROUTE_DIFF(FAMILY, a->rt_family != b->rt_family); in route_compare()
357 diff |= ROUTE_DIFF(TOS, a->rt_tos != b->rt_tos); in route_compare()
358 diff |= ROUTE_DIFF(TABLE, a->rt_table != b->rt_table); in route_compare()
359 diff |= ROUTE_DIFF(PROTOCOL, a->rt_protocol != b->rt_protocol); in route_compare()
360 diff |= ROUTE_DIFF(SCOPE, a->rt_scope != b->rt_scope); in route_compare()
361 diff |= ROUTE_DIFF(TYPE, a->rt_type != b->rt_type); in route_compare()
362 diff |= ROUTE_DIFF(PRIO, a->rt_prio != b->rt_prio); in route_compare()
363 diff |= ROUTE_DIFF(DST, nl_addr_cmp(a->rt_dst, b->rt_dst)); in route_compare()
364 diff |= ROUTE_DIFF(SRC, nl_addr_cmp(a->rt_src, b->rt_src)); in route_compare()
365 diff |= ROUTE_DIFF(IIF, a->rt_iif != b->rt_iif); in route_compare()
366 diff |= ROUTE_DIFF(PREF_SRC, nl_addr_cmp(a->rt_pref_src, in route_compare()
389 diff |= ROUTE_DIFF(METRICS, 1); in route_compare()
392 diff |= ROUTE_DIFF(FLAGS, in route_compare()
430 diff |= ROUTE_DIFF(METRICS, 1); in route_compare()
432 diff |= ROUTE_DIFF(METRICS, in route_compare()
436 diff |= ROUTE_DIFF(FLAGS, a->rt_flags != b->rt_flags); in route_compare()
443 diff |= ROUTE_DIFF(MULTIPATH, 1); in route_compare()
446 #undef ROUTE_DIFF in route_compare()