Home
last modified time | relevance | path

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

/net/bridge/
Dbr_stp_if.c250 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()
Dbr_stp.c101 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()
Dbr_stp_timer.c27 !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()
Dbr_private_stp.h48 return !memcmp(&p->designated_bridge, &p->br->bridge_id, 8) && in br_is_designated_port()
Dbr_sysfs_if.c92 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);
Dbr_ioctl.c225 memcpy(&p.designated_bridge, &pt->designated_bridge, 8); in old_dev_ioctl()
Dbr_private.h219 bridge_id designated_bridge; member
Dbr_netlink.c187 &p->designated_bridge) || in br_port_fill_attrs()