Home
last modified time | relevance | path

Searched refs:designated_bridge (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/net/bridge/
H A Dbr_stp_if.c239 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 Dbr_stp.c135 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 Dbr_stp_timer.c23 !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 Dbr_private_stp.h44 return !memcmp(&p->designated_bridge, &p->br->bridge_id, 8) && in br_is_designated_port()
H A Dbr_ioctl.c259 memcpy(&p.designated_bridge, &pt->designated_bridge, 8); in br_dev_siocdevprivate()
H A Dbr_sysfs_if.c108 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 Dbr_private.h401 bridge_id designated_bridge; member
H A Dbr_netlink.c264 &p->designated_bridge) || in br_port_fill_attrs()
/openbmc/linux/include/uapi/linux/
H A Dif_bridge.h79 __u64 designated_bridge; member