Home
last modified time | relevance | path

Searched refs:designated_root (Results 1 – 8 of 8) sorted by relevance

/net/bridge/
Dbr_stp.c80 if (memcmp(&br->bridge_id, &p->designated_root, 8) <= 0) in br_should_become_root_port()
88 t = memcmp(&p->designated_root, &rp->designated_root, 8); in br_should_become_root_port()
151 br->designated_root = br->bridge_id; in br_root_selection()
155 br->designated_root = p->designated_root; in br_root_selection()
190 bpdu.root = br->designated_root; in br_transmit_config()
220 p->designated_root = bpdu->root; in br_record_config_information()
263 if (memcmp(&p->designated_root, &br->designated_root, 8)) in br_should_become_designated_port()
302 t = memcmp(&bpdu->root, &p->designated_root, 8); in br_supersedes_port_info()
389 p->designated_root = br->designated_root; in br_become_designated_port()
Dbr_ioctl.c134 memcpy(&b.designated_root, &br->designated_root, 8); in old_dev_ioctl()
224 memcpy(&p.designated_root, &pt->designated_root, 8); in old_dev_ioctl()
Dbr_sysfs_if.c86 return br_show_bridge_id(buf, &p->designated_root); in show_designated_root()
88 static BRPORT_ATTR(designated_root, S_IRUGO, show_designated_root, NULL);
Dbr_stp_if.c253 if (ether_addr_equal(p->designated_root.addr, oldaddr)) in br_stp_change_bridge_id()
254 memcpy(p->designated_root.addr, addr, ETH_ALEN); in br_stp_change_bridge_id()
Dbr_private.h218 bridge_id designated_root; member
297 bridge_id designated_root; member
424 return !memcmp(&br->bridge_id, &br->designated_root, 8); in br_is_root_bridge()
Dbr_device.c412 br->designated_root = br->bridge_id; in br_dev_setup()
Dbr_netlink.c185 &p->designated_root) || in br_port_fill_attrs()
1200 &br->designated_root) || in br_fill_info()
Dbr_sysfs_br.c196 return br_show_bridge_id(buf, &to_bridge(d)->designated_root); in root_id_show()