Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/bridge/
Dbr_stp_bpdu.c101 buf[20] = bpdu->bridge_id.prio[0]; in br_send_config_bpdu()
102 buf[21] = bpdu->bridge_id.prio[1]; in br_send_config_bpdu()
103 buf[22] = bpdu->bridge_id.addr[0]; in br_send_config_bpdu()
104 buf[23] = bpdu->bridge_id.addr[1]; in br_send_config_bpdu()
105 buf[24] = bpdu->bridge_id.addr[2]; in br_send_config_bpdu()
106 buf[25] = bpdu->bridge_id.addr[3]; in br_send_config_bpdu()
107 buf[26] = bpdu->bridge_id.addr[4]; in br_send_config_bpdu()
108 buf[27] = bpdu->bridge_id.addr[5]; in br_send_config_bpdu()
174 bpdu.bridge_id.prio[0] = buf[14]; in br_stp_handle_bpdu()
175 bpdu.bridge_id.prio[1] = buf[15]; in br_stp_handle_bpdu()
[all …]
Dbr_private.h28 typedef struct bridge_id bridge_id; typedef
32 struct bridge_id struct
67 bridge_id designated_root;
69 bridge_id designated_bridge;
91 bridge_id designated_root;
97 bridge_id bridge_id; member
Dbr_stp.c31 return !memcmp(&br->bridge_id, &br->designated_root, 8); in br_is_root_bridge()
37 return !memcmp(&p->designated_bridge, &p->br->bridge_id, 8) && in br_is_designated_port()
69 if (memcmp(&br->bridge_id, &p->designated_root, 8) <= 0) in br_should_become_root_port()
126 br->designated_root = br->bridge_id; in br_root_selection()
164 bpdu.bridge_id = br->bridge_id; in br_transmit_config()
193 p->designated_bridge = bpdu->bridge_id; in br_record_config_information()
233 t = memcmp(&br->bridge_id, &p->designated_bridge, 8); in br_should_become_designated_port()
276 t = memcmp(&bpdu->bridge_id, &p->designated_bridge, 8); in br_supersedes_port_info()
282 if (memcmp(&bpdu->bridge_id, &p->br->bridge_id, 8)) in br_supersedes_port_info()
353 p->designated_bridge = br->bridge_id; in br_become_designated_port()
Dbr_private_stp.h25 bridge_id root;
27 bridge_id bridge_id; member
Dbr_stp_if.c132 memcpy(oldaddr, br->bridge_id.addr, ETH_ALEN); in br_stp_change_bridge_id()
133 memcpy(br->bridge_id.addr, addr, ETH_ALEN); in br_stp_change_bridge_id()
172 if (memcmp(br->bridge_id.addr, addr, ETH_ALEN)) in br_stp_recalculate_bridge_id()
195 br->bridge_id.prio[0] = (newprio >> 8) & 0xFF; in br_stp_set_bridge_priority()
196 br->bridge_id.prio[1] = newprio & 0xFF; in br_stp_set_bridge_priority()
215 if (!memcmp(&p->br->bridge_id, &p->designated_bridge, 8) && in br_stp_set_port_priority()
Dbr_if.c100 br->bridge_id.prio[0] = 0x80; in new_nb()
101 br->bridge_id.prio[1] = 0x00; in new_nb()
102 memset(br->bridge_id.addr, 0, ETH_ALEN); in new_nb()
105 br->designated_root = br->bridge_id; in new_nb()
Dbr_stp_timer.c23 static void dump_bridge_id(bridge_id *id) in dump_bridge_id()
38 !memcmp(&p->designated_bridge, &br->bridge_id, 8)) in br_is_designated_for_some_port()
Dbr_ioctl.c59 memcpy(&b.bridge_id, &br->bridge_id, 8); in br_ioctl_device()
/linux-2.4.37.9/include/linux/
Dagpgart.h63 __u32 bridge_id; /* bridge vendor/device */ member
129 u32 bridge_id; /* bridge vendor/device */ member
Dif_bridge.h51 __u64 bridge_id; member
/linux-2.4.37.9/drivers/char/agp/
Dagpgart_fe.c773 userinfo.bridge_id = kerninfo.device->vendor | in agpioc_info_wrap()