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()
187 wasroot = br_is_root_bridge(br); in br_stp_change_bridge_id()
203 if (br_is_root_bridge(br) && !wasroot) in br_stp_change_bridge_id()
242 wasroot = br_is_root_bridge(br); in br_stp_set_bridge_priority()
257 if (br_is_root_bridge(br) && !wasroot) in br_stp_set_bridge_priority()
Dbr_stp.c180 if (br_is_root_bridge(br)) in br_transmit_config()
323 int isroot = br_is_root_bridge(br); in br_topology_change_detection()
474 was_root = br_is_root_bridge(br); in br_received_config_bpdu()
481 if (!br_is_root_bridge(br) && was_root) { in br_received_config_bpdu()
525 if (br_is_root_bridge(br)) in br_set_hello_time()
540 if (br_is_root_bridge(br)) in br_set_max_age()
557 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.h321 static inline int br_is_root_bridge(const struct net_bridge *br) in br_is_root_bridge() function