Searched refs:root_path_cost (Results 1 – 7 of 7) sorted by relevance
127 br->root_path_cost = 0; in br_root_selection()131 br->root_path_cost = p->designated_cost + p->path_cost; in br_root_selection()163 bpdu.root_path_cost = br->root_path_cost; in br_transmit_config()192 p->designated_cost = bpdu->root_path_cost; in br_record_config_information()228 if (br->root_path_cost < p->designated_cost) in br_should_become_designated_port()230 else if (br->root_path_cost > p->designated_cost) in br_should_become_designated_port()271 if (bpdu->root_path_cost < p->designated_cost) in br_supersedes_port_info()273 else if (bpdu->root_path_cost > p->designated_cost) in br_supersedes_port_info()352 p->designated_cost = br->root_path_cost; in br_become_designated_port()
97 buf[16] = (bpdu->root_path_cost >> 24) & 0xFF; in br_send_config_bpdu()98 buf[17] = (bpdu->root_path_cost >> 16) & 0xFF; in br_send_config_bpdu()99 buf[18] = (bpdu->root_path_cost >> 8) & 0xFF; in br_send_config_bpdu()100 buf[19] = bpdu->root_path_cost & 0xFF; in br_send_config_bpdu()169 bpdu.root_path_cost = in br_stp_handle_bpdu()
26 int root_path_cost; member
60 b.root_path_cost = br->root_path_cost; in br_ioctl_device()
92 int root_path_cost; member
106 br->root_path_cost = 0; in new_nb()
52 __u32 root_path_cost; member