Lines Matching defs:rc
238 int rc;
244 rc = dlpi_send(pdp->dlpi, NULL, 0, bpdu, bpdu_len, NULL);
245 if (rc == DLPI_SUCCESS) {
252 dlpi_strerror(rc));
399 int rc;
426 rc = STP_IN_stpm_set_cfg(0, &uid_cfg);
427 if (rc != 0)
429 STP_IN_get_error_explanation(rc));
434 rc = STP_IN_stpm_set_cfg(0, &uid_cfg);
435 if (rc != 0)
437 STP_IN_get_error_explanation(rc));
451 int rc;
462 if ((rc = STP_IN_stpm_set_cfg(0, &uid_cfg)) != 0)
464 STP_IN_get_error_explanation(rc));
467 if ((rc = STP_IN_stpm_set_cfg(0, &uid_cfg)) != 0)
469 STP_IN_get_error_explanation(rc));
481 int rc;
487 (rc = STP_IN_port_add(port->vlan_id, port->port_index)) != 0) {
489 port->port_index, STP_IN_get_error_explanation(rc));
516 rc = STP_IN_enable_port(port->port_index,
519 if (rc != 0) {
521 port->port_index, STP_IN_get_error_explanation(rc));
526 rc = STP_IN_dbg_set_port_trace("all", True, 0,
530 rc = STP_IN_dbg_set_port_trace("all", False, 0,
532 if (rc == 0)
533 rc = STP_IN_dbg_set_port_trace("sttrans", True, 0,
536 if (rc != 0) {
538 port->port_index, STP_IN_get_error_explanation(rc));
552 if ((rc = STP_IN_port_set_cfg(0, port->port_index, &portcfg)) != 0) {
554 port->port_index, STP_IN_get_error_explanation(rc));