Searched refs:root_path_cost (Results 1 – 4 of 4) sorted by relevance
192 br->root_path_cost = 0; in br_root_selection()196 br->root_path_cost = READ_ONCE(p->designated_cost) + in br_root_selection()232 bpdu.root_path_cost = br->root_path_cost; in br_transmit_config()262 WRITE_ONCE(p->designated_cost, bpdu->root_path_cost); in br_record_config_information()309 if (br->root_path_cost < p_designated_cost) in br_should_become_designated_port()311 else if (br->root_path_cost > p_designated_cost) in br_should_become_designated_port()353 if (bpdu->root_path_cost < p_designated_cost) in br_supersedes_port_info()355 else if (bpdu->root_path_cost > p_designated_cost) in br_supersedes_port_info()436 WRITE_ONCE(p->designated_cost, br->root_path_cost); in br_become_designated_port()
103 buf[13] = (bpdu->root_path_cost >> 24) & 0xFF; in br_send_config_bpdu()104 buf[14] = (bpdu->root_path_cost >> 16) & 0xFF; in br_send_config_bpdu()105 buf[15] = (bpdu->root_path_cost >> 8) & 0xFF; in br_send_config_bpdu()106 buf[16] = bpdu->root_path_cost & 0xFF; in br_send_config_bpdu()211 bpdu.root_path_cost = in br_stp_rcv()
32 int root_path_cost; member
542 u32 root_path_cost; member