Lines Matching refs:designated_cost
108 if (p->designated_cost + p->path_cost <
109 rp->designated_cost + rp->path_cost)
111 else if (p->designated_cost + p->path_cost >
112 rp->designated_cost + rp->path_cost)
170 br->root_path_cost = p->designated_cost + p->path_cost;
235 p->designated_cost = bpdu->root_path_cost;
280 if (br->root_path_cost < p->designated_cost)
282 else if (br->root_path_cost > p->designated_cost)
322 if (bpdu->root_path_cost < p->designated_cost)
324 else if (bpdu->root_path_cost > p->designated_cost)
404 p->designated_cost = br->root_path_cost;