Home
last modified time | relevance | path

Searched refs:designated_cost (Results 1 – 4 of 4) sorted by relevance

/net/bridge/
Dbr_stp.c79 if (p->designated_cost + p->path_cost < in br_should_become_root_port()
80 rp->designated_cost + rp->path_cost) in br_should_become_root_port()
82 else if (p->designated_cost + p->path_cost > in br_should_become_root_port()
83 rp->designated_cost + rp->path_cost) in br_should_become_root_port()
142 br->root_path_cost = p->designated_cost + p->path_cost; in br_root_selection()
206 p->designated_cost = bpdu->root_path_cost; in br_record_config_information()
251 if (br->root_path_cost < p->designated_cost) in br_should_become_designated_port()
253 else if (br->root_path_cost > p->designated_cost) in br_should_become_designated_port()
293 if (bpdu->root_path_cost < p->designated_cost) in br_supersedes_port_info()
295 else if (bpdu->root_path_cost > p->designated_cost) in br_supersedes_port_info()
[all …]
Dbr_sysfs_if.c95 return sprintf(buf, "%d\n", p->designated_cost); in show_designated_cost()
97 static BRPORT_ATTR(designated_cost, S_IRUGO, show_designated_cost, NULL);
Dbr_ioctl.c223 p.designated_cost = pt->designated_cost; in old_dev_ioctl()
Dbr_private.h145 u32 designated_cost; member