Searched refs:RULE_DIFF (Results 1 – 1 of 1) sorted by relevance
/external/libnl/lib/route/ |
D | rule.c | 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() [all …]
|