Lines Matching refs:bpdu_packet
68 static RSTP_BPDU_T bpdu_packet = { variable
102 STP_OUT_get_port_mac (port_index, bpdu_packet.mac.src_mac); in build_bpdu_header()
104 bpdu_packet.hdr.bpdu_type = bpdu_type; in build_bpdu_header()
105 bpdu_packet.hdr.version = (BPDU_RSTP == bpdu_type) ? in build_bpdu_header()
111 (void) memcpy (&bpdu_packet.eth.len8023, &len8023, 2); in build_bpdu_header()
146 (unsigned char *) &bpdu_packet, in txTcn()
153 bpdu_packet.body.flags = 0; in build_config_bpdu()
160 bpdu_packet.body.flags |= TOPOLOGY_CHANGE_BIT; in build_config_bpdu()
164 bpdu_packet.body.flags |= TOPOLOGY_CHANGE_ACK_BIT; in build_config_bpdu()
167 STP_VECT_set_vector (&port->portPrio, &bpdu_packet.body); in build_config_bpdu()
168 STP_set_times (&port->portTimes, &bpdu_packet.body); in build_config_bpdu()
202 (unsigned long) bpdu_packet.body.flags); in txConfig()
205 (unsigned char *) &bpdu_packet, in txConfig()
260 bpdu_packet.body.flags |= (role << PORT_ROLE_OFFS); in txRstp()
267 bpdu_packet.body.flags |= AGREEMENT_BIT; in txRstp()
275 bpdu_packet.body.flags |= PROPOSAL_BIT; in txRstp()
282 (unsigned long) bpdu_packet.body.flags); in txRstp()
286 (unsigned char *) &bpdu_packet, in txRstp()