Searched refs:designated_cost (Results 1 – 6 of 6) sorted by relevance
108 if (p->designated_cost + p->path_cost < in br_should_become_root_port()109 rp->designated_cost + rp->path_cost) in br_should_become_root_port()111 else if (p->designated_cost + p->path_cost > in br_should_become_root_port()112 rp->designated_cost + rp->path_cost) in br_should_become_root_port()170 br->root_path_cost = p->designated_cost + p->path_cost; in br_root_selection()235 p->designated_cost = bpdu->root_path_cost; in br_record_config_information()280 if (br->root_path_cost < p->designated_cost) in br_should_become_designated_port()282 else if (br->root_path_cost > p->designated_cost) in br_should_become_designated_port()322 if (bpdu->root_path_cost < p->designated_cost) in br_supersedes_port_info()324 else if (bpdu->root_path_cost > p->designated_cost) in br_supersedes_port_info()[all …]
225 p.designated_cost = pt->designated_cost; in old_dev_ioctl()
110 return sprintf(buf, "%d\n", p->designated_cost); in show_designated_cost()112 static BRPORT_ATTR(designated_cost, 0444, show_designated_cost, NULL);
305 u32 designated_cost; member
207 nla_put_u16(skb, IFLA_BRPORT_DESIGNATED_COST, p->designated_cost) || in br_port_fill_attrs()
83 __u32 designated_cost; member