Home
last modified time | relevance | path

Searched refs:path_cost (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/net/bridge/
Dbr_stp.c83 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()
Dbr_stp_if.c223 void br_stp_set_path_cost(struct net_bridge_port *p, int path_cost) in br_stp_set_path_cost() argument
225 p->path_cost = path_cost; in br_stp_set_path_cost()
Dbr_private.h66 int path_cost; member
197 int path_cost);
Dbr_ioctl.c138 p.path_cost = pt->path_cost; in br_ioctl_device()
Dbr_if.c136 p->path_cost = br_initial_port_cost(dev); in new_nbp()
/linux-2.4.37.9/include/linux/
Dif_bridge.h77 __u32 path_cost; member