Searched refs:designated_bridge (Results 1 – 8 of 8) sorted by relevance
/net/bridge/ |
D | br_stp_if.c | 250 if (ether_addr_equal(p->designated_bridge.addr, oldaddr)) in br_stp_change_bridge_id() 251 memcpy(p->designated_bridge.addr, addr, ETH_ALEN); in br_stp_change_bridge_id() 304 p->designated_bridge.prio[0] = (newprio >> 8) & 0xFF; in br_stp_set_bridge_priority() 305 p->designated_bridge.prio[1] = newprio & 0xFF; in br_stp_set_bridge_priority() 333 if (!memcmp(&p->br->bridge_id, &p->designated_bridge, 8) && in br_stp_set_port_priority()
|
D | br_stp.c | 101 t = memcmp(&p->designated_bridge, &rp->designated_bridge, 8); in br_should_become_root_port() 222 p->designated_bridge = bpdu->bridge_id; in br_record_config_information() 271 t = memcmp(&br->bridge_id, &p->designated_bridge, 8); in br_should_become_designated_port() 313 t = memcmp(&bpdu->bridge_id, &p->designated_bridge, 8); in br_supersedes_port_info() 391 p->designated_bridge = br->bridge_id; in br_become_designated_port()
|
D | br_stp_timer.c | 27 !memcmp(&p->designated_bridge, &br->bridge_id, 8)) in br_is_designated_for_some_port() 54 const bridge_id *id = &p->designated_bridge; in br_message_age_timer_expired()
|
D | br_private_stp.h | 48 return !memcmp(&p->designated_bridge, &p->br->bridge_id, 8) && in br_is_designated_port()
|
D | br_sysfs_if.c | 92 return br_show_bridge_id(buf, &p->designated_bridge); in show_designated_bridge() 94 static BRPORT_ATTR(designated_bridge, S_IRUGO, show_designated_bridge, NULL);
|
D | br_ioctl.c | 225 memcpy(&p.designated_bridge, &pt->designated_bridge, 8); in old_dev_ioctl()
|
D | br_private.h | 219 bridge_id designated_bridge; member
|
D | br_netlink.c | 187 &p->designated_bridge) || in br_port_fill_attrs()
|