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.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()
198 wasroot = br_is_root_bridge(br); in br_stp_change_bridge_id()
216 if (br_is_root_bridge(br) && !wasroot) in br_stp_change_bridge_id()
256 wasroot = br_is_root_bridge(br); in br_stp_set_bridge_priority()
271 if (br_is_root_bridge(br) && !wasroot) in br_stp_set_bridge_priority()
Dbr_stp.c185 if (br_is_root_bridge(br)) in br_transmit_config()
328 int isroot = br_is_root_bridge(br); in br_topology_change_detection()
479 was_root = br_is_root_bridge(br); in br_received_config_bpdu()
486 if (!br_is_root_bridge(br) && was_root) { in br_received_config_bpdu()
530 if (br_is_root_bridge(br)) in br_set_hello_time()
545 if (br_is_root_bridge(br)) in br_set_max_age()
555 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.h346 static inline int br_is_root_bridge(const struct net_bridge *br) in br_is_root_bridge() function