Searched refs:root_path_cost (Results 1 – 8 of 8) sorted by relevance
155 br->root_path_cost = 0; in br_root_selection()159 br->root_path_cost = p->designated_cost + p->path_cost; in br_root_selection()194 bpdu.root_path_cost = br->root_path_cost; in br_transmit_config()224 p->designated_cost = bpdu->root_path_cost; in br_record_config_information()269 if (br->root_path_cost < p->designated_cost) in br_should_become_designated_port()271 else if (br->root_path_cost > p->designated_cost) in br_should_become_designated_port()311 if (bpdu->root_path_cost < p->designated_cost) in br_supersedes_port_info()313 else if (bpdu->root_path_cost > p->designated_cost) in br_supersedes_port_info()393 p->designated_cost = br->root_path_cost; in br_become_designated_port()
104 buf[13] = (bpdu->root_path_cost >> 24) & 0xFF; in br_send_config_bpdu()105 buf[14] = (bpdu->root_path_cost >> 16) & 0xFF; in br_send_config_bpdu()106 buf[15] = (bpdu->root_path_cost >> 8) & 0xFF; in br_send_config_bpdu()107 buf[16] = bpdu->root_path_cost & 0xFF; in br_send_config_bpdu()209 bpdu.root_path_cost = in br_stp_rcv()
36 int root_path_cost; member
134 b.root_path_cost = br->root_path_cost; in old_dev_ioctl()
235 return sprintf(buf, "%d\n", to_bridge(d)->root_path_cost); in root_path_cost_show()237 static DEVICE_ATTR_RO(root_path_cost);
276 u32 root_path_cost; member
1158 nla_put_u32(skb, IFLA_BR_ROOT_PATH_COST, br->root_path_cost) || in br_fill_info()
57 __u32 root_path_cost; member