Home
last modified time | relevance | path

Searched refs:bridge_id (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/net/bridge/
Dbr_stp_bpdu.c108 buf[17] = bpdu->bridge_id.prio[0]; in br_send_config_bpdu()
109 buf[18] = bpdu->bridge_id.prio[1]; in br_send_config_bpdu()
110 buf[19] = bpdu->bridge_id.addr[0]; in br_send_config_bpdu()
111 buf[20] = bpdu->bridge_id.addr[1]; in br_send_config_bpdu()
112 buf[21] = bpdu->bridge_id.addr[2]; in br_send_config_bpdu()
113 buf[22] = bpdu->bridge_id.addr[3]; in br_send_config_bpdu()
114 buf[23] = bpdu->bridge_id.addr[4]; in br_send_config_bpdu()
115 buf[24] = bpdu->bridge_id.addr[5]; in br_send_config_bpdu()
214 bpdu.bridge_id.prio[0] = buf[14]; in br_stp_rcv()
215 bpdu.bridge_id.prio[1] = buf[15]; in br_stp_rcv()
[all …]
Dbr_private_stp.h35 bridge_id root;
37 bridge_id bridge_id; member
48 return !memcmp(&p->designated_bridge, &p->br->bridge_id, 8) && in br_is_designated_port()
Dbr_stp_if.c228 memcpy(oldaddr, br->bridge_id.addr, ETH_ALEN); in br_stp_change_bridge_id()
229 memcpy(br->bridge_id.addr, addr, ETH_ALEN); in br_stp_change_bridge_id()
268 if (ether_addr_equal(br->bridge_id.addr, addr)) in br_stp_recalculate_bridge_id()
293 br->bridge_id.prio[0] = (newprio >> 8) & 0xFF; in br_stp_set_bridge_priority()
294 br->bridge_id.prio[1] = newprio & 0xFF; in br_stp_set_bridge_priority()
316 if (!memcmp(&p->br->bridge_id, &p->designated_bridge, 8) && in br_stp_set_port_priority()
339 ssize_t br_show_bridge_id(char *buf, const struct bridge_id *id) in br_show_bridge_id()
Dbr_stp.c80 if (memcmp(&br->bridge_id, &p->designated_root, 8) <= 0) in br_should_become_root_port()
151 br->designated_root = br->bridge_id; in br_root_selection()
192 bpdu.bridge_id = br->bridge_id; in br_transmit_config()
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()
319 if (memcmp(&bpdu->bridge_id, &p->br->bridge_id, 8)) in br_supersedes_port_info()
391 p->designated_bridge = br->bridge_id; in br_become_designated_port()
Dbr_private.h53 typedef struct bridge_id bridge_id; typedef
57 struct bridge_id struct
250 bridge_id designated_root;
251 bridge_id designated_bridge;
341 bridge_id designated_root;
342 bridge_id bridge_id; member
467 return !memcmp(&br->bridge_id, &br->designated_root, 8); in br_is_root_bridge()
1089 ssize_t br_show_bridge_id(char *buf, const struct bridge_id *id);
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_device.c431 br->bridge_id.prio[0] = 0x80; in br_dev_setup()
432 br->bridge_id.prio[1] = 0x00; in br_dev_setup()
440 br->designated_root = br->bridge_id; in br_dev_setup()
Dbr_ioctl.c135 memcpy(&b.bridge_id, &br->bridge_id, 8); in old_dev_ioctl()
Dbr_sysfs_br.c178 (br->bridge_id.prio[0] << 8) | br->bridge_id.prio[1]); in priority_show()
204 return br_show_bridge_id(buf, &to_bridge(d)->bridge_id); in bridge_id_show()
206 static DEVICE_ATTR_RO(bridge_id);
Dbr_netlink.c1378 u16 priority = (br->bridge_id.prio[0] << 8) | br->bridge_id.prio[1]; in br_fill_info()
1405 &br->bridge_id) || in br_fill_info()
/Linux-v4.19/include/linux/
Dagpgart.h37 u32 bridge_id; /* bridge vendor/device */ member
/Linux-v4.19/include/uapi/linux/
Dagpgart.h64 __u32 bridge_id; /* bridge vendor/device */ member
Dif_bridge.h57 __u64 bridge_id; member
/Linux-v4.19/drivers/char/agp/
Dcompat_ioctl.h46 u32 bridge_id; /* bridge vendor/device */ member
Dcompat_ioctl.c47 userinfo.bridge_id = kerninfo.device->vendor | in compat_agpioc_info_wrap()
Dfrontend.c723 userinfo.bridge_id = kerninfo.device->vendor | in agpioc_info_wrap()