Searched refs:bpdu (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/librstp/common/
H A Dportinfo.h35 STP_info_rx_bpdu (PORT_T* this, struct stp_bpdu_t* bpdu, size_t len);
H A Dportinfo.c260 STP_info_rx_bpdu (PORT_T* port, struct stp_bpdu_t* bpdu, size_t len) argument
263 _stp_dump ("\nall BPDU", ((unsigned char*) bpdu) - 12, len + 12);
264 _stp_dump ("ETH_HEADER", (unsigned char*) &bpdu->eth, 5);
265 _stp_dump ("BPDU_HEADER", (unsigned char*) &bpdu->hdr, 4);
267 bpdu->hdr.protocol[0], bpdu->hdr.protocol[1],
268 bpdu->hdr.version, bpdu->hdr.bpdu_type);
270 _stp_dump ("\nBPDU_BODY", (unsigned char*) &bpdu->body, sizeof (BPDU_BODY_T) + 2);
271 stp_trace ("flags=%02x\n", bpdu
[all...]
H A Dstp_in.h219 STP_IN_check_bpdu_header (BPDU_T* bpdu, size_t len);
222 STP_IN_rx_bpdu (int vlan_id, int port_index, BPDU_T* bpdu, size_t len);
H A Dstp_vectors.h70 IN unsigned char* bpdu,
H A Dstp_in.c557 STP_IN_check_bpdu_header (BPDU_T* bpdu, size_t len) argument
562 len8023 = ntohs (*(unsigned short*) bpdu->eth.len8023);
575 if (bpdu->eth.dsap != BPDU_L_SAP ||
576 bpdu->eth.ssap != BPDU_L_SAP ||
577 bpdu->eth.llc != LLC_UI) {
582 if (bpdu->hdr.protocol[0] || bpdu->hdr.protocol[1]) {
587 if (bpdu->hdr.version != BPDU_VERSION_ID) {
601 STP_IN_rx_bpdu (int vlan_id, int port_index, BPDU_T* bpdu, size_t len) argument
628 stp_trace ("RX bpdu vlan_i
[all...]
H A Dport.h171 STP_port_rx_bpdu (PORT_T* this, BPDU_T* bpdu, size_t len);
H A Dport.c197 STP_port_rx_bpdu (PORT_T* this, BPDU_T* bpdu, size_t len) argument
199 STP_info_rx_bpdu (this, bpdu, len);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Drstp.c235 tx_bpdu(int port_index, int vlan_id, unsigned char *bpdu, size_t bpdu_len) argument
244 rc = dlpi_send(pdp->dlpi, NULL, 0, bpdu, bpdu_len, NULL);

Completed in 50 milliseconds