Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/bridge/
A Dbr_stp.c128 if (p->designated_cost + p->path_cost < in br_should_become_root_port()
129 rp->designated_cost + rp->path_cost) in br_should_become_root_port()
131 else if (p->designated_cost + p->path_cost > in br_should_become_root_port()
132 rp->designated_cost + rp->path_cost) in br_should_become_root_port()
190 br->root_path_cost = p->designated_cost + p->path_cost; in br_root_selection()
255 p->designated_cost = bpdu->root_path_cost; in br_record_config_information()
300 if (br->root_path_cost < p->designated_cost) in br_should_become_designated_port()
302 else if (br->root_path_cost > p->designated_cost) in br_should_become_designated_port()
342 if (bpdu->root_path_cost < p->designated_cost) in br_supersedes_port_info()
344 else if (bpdu->root_path_cost > p->designated_cost) in br_supersedes_port_info()
[all …]
A Dbr_ioctl.c263 p.designated_cost = pt->designated_cost; in br_dev_siocdevprivate()
A Dbr_sysfs_if.c120 return sprintf(buf, "%d\n", p->designated_cost); in show_designated_cost()
122 static BRPORT_ATTR(designated_cost, 0444, show_designated_cost, NULL);
A Dbr_private.h400 u32 designated_cost; member
A Dbr_netlink.c264 nla_put_u16(skb, IFLA_BRPORT_DESIGNATED_COST, p->designated_cost) || in br_port_fill_attrs()
/linux-6.3-rc2/include/uapi/linux/
A Dif_bridge.h83 __u32 designated_cost; member

Completed in 20 milliseconds