Searched refs:bpdu (Results 1 – 8 of 8) sorted by relevance
/titanic_44/usr/src/lib/librstp/common/ |
H A D | portinfo.c | 260 STP_info_rx_bpdu (PORT_T* port, struct stp_bpdu_t* bpdu, size_t len) in STP_info_rx_bpdu() argument 263 _stp_dump ("\nall BPDU", ((unsigned char*) bpdu) - 12, len + 12); in STP_info_rx_bpdu() 264 _stp_dump ("ETH_HEADER", (unsigned char*) &bpdu->eth, 5); in STP_info_rx_bpdu() 265 _stp_dump ("BPDU_HEADER", (unsigned char*) &bpdu->hdr, 4); in STP_info_rx_bpdu() 267 bpdu->hdr.protocol[0], bpdu->hdr.protocol[1], in STP_info_rx_bpdu() 268 bpdu->hdr.version, bpdu->hdr.bpdu_type); in STP_info_rx_bpdu() 270 _stp_dump ("\nBPDU_BODY", (unsigned char*) &bpdu->body, sizeof (BPDU_BODY_T) + 2); in STP_info_rx_bpdu() 271 stp_trace ("flags=%02x\n", bpdu->body.flags); in STP_info_rx_bpdu() 272 _stp_dump ("root_id", bpdu->body.root_id, 8); in STP_info_rx_bpdu() 273 _stp_dump ("root_path_cost", bpdu->body.root_path_cost, 4); in STP_info_rx_bpdu() [all …]
|
H A D | stp_in.c | 557 STP_IN_check_bpdu_header (BPDU_T* bpdu, size_t len) in STP_IN_check_bpdu_header() argument 562 len8023 = ntohs (*(unsigned short*) bpdu->eth.len8023); in STP_IN_check_bpdu_header() 575 if (bpdu->eth.dsap != BPDU_L_SAP || in STP_IN_check_bpdu_header() 576 bpdu->eth.ssap != BPDU_L_SAP || in STP_IN_check_bpdu_header() 577 bpdu->eth.llc != LLC_UI) { in STP_IN_check_bpdu_header() 582 if (bpdu->hdr.protocol[0] || bpdu->hdr.protocol[1]) { in STP_IN_check_bpdu_header() 587 if (bpdu->hdr.version != BPDU_VERSION_ID) { in STP_IN_check_bpdu_header() 601 STP_IN_rx_bpdu (int vlan_id, int port_index, BPDU_T* bpdu, size_t len) in STP_IN_rx_bpdu() argument 672 iret = STP_port_rx_bpdu (port, bpdu, len); in STP_IN_rx_bpdu()
|
H A D | stp_in.h | 219 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 D | portinfo.h | 35 STP_info_rx_bpdu (PORT_T* this, struct stp_bpdu_t* bpdu, size_t len);
|
H A D | port.c | 197 STP_port_rx_bpdu (PORT_T* this, BPDU_T* bpdu, size_t len) in STP_port_rx_bpdu() argument 199 STP_info_rx_bpdu (this, bpdu, len); in STP_port_rx_bpdu()
|
H A D | stp_vectors.h | 70 IN unsigned char* bpdu,
|
H A D | port.h | 171 STP_port_rx_bpdu (PORT_T* this, BPDU_T* bpdu, size_t len);
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | rstp.c | 235 tx_bpdu(int port_index, int vlan_id, unsigned char *bpdu, size_t bpdu_len) in tx_bpdu() argument 244 rc = dlpi_send(pdp->dlpi, NULL, 0, bpdu, bpdu_len, NULL); in tx_bpdu()
|