Searched refs:designated_root (Results 1 – 7 of 7) sorted by relevance
/net/bridge/ |
D | br_stp.c | 65 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()
|
D | br_ioctl.c | 131 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()
|
D | br_stp_if.c | 197 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()
|
D | br_sysfs_if.c | 77 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);
|
D | br_private.h | 142 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()
|
D | br_device.c | 370 br->designated_root = br->bridge_id; in br_dev_setup()
|
D | br_sysfs_br.c | 210 return br_show_bridge_id(buf, &to_bridge(d)->designated_root); in show_root_id()
|