Searched refs:bpdu (Results 1 – 3 of 3) sorted by relevance
76 void br_send_config_bpdu(struct net_bridge_port *p, struct br_config_bpdu *bpdu) in br_send_config_bpdu() argument87 buf[7] = (bpdu->topology_change ? 0x01 : 0) | in br_send_config_bpdu()88 (bpdu->topology_change_ack ? 0x80 : 0); in br_send_config_bpdu()89 buf[8] = bpdu->root.prio[0]; in br_send_config_bpdu()90 buf[9] = bpdu->root.prio[1]; in br_send_config_bpdu()91 buf[10] = bpdu->root.addr[0]; in br_send_config_bpdu()92 buf[11] = bpdu->root.addr[1]; in br_send_config_bpdu()93 buf[12] = bpdu->root.addr[2]; in br_send_config_bpdu()94 buf[13] = bpdu->root.addr[3]; in br_send_config_bpdu()95 buf[14] = bpdu->root.addr[4]; in br_send_config_bpdu()[all …]
150 struct br_config_bpdu bpdu; in br_transmit_config() local160 bpdu.topology_change = br->topology_change; in br_transmit_config()161 bpdu.topology_change_ack = p->topology_change_ack; in br_transmit_config()162 bpdu.root = br->designated_root; in br_transmit_config()163 bpdu.root_path_cost = br->root_path_cost; in br_transmit_config()164 bpdu.bridge_id = br->bridge_id; in br_transmit_config()165 bpdu.port_id = p->port_id; in br_transmit_config()167 bpdu.message_age = 0; in br_transmit_config()172 bpdu.message_age = br_timer_get_residue(&root->message_age_timer) in br_transmit_config()175 bpdu.max_age = br->max_age; in br_transmit_config()[all …]
42 extern void br_received_config_bpdu(struct net_bridge_port *p, struct br_config_bpdu *bpdu);