Home
last modified time | relevance | path

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

/linux-6.1.9/net/bridge/
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()
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()
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()
Dbr_private_stp.h44 return !memcmp(&p->designated_bridge, &p->br->bridge_id, 8) && in br_is_designated_port()
Dbr_ioctl.c259 memcpy(&p.designated_bridge, &pt->designated_bridge, 8); in br_dev_siocdevprivate()
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);
Dbr_private.h377 bridge_id designated_bridge; member
Dbr_netlink.c259 &p->designated_bridge) || in br_port_fill_attrs()
/linux-6.1.9/include/uapi/linux/
Dif_bridge.h79 __u64 designated_bridge; member