Home
last modified time | relevance | path

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

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