Lines Matching refs:designated_cost
128 if (p->designated_cost + p->path_cost <
129 rp->designated_cost + rp->path_cost)
131 else if (p->designated_cost + p->path_cost >
132 rp->designated_cost + rp->path_cost)
190 br->root_path_cost = p->designated_cost + p->path_cost;
255 p->designated_cost = bpdu->root_path_cost;
300 if (br->root_path_cost < p->designated_cost)
302 else if (br->root_path_cost > p->designated_cost)
342 if (bpdu->root_path_cost < p->designated_cost)
344 else if (bpdu->root_path_cost > p->designated_cost)
424 p->designated_cost = br->root_path_cost;