Home
last modified time | relevance | path

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

/net/bridge/
Dbr_stp.c65 if (memcmp(&br->bridge_id, &p->designated_root, 8) <= 0) in br_should_become_root_port()
73 t = memcmp(&p->designated_root, &rp->designated_root, 8); in br_should_become_root_port()
137 br->designated_root = br->bridge_id; in br_root_selection()
141 br->designated_root = p->designated_root; in br_root_selection()
176 bpdu.root = br->designated_root; in br_transmit_config()
205 p->designated_root = bpdu->root; in br_record_config_information()
248 if (memcmp(&p->designated_root, &br->designated_root, 8)) in br_should_become_designated_port()
287 t = memcmp(&bpdu->root, &p->designated_root, 8); in br_supersedes_port_info()
374 p->designated_root = br->designated_root; in br_become_designated_port()
Dbr_ioctl.c131 memcpy(&b.designated_root, &br->designated_root, 8); in old_dev_ioctl()
218 memcpy(&p.designated_root, &pt->designated_root, 8); in old_dev_ioctl()
Dbr_stp_if.c197 if (ether_addr_equal(p->designated_root.addr, oldaddr)) in br_stp_change_bridge_id()
198 memcpy(p->designated_root.addr, addr, ETH_ALEN); in br_stp_change_bridge_id()
Dbr_sysfs_if.c77 return br_show_bridge_id(buf, &p->designated_root); in show_designated_root()
79 static BRPORT_ATTR(designated_root, S_IRUGO, show_designated_root, NULL);
Dbr_private.h142 bridge_id designated_root; member
224 bridge_id designated_root; member
323 return !memcmp(&br->bridge_id, &br->designated_root, 8); in br_is_root_bridge()
Dbr_device.c370 br->designated_root = br->bridge_id; in br_dev_setup()
Dbr_sysfs_br.c210 return br_show_bridge_id(buf, &to_bridge(d)->designated_root); in show_root_id()