Searched refs:designated_bridge (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/net/bridge/ |
H A D | br_stp_if.c | 239 if (ether_addr_equal(p->designated_bridge.addr, oldaddr)) in br_stp_change_bridge_id() 240 memcpy(p->designated_bridge.addr, addr, ETH_ALEN); in br_stp_change_bridge_id() 293 p->designated_bridge.prio[0] = (newprio >> 8) & 0xFF; in br_stp_set_bridge_priority() 294 p->designated_bridge.prio[1] = newprio & 0xFF; in br_stp_set_bridge_priority() 322 if (!memcmp(&p->br->bridge_id, &p->designated_bridge, 8) && in br_stp_set_port_priority()
|
H A D | br_stp.c | 135 t = memcmp(&p->designated_bridge, &rp->designated_bridge, 8); in br_should_become_root_port() 256 p->designated_bridge = bpdu->bridge_id; in br_record_config_information() 305 t = memcmp(&br->bridge_id, &p->designated_bridge, 8); in br_should_become_designated_port() 347 t = memcmp(&bpdu->bridge_id, &p->designated_bridge, 8); in br_supersedes_port_info() 425 p->designated_bridge = br->bridge_id; in br_become_designated_port()
|
H A D | br_stp_timer.c | 23 !memcmp(&p->designated_bridge, &br->bridge_id, 8)) in br_is_designated_for_some_port() 50 const bridge_id *id = &p->designated_bridge; in br_message_age_timer_expired()
|
H A D | br_private_stp.h | 44 return !memcmp(&p->designated_bridge, &p->br->bridge_id, 8) && in br_is_designated_port()
|
H A D | br_ioctl.c | 259 memcpy(&p.designated_bridge, &pt->designated_bridge, 8); in br_dev_siocdevprivate()
|
H A D | br_sysfs_if.c | 108 return br_show_bridge_id(buf, &p->designated_bridge); in show_designated_bridge() 110 static BRPORT_ATTR(designated_bridge, 0444, show_designated_bridge, NULL);
|
H A D | br_private.h | 401 bridge_id designated_bridge; member
|
H A D | br_netlink.c | 264 &p->designated_bridge) || in br_port_fill_attrs()
|
/openbmc/linux/include/uapi/linux/ |
H A D | if_bridge.h | 79 __u64 designated_bridge; member
|