/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlib.c | 74 return (DLADM_STATUS_OK); in dladm_ib_ioctl_err2status() 98 return (DLADM_STATUS_OK); in i_dladm_ib_ioctl() 115 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_part_info_active() 127 if (status != DLADM_STATUS_OK) in i_dladm_part_info_active() 172 NULL, NULL, 0)) != DLADM_STATUS_OK) in i_dladm_part_info_persist() 178 DLADM_STATUS_OK) in i_dladm_part_info_persist() 187 if (status != DLADM_STATUS_OK) { in i_dladm_part_info_persist() 194 DLADM_STATUS_OK) in i_dladm_part_info_persist() 201 if (status != DLADM_STATUS_OK) in i_dladm_part_info_persist() 215 if (status != DLADM_STATUS_OK) { in i_dladm_part_info_persist() [all …]
|
H A D | libdlsim.c | 50 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_create_simnet() 65 if (status != DLADM_STATUS_OK) in i_dladm_create_simnet() 78 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_modify_simnet() 97 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_delete_simnet() 115 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_get_simnet_info() 147 &conf)) != DLADM_STATUS_OK) in i_dladm_get_simnet_info_persist() 152 if (status != DLADM_STATUS_OK) in i_dladm_get_simnet_info_persist() 158 if (status != DLADM_STATUS_OK) in i_dladm_get_simnet_info_persist() 164 if (status != DLADM_STATUS_OK) in i_dladm_get_simnet_info_persist() 170 sizeof (simnetpeer)) == DLADM_STATUS_OK) { in i_dladm_get_simnet_info_persist() [all …]
|
H A D | libdliptun.c | 66 dladm_status_t status = DLADM_STATUS_OK; in i_iptun_ioctl() 73 DLADM_STATUS_OK : dladm_errno2status(errno); in i_iptun_ioctl() 111 if (status != DLADM_STATUS_OK) in i_iptun_kparams() 163 return (DLADM_STATUS_OK); in i_iptun_kparams() 219 return (DLADM_STATUS_OK); in i_iptun_params() 225 dladm_status_t status = DLADM_STATUS_OK; in i_iptun_get_sysparams() 230 if (status == DLADM_STATUS_OK) in i_iptun_get_sysparams() 251 NULL, &class, NULL, NULL, 0)) != DLADM_STATUS_OK) in i_iptun_get_dbparams() 257 &conf)) != DLADM_STATUS_OK) { in i_iptun_get_dbparams() 264 sizeof (temp))) != DLADM_STATUS_OK) in i_iptun_get_dbparams() [all …]
|
H A D | libdlvnic.c | 70 return (DLADM_STATUS_OK); in dladm_vnic_diag2status() 110 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_vnic_create_sys() 135 if (status != DLADM_STATUS_OK) { in i_dladm_vnic_create_sys() 139 if (status != DLADM_STATUS_OK) in i_dladm_vnic_create_sys() 167 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_vnic_info_active() 208 DLADM_STATUS_OK) in i_dladm_vnic_info_persist() 213 if (status != DLADM_STATUS_OK) { in i_dladm_vnic_info_persist() 221 &attrp->va_link_id, NULL, NULL, NULL)) != DLADM_STATUS_OK) in i_dladm_vnic_info_persist() 226 NULL, NULL, 0)) != DLADM_STATUS_OK) in i_dladm_vnic_info_persist() 239 if (status != DLADM_STATUS_OK) in i_dladm_vnic_info_persist() [all …]
|
H A D | libdlaggr.c | 127 pname, sizeof (pname))) != DLADM_STATUS_OK) in write_port() 217 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_aggr_info_active() 279 DLADM_STATUS_OK) in i_dladm_aggr_info_persist() 283 if (status != DLADM_STATUS_OK) in i_dladm_aggr_info_persist() 289 if (status != DLADM_STATUS_OK) in i_dladm_aggr_info_persist() 295 if (status != DLADM_STATUS_OK) in i_dladm_aggr_info_persist() 302 macstr, sizeof (macstr))) != DLADM_STATUS_OK) { in i_dladm_aggr_info_persist() 313 if (status != DLADM_STATUS_OK) in i_dladm_aggr_info_persist() 318 if (status != DLADM_STATUS_OK) in i_dladm_aggr_info_persist() 324 if (status != DLADM_STATUS_OK) in i_dladm_aggr_info_persist() [all …]
|
H A D | flowprop.c | 105 if (status != DLADM_STATUS_OK) in dladm_set_flowprop() 132 return (DLADM_STATUS_OK); in dladm_walk_flowprop() 260 return (DLADM_STATUS_OK); in dladm_flow_info() 274 if (status != DLADM_STATUS_OK) in do_get_maxbw() 285 return (DLADM_STATUS_OK); in do_get_maxbw() 316 return (DLADM_STATUS_OK); in do_set_maxbw() 325 dladm_status_t status = DLADM_STATUS_OK; in do_check_maxbw() 335 if (status != DLADM_STATUS_OK) { in do_check_maxbw() 353 return (DLADM_STATUS_OK); in do_check_maxbw() 368 if (status != DLADM_STATUS_OK) in do_get_priority() [all …]
|
H A D | libdloverlay.c | 60 return (DLADM_STATUS_OK); in varpd_enable_service() 73 return (DLADM_STATUS_OK); in varpd_enable_service() 148 return (DLADM_STATUS_OK); in dladm_overlay_prop_info() 207 return (DLADM_STATUS_OK); in dladm_overlay_parse_prop() 223 if (status != DLADM_STATUS_OK) in i_dladm_overlay_setprop_db() 228 if (status == DLADM_STATUS_OK) in i_dladm_overlay_setprop_db() 262 DLADM_STATUS_OK) { in dladm_overlay_varpd_setprop() 267 status = DLADM_STATUS_OK; in dladm_overlay_varpd_setprop() 273 if (status != DLADM_STATUS_OK) in dladm_overlay_varpd_setprop() 299 status = DLADM_STATUS_OK; in dladm_overlay_setprop() [all …]
|
H A D | linkprop.c | 1095 return (DLADM_STATUS_OK); in check_prop() 1103 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_set_single_prop() 1118 return (DLADM_STATUS_OK); in i_dladm_set_single_prop() 1139 if (status != DLADM_STATUS_OK) in i_dladm_set_single_prop() 1168 if (status != DLADM_STATUS_OK) in i_dladm_set_single_prop() 1173 status = (flags & DLADM_OPT_PERSIST) ? DLADM_STATUS_OK : in i_dladm_set_single_prop() 1194 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_set_linkprop() 1224 if (s != DLADM_STATUS_OK && in i_dladm_set_linkprop() 1248 dladm_status_t status = DLADM_STATUS_OK; in dladm_set_linkprop() 1282 if (status != DLADM_STATUS_OK) in dladm_set_linkprop() [all …]
|
H A D | libdlbridge.c | 158 return (DLADM_STATUS_OK); in exact_instance() 338 return (retv == 0 ? DLADM_STATUS_OK : dladm_errno2status(etmp)); in bridge_door_call() 352 if (status != DLADM_STATUS_OK) in port_door_call() 373 return (DLADM_STATUS_OK); in bridge_refresh() 374 if (status != DLADM_STATUS_OK) in bridge_refresh() 380 DLADM_STATUS_OK : DLADM_STATUS_FAILED; in bridge_refresh() 382 if (status == DLADM_STATUS_OK) { in bridge_refresh() 398 if (status != DLADM_STATUS_OK) in bridge_refresh() 409 DLADM_STATUS_OK : DLADM_STATUS_FAILED; in bridge_refresh() 494 return (DLADM_STATUS_OK); in dladm_bridge_get_properties() [all …]
|
H A D | libdllink.c | 64 return (DLADM_STATUS_OK); in i_dladm_info() 79 return (DLADM_STATUS_OK); in dladm_usagelog() 117 sizeof (link)) == DLADM_STATUS_OK) { in i_dladm_walk() 333 return (DLADM_STATUS_OK); in dladm_mac_walk() 394 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_rename_link_c1() 412 if (status != DLADM_STATUS_OK && (flags & DLADM_OPT_ACTIVE)) { in i_dladm_rename_link_c1() 434 if (status != DLADM_STATUS_OK) in i_dladm_aggr_link_hold() 454 if (status != DLADM_STATUS_OK) in i_dladm_vlan_link_hold() 482 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_rename_link_c2() 513 if (status != DLADM_STATUS_OK) { in i_dladm_rename_link_c2() [all …]
|
H A D | libdlwlan.c | 147 return (DLADM_STATUS_OK); in dladm_wlan_wlresult2status() 271 if ((status = dladm_wlan_validate(handle, linkid)) != DLADM_STATUS_OK) in dladm_wlan_scan() 276 if (status != DLADM_STATUS_OK) in dladm_wlan_scan() 280 DLADM_STATUS_OK) in dladm_wlan_scan() 284 status = DLADM_STATUS_OK; in dladm_wlan_scan() 295 != DLADM_STATUS_OK) in dladm_wlan_scan() 310 if (status != DLADM_STATUS_OK) in dladm_wlan_scan() 316 status = DLADM_STATUS_OK; in dladm_wlan_scan() 450 if (status != DLADM_STATUS_OK) in do_connect() 458 DLADM_STATUS_OK) in do_connect() [all …]
|
H A D | libdlflow.c | 171 if (status != DLADM_STATUS_OK) in dladm_flow_parse_db() 177 if (status != DLADM_STATUS_OK) in dladm_flow_parse_db() 183 if (status != DLADM_STATUS_OK) in dladm_flow_parse_db() 189 if (status != DLADM_STATUS_OK) in dladm_flow_parse_db() 214 status = DLADM_STATUS_OK; in dladm_flow_parse_db() 380 DLADM_STATUS_OK) in i_dladm_flow_walk_rw_db() 420 return (DLADM_STATUS_OK); in i_dladm_flow_walk_rw_db() 491 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_flow_create_db() 564 return (DLADM_STATUS_OK); in i_dladm_flow_add() 571 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_flow_remove() [all …]
|
H A D | libdlether.c | 149 KSTAT_DATA_UINT32, &speed)) != DLADM_STATUS_OK) { in i_dladm_get_spdx() 178 return (DLADM_STATUS_OK); in i_dladm_get_spdx() 309 if (status != DLADM_STATUS_OK) in dladm_ether_info() 321 KSTAT_DATA_UINT64, &sp64)) != DLADM_STATUS_OK) in dladm_ether_info() 325 KSTAT_DATA_UINT32, &link_duplex)) != DLADM_STATUS_OK) in dladm_ether_info() 332 if (status != DLADM_STATUS_OK) in dladm_ether_info() 340 if (status != DLADM_STATUS_OK) in dladm_ether_info() 345 if (status != DLADM_STATUS_OK) in dladm_ether_info() 350 if (status != DLADM_STATUS_OK) in dladm_ether_info() 361 if (status != DLADM_STATUS_OK) in dladm_ether_info() [all …]
|
H A D | libdlmgmt.c | 73 if ((status = dladm_door_fd(handle, &door_fd)) != DLADM_STATUS_OK) in dladm_door_call() 88 if (status != DLADM_STATUS_OK) in dladm_door_call() 151 &retval, &sz)) == DLADM_STATUS_OK) { in dladm_create_datalink_id() 238 &retval, &sz)) == DLADM_STATUS_OK) { in dladm_create_conf() 270 DLADM_OPT_ACTIVE)) != DLADM_STATUS_OK) in i_dladm_phys_status() 277 status = DLADM_STATUS_OK; in i_dladm_phys_status() 295 dladm_status_t status = DLADM_STATUS_OK; in dladm_walk_datalink_id() 313 sizeof (getnext), &retval, &sz)) != DLADM_STATUS_OK) { in dladm_walk_datalink_id() 319 status = DLADM_STATUS_OK; in dladm_walk_datalink_id() 332 &retval.lr_flags) != DLADM_STATUS_OK) { in dladm_walk_datalink_id() [all …]
|
H A D | libdladm.c | 136 return (DLADM_STATUS_OK); in dladm_open() 181 return (DLADM_STATUS_OK); in dladm_door_fd() 190 case DLADM_STATUS_OK: in dladm_status2str() 469 return (DLADM_STATUS_OK); in dladm_errno2status() 572 return (DLADM_STATUS_OK); in dladm_str2bw() 748 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_rw_db() 801 if (!writeop || status != DLADM_STATUS_OK) in i_dladm_rw_db() 833 return (DLADM_STATUS_OK); in i_dladm_rw_db() 838 if (status != DLADM_STATUS_OK) in i_dladm_rw_db() 857 return (DLADM_STATUS_OK); in dladm_set_rootdir() [all …]
|
H A D | flowattr.c | 133 if (status != DLADM_STATUS_OK) { in do_check_ip_addr() 138 return (DLADM_STATUS_OK); in do_check_ip_addr() 151 return (DLADM_STATUS_OK); in do_check_protocol() 186 return (DLADM_STATUS_OK); in do_check_port() 221 return (DLADM_STATUS_OK); in flow_attrlist_check() 252 if (status != DLADM_STATUS_OK) in dladm_flow_attrlist_extract() 280 != DLADM_STATUS_OK) in dladm_parse_flow_attrs() 284 != DLADM_STATUS_OK) { in dladm_parse_flow_attrs() 289 return (DLADM_STATUS_OK); in dladm_parse_flow_attrs() 315 return (DLADM_STATUS_OK); in do_check_dsfield()
|
H A D | secobj.c | 78 return (DLADM_STATUS_OK); in dladm_str2secobjclass() 130 dladm_status_t status = DLADM_STATUS_OK; in dladm_set_secobj() 160 if (status != DLADM_STATUS_OK) in dladm_set_secobj() 176 dladm_status_t status = DLADM_STATUS_OK; in dladm_get_secobj() 212 dladm_status_t status = DLADM_STATUS_OK; in dladm_unset_secobj() 228 if (status != DLADM_STATUS_OK) in dladm_unset_secobj() 242 dladm_status_t status = DLADM_STATUS_OK; in dladm_walk_secobj() 470 if (*statusp != DLADM_STATUS_OK) in process_secobj_line() 500 dladm_status_t status = DLADM_STATUS_OK; in process_secobj_db() 522 if (status != DLADM_STATUS_OK || !cont) in process_secobj_db() [all …]
|
H A D | propfuncs.c | 258 dladm_status_t status = DLADM_STATUS_OK; in process_prop_init() 290 if (status != DLADM_STATUS_OK) in process_prop_init() 470 dladm_status_t status = DLADM_STATUS_OK; in process_prop_db() 493 if (status != DLADM_STATUS_OK || !cont) in process_prop_db() 502 if (status == DLADM_STATUS_OK && fputs(buf, nfp) == EOF) in process_prop_db() 534 status = DLADM_STATUS_OK; in i_dladm_get_prop_temp() 596 if (status != DLADM_STATUS_OK) in i_dladm_set_one_prop_temp() 623 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_set_prop_temp() 642 if (s != DLADM_STATUS_OK && in i_dladm_set_prop_temp() 691 if (dladm_parse_args(str, listp, novalues) != DLADM_STATUS_OK) in dladm_parse_props() [all …]
|
/illumos-gate/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 280 if ((status = dladm_open(&handle)) != DLADM_STATUS_OK) { in main() 320 if (status != DLADM_STATUS_OK) in do_init_flow() 358 NULL, NULL) != DLADM_STATUS_OK) in do_add_flow() 395 != DLADM_STATUS_OK) in do_add_flow() 398 != DLADM_STATUS_OK) in do_add_flow() 403 if (status != DLADM_STATUS_OK) in do_add_flow() 439 NULL, NULL) != DLADM_STATUS_OK) { in do_remove_flow() 467 state.fs_status = DLADM_STATUS_OK; in do_remove_flow() 474 if (status == DLADM_STATUS_OK) in do_remove_flow() 478 if (status != DLADM_STATUS_OK) in do_remove_flow() [all …]
|
/illumos-gate/usr/src/cmd/ibd_upgrade/ |
H A D | ibd_delete_link.c | 43 dladm_status_t status = DLADM_STATUS_OK; in ibd_dladm_door_call() 53 if ((status = dladm_door_fd(handle, &door_fd)) != DLADM_STATUS_OK) in ibd_dladm_door_call() 73 return (DLADM_STATUS_OK); in ibd_dladm_door_call() 91 &retval, sizeof (retval))) != DLADM_STATUS_OK) { in ibd_delete_link() 107 if ((status = dladm_remove_conf(dlh, linkid)) != DLADM_STATUS_OK) { in ibd_delete_link() 114 DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST)) != DLADM_STATUS_OK) { in ibd_delete_link() 136 if ((status = dladm_open(&dlh)) != DLADM_STATUS_OK) { in main() 143 if (ibd_delete_link(dlh, argv[i]) != DLADM_STATUS_OK) { in main()
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 1615 if ((status = dladm_open(&handle)) != DLADM_STATUS_OK) { in main() 1651 NULL, &flags, NULL, NULL)) != DLADM_STATUS_OK) { in show_usage_date() 1663 return (DLADM_STATUS_OK); in show_usage_date() 1683 NULL, &flags, NULL, NULL)) != DLADM_STATUS_OK) { in show_usage_time() 1717 return (DLADM_STATUS_OK); in show_usage_time() 1740 return (DLADM_STATUS_OK); in show_usage_time() 1758 NULL, &flags, NULL, NULL)) != DLADM_STATUS_OK) { in show_usage_res() 1784 return (DLADM_STATUS_OK); in show_usage_res() 1865 NULL, NULL)) != DLADM_STATUS_OK) || in do_show_usage() 1912 if (status != DLADM_STATUS_OK) in do_show_usage() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | 6to4relay.c | 73 if (status != DLADM_STATUS_OK) { in printkstatus() 187 if ((status = dladm_open(&handle)) != DLADM_STATUS_OK) { in main() 250 if (status != DLADM_STATUS_OK) { in main() 261 if (status != DLADM_STATUS_OK) { in main() 290 if (status != DLADM_STATUS_OK) { in main() 308 if (status != DLADM_STATUS_OK) { in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | rstp.c | 153 if (status == DLADM_STATUS_OK && link_duplex == LINK_DUPLEX_FULL) in get_duplex() 300 if (status == DLADM_STATUS_OK) { in get_init_port_cfg() 306 if (status == DLADM_STATUS_OK) { in get_init_port_cfg() 312 if (status == DLADM_STATUS_OK) { in get_init_port_cfg() 318 if (status == DLADM_STATUS_OK) { in get_init_port_cfg() 324 if (status == DLADM_STATUS_OK) { in get_init_port_cfg() 336 if (status == DLADM_STATUS_OK && propval != 0) { in get_init_port_cfg() 384 if (status != DLADM_STATUS_OK) { in rstp_init() 406 if (status != DLADM_STATUS_OK) { in rstp_refresh()
|
H A D | events.c | 94 if (status != DLADM_STATUS_OK) { in open_bridge_control() 117 if (status != DLADM_STATUS_OK) { in open_bridge_control() 149 if (status != DLADM_STATUS_OK) { in set_vlan() 273 if (status == DLADM_STATUS_OK) in update_port() 279 if (status == DLADM_STATUS_OK) in update_port() 330 if (status == DLADM_STATUS_OK && strcmp(bridge, instance_name) == 0) { in update_link() 333 if (status == DLADM_STATUS_OK) { in update_link() 340 if (status != DLADM_STATUS_OK) in update_link() 371 if (status == DLADM_STATUS_OK) { in handle_refresh() 571 if (status == DLADM_STATUS_OK && ifspeed != 0) in get_dladm_speed()
|
/illumos-gate/usr/src/cmd/flowstat/ |
H A D | flowstat.c | 475 == DLADM_STATUS_OK) in query_link_flow_stats() 521 == DLADM_STATUS_OK) in dump_link_flow_stats() 592 if ((status = dladm_open(&handle)) != DLADM_STATUS_OK) in main() 651 NULL, NULL) != DLADM_STATUS_OK) in main() 697 dladm_flow_info(handle, flowname, &attr) != DLADM_STATUS_OK) in main() 772 history->du_name, &attr)) != DLADM_STATUS_OK)) { in show_history_date() 781 return (DLADM_STATUS_OK); in show_history_date() 800 history->du_name, &attr)) != DLADM_STATUS_OK)) { in show_history_time() 831 return (DLADM_STATUS_OK); in show_history_time() 855 return (DLADM_STATUS_OK); in show_history_time() [all …]
|