Lines Matching refs:status
260 int status = 0;
274 status = errno;
277 return (status);
523 int status = 0;
528 status = EEXIST;
547 status = errno;
558 status = slifname(ifname, ifflags, ip_fd);
559 if (status != 0)
563 status = solaris_get_flags(sock, ifname, &ifflags);
564 if (status != 0)
568 status = open_arp_on_udp(udp_dev_name, &mux_fd);
569 if (status != 0)
579 status = errno;
598 status = errno;
601 status = slifname_arp(ifname, ifflags, arp_fd);
602 if (status != 0)
609 status = errno;
614 status = errno;
625 return (status);
673 rc_err_t status;
677 status = dlmgr_Datalink__rad_lookup(rad_conn, B_TRUE, &link, 1,
679 if (status != RCE_OK) {
684 status = dlmgr_Datalink_getInfo(link, NULL, 0, &linkinfo, &derrp);
685 if (status != RCE_OK) {
686 if (status == RCE_SERVER_OBJECT) {
696 status = dlmgr__rad_dict_string_DLValue_map(linkinfo, test_cb,
698 if (status != RCE_OK) {
718 rc_err_t status;
721 status = dlmgr_Physical__rad_lookup(rad_conn, B_TRUE, &link, 1,
723 if (status != RCE_OK) {
728 status = dlmgr_Physical_getInfo(link, NULL, 0, &linkinfo, &derrp);
729 if (status != RCE_OK) {
730 if (status == RCE_SERVER_OBJECT) {
739 status = dlmgr__rad_dict_string_DLValue_get(linkinfo, "device",
741 if (status != RCE_OK) {
777 rc_err_t status;
784 status = dlmgr_Datalink__rad_lookup(rad_conn, B_TRUE, &link, 1,
786 if (status != RCE_OK) {
793 status = dlmgr_Datalink_getProperties(link, props, 1, fields, 1,
795 if (status != RCE_OK) {
796 if (status == RCE_SERVER_OBJECT) {
804 status = dlmgr__rad_dict_string_DLValue_get((*dlist)->ddld_map,
806 if (status != RCE_OK) {
871 rc_err_t status;
875 status = dlmgr_Datalink__rad_lookup(rad_conn, B_TRUE, &link, 1,
877 if (status != RCE_OK) {
884 status = ENOMEM;
893 status = dlmgr__rad_dict_string_DLValue_put(
895 if (status != RCE_OK) {
903 status = dlmgr__rad_dict_string_DLValue_put(
905 if (status != RCE_OK) {
913 status = dlmgr__rad_dict_string_DLValue_put(
915 if (status != RCE_OK) {
938 status = dlmgr__rad_dict_string_DLValue_put(
940 if (status != RCE_OK) {
947 status = dlmgr_Datalink_setProperties(link, sprop_dict, &derrp);
948 if (status != RCE_OK) {
949 if (status == RCE_SERVER_OBJECT) {
993 rc_err_t status;
999 if ((status = dlmgr__rad_dict_string_DLValue_put(ddvp, key,
1016 rc_err_t status;
1022 if ((status = dlmgr__rad_dict_string_DLValue_put(ddvp, key,
1040 rc_err_t status;
1042 status = dlmgr_DatalinkManager__rad_lookup(rad_conn, B_TRUE,
1044 if (status != RCE_OK)
1055 status = dlmgr__rad_dict_string_DLValue_put(prop, "lower-link",
1057 if (status != RCE_OK)
1062 status = dlmgr_DatalinkManager_createVNIC(linkmgr, vnicname, prop,
1064 if (status == RCE_SERVER_OBJECT) {
1074 return ((status != RCE_OK) ? ENOTSUP : 0);
1090 rc_err_t status;
1095 status = dlmgr_Datalink__rad_lookup(rad_conn, B_TRUE, &link, 1,
1097 if (status != RCE_OK) {
1136 status = dlmgr_Datalink_setProperties(link, sprop_dict, &derrp);
1137 if (status != RCE_OK) {
1139 if ((status = dlmgr__rad_dict_string_DLValue_remove(
1152 status = dlmgr_Datalink_setProperties(link, sprop_dict,
1154 if (status != RCE_OK) {
1155 if (status == RCE_SERVER_OBJECT) {
1177 rc_err_t status;
1180 status = dlmgr_DatalinkManager__rad_lookup(rad_conn, B_TRUE,
1182 if (status != RCE_OK)
1185 status = dlmgr_DatalinkManager_deleteVNIC(linkmgr, vnicname, NULL,
1187 if (status != RCE_OK) {
1189 if (status == RCE_SERVER_OBJECT) {
1208 rc_err_t status;
1210 status = dlmgr_DatalinkManager__rad_lookup(rad_conn, B_TRUE,
1212 if (status != RCE_OK)
1215 status = dlmgr_DatalinkManager_createEtherstub(linkmgr, name, NULL,
1217 if (status == RCE_SERVER_OBJECT) {
1226 return ((status != RCE_OK) ? ENOTSUP : 0);
1234 rc_err_t status;
1236 status = dlmgr_DatalinkManager__rad_lookup(rad_conn, B_TRUE,
1238 if (status != RCE_OK)
1241 status = dlmgr_DatalinkManager_deleteEtherstub(linkmgr, name, NULL,
1243 if (status == RCE_SERVER_OBJECT) {
1251 return ((status != RCE_OK) ? ENOTSUP : 0);
1304 rc_err_t status;
1307 status = dlmgr__rad_dict_string_DLValue_get(flowinfo, "filters",
1309 if (status != RCE_OK)
1314 status = dlmgr__rad_dict_string_DLValue_get(fdict,
1316 if (status != RCE_OK) {
1489 rc_err_t status;
1495 if ((status = dlmgr__rad_dict_string_DLValue_put(ddvp, key,
1502 if ((status = dlmgr__rad_dict_string_DLValue_put(ddmp, key,
1519 rc_err_t status;
1524 if ((status = dlmgr__rad_dict_string_DLValue_put(ddvp, key, &new_val,
1541 rc_err_t status;
1546 if ((status = dlmgr__rad_dict_string_DLValue_put(ddvp, key, &new_val,
1564 rc_err_t status;
1569 if ((status = dlmgr__rad_dict_string_DLValue_put(ddvp, key, &new_val,
1576 if ((status = dlmgr__rad_dict_string_DLValue_put(ddmp, key, &new_val,
2282 rc_err_t status;
2288 status = dlmgr_Datalink__rad_lookup(rad_conn, B_TRUE, &link, 1,
2290 if (status != RCE_OK) {
2322 status = dlmgr_Datalink_addFlow(link, flowname, &dffp, 1, &dfmp, 1,
2324 if (status != RCE_OK) {
2326 if (status == RCE_SERVER_OBJECT) {
2351 rc_err_t status;
2355 status = dlmgr_Flow__rad_lookup(rad_conn, B_TRUE, &flow, 1,
2357 if (status != RCE_OK) {
2373 status = dlmgr_Flow_setProperties(flow, prop, &derrp);
2374 if (status != RCE_OK) {
2376 if (status == RCE_SERVER_OBJECT) {
2400 rc_err_t status;
2403 status = dlmgr_Datalink__rad_lookup(rad_conn, B_TRUE, &link, 1,
2405 if (status != RCE_OK) {
2419 status = dlmgr__rad_dict_string_DLValue_put(prop, "temporary",
2421 if (status != RCE_OK) {
2427 status = dlmgr_Datalink_removeFlow(link, flowname, prop, &derrp);
2428 if (status != RCE_OK) {
2430 if (status == RCE_SERVER_OBJECT) {
2545 rc_err_t status;
2550 status = dlmgr__rad_dict_string_DLValue_get(flowinfo, "filters",
2552 if (status != RCE_OK)
2557 status = dlmgr__rad_dict_string_DLValue_map(fdict,
2560 if (status != RCE_OK)
2563 status = dlmgr__rad_dict_string_DLValue_get(flowinfo, "masks", &mlist);
2564 if (status != RCE_OK)
2569 status = dlmgr__rad_dict_string_DLValue_map(mdict,
2572 if (status != RCE_OK)
2583 rc_err_t status;
2586 status = dlmgr_Flow__rad_lookup(rad_conn, B_TRUE, &flow, 1,
2588 if (status != RCE_OK) {
2592 status = dlmgr_Flow_getInfo(flow, NULL, 0, &flowinfo, &derrp);
2593 if (status != RCE_OK) {
2595 if (status == RCE_SERVER_OBJECT) {
3391 rc_err_t status;
3394 status = dlmgr__rad_dict_string_DLValue_get(flowinfo, "properties",
3396 if (status != RCE_OK) {
3398 " %d", status);
3403 status = dlmgr__rad_dict_string_DLValue_map(fdict,
3405 if (status != RCE_OK) {
3408 "failed %d", status);
3421 rc_err_t status;
3424 status = dlmgr_Flow__rad_lookup(rad_conn, B_TRUE, &flow, 1,
3426 if (status != RCE_OK) {
3430 status = dlmgr_Flow_getInfo(flow, NULL, 0, &flowinfo, &derrp);
3431 if (status != RCE_OK) {
3433 if (status == RCE_SERVER_OBJECT) {
3464 rc_err_t status;
3467 status = dlmgr_Flow_getStatistics(flow, NULL, 0, &flowstat, &derrp);
3468 if (status != RCE_OK) {
3470 if (status == RCE_SERVER_OBJECT) {
3481 status = dlmgr__rad_dict_string_DLValue_get(flowstat, "ipackets",
3483 if (status != RCE_OK) {
3490 status = dlmgr__rad_dict_string_DLValue_get(flowstat, "opackets",
3492 if (status != RCE_OK) {
3499 status = dlmgr__rad_dict_string_DLValue_get(flowstat, "ibytes",
3501 if (status != RCE_OK) {
3508 status = dlmgr__rad_dict_string_DLValue_get(flowstat, "obytes",
3510 if (status != RCE_OK) {
3517 status = dlmgr__rad_dict_string_DLValue_get(flowstat, "lastused",
3519 if (status != RCE_OK) {
3535 rc_err_t status;
3539 status = dlmgr_Flow__rad_lookup(rad_conn, B_TRUE, &flow, 1,
3541 if (status != RCE_OK) {
3811 solaris_dladm_status2error(dladm_status_t status)
3815 if (status == DLADM_STATUS_NOMEM) {
3817 } else if (status == DLADM_STATUS_DENIED) {
3819 } else if (status == DLADM_STATUS_OK) {
3821 } else if (status == DLADM_STATUS_IOERR) {