Home
last modified time | relevance | path

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

/net/bridge/
Dbr_stp_if.c114 wasroot = br_is_root_bridge(br); in br_stp_disable_port()
134 if (br_is_root_bridge(br) && !wasroot) in br_stp_disable_port()
223 wasroot = br_is_root_bridge(br); in br_stp_change_bridge_id()
241 if (br_is_root_bridge(br) && !wasroot) in br_stp_change_bridge_id()
281 wasroot = br_is_root_bridge(br); in br_stp_set_bridge_priority()
296 if (br_is_root_bridge(br) && !wasroot) in br_stp_set_bridge_priority()
Dbr_stp.c197 if (br_is_root_bridge(br)) in br_transmit_config()
341 int isroot = br_is_root_bridge(br); in br_topology_change_detection()
497 was_root = br_is_root_bridge(br); in br_received_config_bpdu()
504 if (!br_is_root_bridge(br) && was_root) { in br_received_config_bpdu()
548 if (br_is_root_bridge(br)) in br_set_hello_time()
563 if (br_is_root_bridge(br)) in br_set_max_age()
601 if (br_is_root_bridge(br)) in __br_set_forward_delay()
Dbr_stp_timer.c72 was_root = br_is_root_bridge(br); in br_message_age_timer_expired()
77 if (br_is_root_bridge(br) && !was_root) in br_message_age_timer_expired()
114 if (!br_is_root_bridge(br) && (br->dev->flags & IFF_UP)) { in br_tcn_timer_expired()
Dbr_private.h387 static inline int br_is_root_bridge(const struct net_bridge *br) in br_is_root_bridge() function