Searched refs:bridge_id (Results 1 – 11 of 11) sorted by relevance
/linux-2.4.37.9/net/bridge/ |
D | br_stp_bpdu.c | 101 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 …]
|
D | br_private.h | 28 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
|
D | br_stp.c | 31 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()
|
D | br_private_stp.h | 25 bridge_id root; 27 bridge_id bridge_id; member
|
D | br_stp_if.c | 132 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()
|
D | br_if.c | 100 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()
|
D | br_stp_timer.c | 23 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()
|
D | br_ioctl.c | 59 memcpy(&b.bridge_id, &br->bridge_id, 8); in br_ioctl_device()
|
/linux-2.4.37.9/include/linux/ |
D | agpgart.h | 63 __u32 bridge_id; /* bridge vendor/device */ member 129 u32 bridge_id; /* bridge vendor/device */ member
|
D | if_bridge.h | 51 __u64 bridge_id; member
|
/linux-2.4.37.9/drivers/char/agp/ |
D | agpgart_fe.c | 773 userinfo.bridge_id = kerninfo.device->vendor | in agpioc_info_wrap()
|