Searched refs:designated_root (Results 1 – 8 of 8) sorted by relevance
/net/bridge/ |
D | br_stp.c | 80 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()
|
D | br_ioctl.c | 134 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()
|
D | br_sysfs_if.c | 86 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);
|
D | br_stp_if.c | 253 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()
|
D | br_private.h | 218 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()
|
D | br_device.c | 412 br->designated_root = br->bridge_id; in br_dev_setup()
|
D | br_netlink.c | 185 &p->designated_root) || in br_port_fill_attrs() 1200 &br->designated_root) || in br_fill_info()
|
D | br_sysfs_br.c | 196 return br_show_bridge_id(buf, &to_bridge(d)->designated_root); in root_id_show()
|