Lines Matching refs:RULE_DIFF
255 #define RULE_DIFF(ATTR, EXPR) ATTR_DIFF(attrs, RULE_ATTR_##ATTR, a, b, EXPR) in rule_compare() macro
257 diff |= RULE_DIFF(FAMILY, a->r_family != b->r_family); in rule_compare()
258 diff |= RULE_DIFF(TABLE, a->r_table != b->r_table); in rule_compare()
259 diff |= RULE_DIFF(ACTION, a->r_action != b->r_action); in rule_compare()
260 diff |= RULE_DIFF(IIFNAME, strcmp(a->r_iifname, b->r_iifname)); in rule_compare()
261 diff |= RULE_DIFF(OIFNAME, strcmp(a->r_oifname, b->r_oifname)); in rule_compare()
262 diff |= RULE_DIFF(PRIO, a->r_prio != b->r_prio); in rule_compare()
263 diff |= RULE_DIFF(MARK, a->r_mark != b->r_mark); in rule_compare()
264 diff |= RULE_DIFF(MASK, a->r_mask != b->r_mask); in rule_compare()
265 diff |= RULE_DIFF(GOTO, a->r_goto != b->r_goto); in rule_compare()
266 diff |= RULE_DIFF(SRC, nl_addr_cmp(a->r_src, b->r_src)); in rule_compare()
267 diff |= RULE_DIFF(DST, nl_addr_cmp(a->r_dst, b->r_dst)); in rule_compare()
268 diff |= RULE_DIFF(DSFIELD, a->r_dsfield != b->r_dsfield); in rule_compare()
269 diff |= RULE_DIFF(FLOW, a->r_flow != b->r_flow); in rule_compare()
271 #undef RULE_DIFF in rule_compare()