Home
last modified time | relevance | path

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

/linux-3.4.99/net/bridge/
Dbr_stp_if.c101 wasroot = br_is_root_bridge(br); in br_stp_disable_port()
121 if (br_is_root_bridge(br) && !wasroot) in br_stp_disable_port()
195 wasroot = br_is_root_bridge(br); in br_stp_change_bridge_id()
212 if (br_is_root_bridge(br) && !wasroot) in br_stp_change_bridge_id()
251 wasroot = br_is_root_bridge(br); in br_stp_set_bridge_priority()
266 if (br_is_root_bridge(br) && !wasroot) in br_stp_set_bridge_priority()
Dbr_stp.c160 if (br_is_root_bridge(br)) in br_transmit_config()
296 int isroot = br_is_root_bridge(br); in br_topology_change_detection()
447 was_root = br_is_root_bridge(br); in br_received_config_bpdu()
454 if (!br_is_root_bridge(br) && was_root) { in br_received_config_bpdu()
498 if (br_is_root_bridge(br)) in br_set_hello_time()
513 if (br_is_root_bridge(br)) in br_set_max_age()
523 if (br_is_root_bridge(br)) in __br_set_forward_delay()
Dbr_stp_timer.c70 was_root = br_is_root_bridge(br); in br_message_age_timer_expired()
75 if (br_is_root_bridge(br) && !was_root) in br_message_age_timer_expired()
110 if (!br_is_root_bridge(br) && (br->dev->flags & IFF_UP)) { in br_tcn_timer_expired()
Dbr_private.h293 static inline int br_is_root_bridge(const struct net_bridge *br) in br_is_root_bridge() function