Home
last modified time | relevance | path

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

/external/libnl/lib/route/link/
Dbridge.c439 #define BRIDGE_DIFF(ATTR, EXPR) ATTR_DIFF(attrs, BRIDGE_ATTR_##ATTR, a, b, EXPR) in bridge_compare() macro
440 diff |= BRIDGE_DIFF(PORT_STATE, a->b_port_state != b->b_port_state); in bridge_compare()
441 diff |= BRIDGE_DIFF(PRIORITY, a->b_priority != b->b_priority); in bridge_compare()
442 diff |= BRIDGE_DIFF(COST, a->b_cost != b->b_cost); in bridge_compare()
443 diff |= BRIDGE_DIFF(PORT_VLAN, memcmp(&a->vlan_info, &b->vlan_info, in bridge_compare()
445 diff |= BRIDGE_DIFF(HWMODE, a->b_hwmode != b->b_hwmode); in bridge_compare()
446 diff |= BRIDGE_DIFF(SELF, a->b_self != b->b_self); in bridge_compare()
449 diff |= BRIDGE_DIFF(FLAGS, in bridge_compare()
452 diff |= BRIDGE_DIFF(FLAGS, a->b_flags != b->b_flags); in bridge_compare()
453 #undef BRIDGE_DIFF in bridge_compare()