Searched refs:path_cost (Results 1 – 6 of 6) sorted by relevance
83 if (p->designated_cost + p->path_cost < in br_should_become_root_port()84 rp->designated_cost + rp->path_cost) in br_should_become_root_port()86 else if (p->designated_cost + p->path_cost > in br_should_become_root_port()87 rp->designated_cost + rp->path_cost) in br_should_become_root_port()131 br->root_path_cost = p->designated_cost + p->path_cost; in br_root_selection()
223 void br_stp_set_path_cost(struct net_bridge_port *p, int path_cost) in br_stp_set_path_cost() argument225 p->path_cost = path_cost; in br_stp_set_path_cost()
66 int path_cost; member197 int path_cost);
138 p.path_cost = pt->path_cost; in br_ioctl_device()
136 p->path_cost = br_initial_port_cost(dev); in new_nbp()
77 __u32 path_cost; member