Lines Matching refs:root_port
58 static int br_should_become_root_port(struct net_bridge_port *p, int root_port) in br_should_become_root_port() argument
72 if (!root_port) in br_should_become_root_port()
75 rp = br_get_port(br, root_port); in br_should_become_root_port()
111 int root_port; in br_root_selection() local
113 root_port = 0; in br_root_selection()
117 if (br_should_become_root_port(p, root_port)) in br_root_selection()
118 root_port = p->port_no; in br_root_selection()
123 br->root_port = root_port; in br_root_selection()
125 if (!root_port) { in br_root_selection()
129 p = br_get_port(br, root_port); in br_root_selection()
171 root = br_get_port(br, br->root_port); in br_transmit_config()
212 br_send_tcn_bpdu(br_get_port(br, br->root_port)); in br_transmit_tcn()
403 if (p->port_no == br->root_port) { in br_port_state_selection()
455 if (p->port_no == br->root_port) { in br_received_config_bpdu()