Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/librstp/common/
H A Dtransmit.c68 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()
[all …]