Lines Matching defs:rc
452 int rc;
477 if ((rc = STP_IN_enable_port(port->port_index, !bc.bc_failed)) != 0)
480 STP_IN_get_error_explanation(rc));
486 int rc;
493 rc = dlpi_recv(port->dlpi, NULL, NULL, buffer, &buflen, 1, NULL);
494 if (rc != DLPI_SUCCESS) {
495 if (rc != DLPI_ETIMEDOUT)
497 dlpi_strerror(rc));
520 rc = STP_IN_check_bpdu_header((BPDU_T *)&eh->ether_type, buflen);
527 if (rc == 0) {
551 rc = STP_IN_rx_bpdu(port->vlan_id, port->port_index,
554 if (rc != 0) {
559 port->name, sender, STP_IN_get_error_explanation(rc));