Home
last modified time | relevance | path

Searched refs:DLADM_STATUS_OK (Results 1 – 25 of 63) sorted by relevance

123

/titanic_41/usr/src/lib/libdladm/common/
H A Dlibdlib.c74 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()
169 NULL, NULL, 0)) != DLADM_STATUS_OK) in i_dladm_part_info_persist()
175 DLADM_STATUS_OK) in i_dladm_part_info_persist()
184 if (status != DLADM_STATUS_OK) { in i_dladm_part_info_persist()
191 DLADM_STATUS_OK) in i_dladm_part_info_persist()
198 if (status != DLADM_STATUS_OK) in i_dladm_part_info_persist()
212 if (status != DLADM_STATUS_OK) { in i_dladm_part_info_persist()
[all …]
H A Dlibdlsim.c48 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_create_simnet()
63 if (status != DLADM_STATUS_OK) in i_dladm_create_simnet()
76 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_modify_simnet()
95 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_delete_simnet()
113 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_get_simnet_info()
145 &conf)) != DLADM_STATUS_OK) in i_dladm_get_simnet_info_persist()
150 if (status != DLADM_STATUS_OK) in i_dladm_get_simnet_info_persist()
156 if (status != DLADM_STATUS_OK) in i_dladm_get_simnet_info_persist()
162 if (status != DLADM_STATUS_OK) in i_dladm_get_simnet_info_persist()
168 sizeof (simnetpeer)) == DLADM_STATUS_OK) { in i_dladm_get_simnet_info_persist()
[all …]
H A Dlibdliptun.c66 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()
161 return (DLADM_STATUS_OK); in i_iptun_kparams()
217 return (DLADM_STATUS_OK); in i_iptun_params()
223 dladm_status_t status = DLADM_STATUS_OK; in i_iptun_get_sysparams()
228 if (status == DLADM_STATUS_OK) in i_iptun_get_sysparams()
249 NULL, &class, NULL, NULL, 0)) != DLADM_STATUS_OK) in i_iptun_get_dbparams()
255 &conf)) != DLADM_STATUS_OK) { in i_iptun_get_dbparams()
262 sizeof (temp))) != DLADM_STATUS_OK) in i_iptun_get_dbparams()
[all …]
H A Dlibdlvnic.c68 return (DLADM_STATUS_OK); in dladm_vnic_diag2status()
108 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_vnic_create_sys()
133 if (status != DLADM_STATUS_OK) { in i_dladm_vnic_create_sys()
137 if (status != DLADM_STATUS_OK) in i_dladm_vnic_create_sys()
163 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_vnic_info_active()
204 DLADM_STATUS_OK) in i_dladm_vnic_info_persist()
209 if (status != DLADM_STATUS_OK) { in i_dladm_vnic_info_persist()
217 &attrp->va_link_id, NULL, NULL, NULL)) != DLADM_STATUS_OK) in i_dladm_vnic_info_persist()
222 NULL, NULL, 0)) != DLADM_STATUS_OK) in i_dladm_vnic_info_persist()
235 if (status != DLADM_STATUS_OK) in i_dladm_vnic_info_persist()
[all …]
H A Dlibdlaggr.c127 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 Dflowprop.c105 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()
326 dladm_status_t status = DLADM_STATUS_OK; in do_check_maxbw()
336 if (status != DLADM_STATUS_OK) { in do_check_maxbw()
354 return (DLADM_STATUS_OK); in do_check_maxbw()
369 if (status != DLADM_STATUS_OK) in do_get_priority()
[all …]
H A Dlinkprop.c923 return (DLADM_STATUS_OK); in check_prop()
931 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_set_single_prop()
946 return (DLADM_STATUS_OK); in i_dladm_set_single_prop()
967 if (status != DLADM_STATUS_OK) in i_dladm_set_single_prop()
996 if (status != DLADM_STATUS_OK) in i_dladm_set_single_prop()
1001 status = (flags & DLADM_OPT_PERSIST) ? DLADM_STATUS_OK : in i_dladm_set_single_prop()
1022 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_set_linkprop()
1052 if (s != DLADM_STATUS_OK && in i_dladm_set_linkprop()
1076 dladm_status_t status = DLADM_STATUS_OK; in dladm_set_linkprop()
1094 if (status != DLADM_STATUS_OK) in dladm_set_linkprop()
[all …]
H A Dlibdlbridge.c158 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 Dlibdllink.c64 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()
334 return (DLADM_STATUS_OK); in dladm_mac_walk()
395 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_rename_link_c1()
413 if (status != DLADM_STATUS_OK && (flags & DLADM_OPT_ACTIVE)) { in i_dladm_rename_link_c1()
435 if (status != DLADM_STATUS_OK) in i_dladm_aggr_link_hold()
455 if (status != DLADM_STATUS_OK) in i_dladm_vlan_link_hold()
483 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_rename_link_c2()
514 if (status != DLADM_STATUS_OK) { in i_dladm_rename_link_c2()
[all …]
H A Dlibdlwlan.c147 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 Dlibdlflow.c171 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 Dlibdlether.c143 KSTAT_DATA_UINT32, &speed)) != DLADM_STATUS_OK) { in i_dladm_get_spdx()
172 return (DLADM_STATUS_OK); in i_dladm_get_spdx()
303 if (status != DLADM_STATUS_OK) in dladm_ether_info()
315 KSTAT_DATA_UINT64, &sp64)) != DLADM_STATUS_OK) in dladm_ether_info()
319 KSTAT_DATA_UINT32, &link_duplex)) != DLADM_STATUS_OK) in dladm_ether_info()
326 if (status != DLADM_STATUS_OK) in dladm_ether_info()
334 if (status != DLADM_STATUS_OK) in dladm_ether_info()
339 if (status != DLADM_STATUS_OK) in dladm_ether_info()
344 if (status != DLADM_STATUS_OK) in dladm_ether_info()
355 if (status != DLADM_STATUS_OK) in dladm_ether_info()
[all …]
H A Dlibdlmgmt.c71 if ((status = dladm_door_fd(handle, &door_fd)) != DLADM_STATUS_OK) in dladm_door_call()
86 if (status != DLADM_STATUS_OK) in dladm_door_call()
136 &retval, &sz)) == DLADM_STATUS_OK) { in dladm_create_datalink_id()
223 &retval, &sz)) == DLADM_STATUS_OK) { in dladm_create_conf()
255 DLADM_OPT_ACTIVE)) != DLADM_STATUS_OK) in i_dladm_phys_status()
262 status = DLADM_STATUS_OK; in i_dladm_phys_status()
280 dladm_status_t status = DLADM_STATUS_OK; in dladm_walk_datalink_id()
297 sizeof (getnext), &retval, &sz)) != DLADM_STATUS_OK) { in dladm_walk_datalink_id()
303 status = DLADM_STATUS_OK; in dladm_walk_datalink_id()
316 &retval.lr_flags) != DLADM_STATUS_OK) { in dladm_walk_datalink_id()
[all …]
H A Dlibdladm.c125 return (DLADM_STATUS_OK); in dladm_open()
160 return (DLADM_STATUS_OK); in dladm_door_fd()
169 case DLADM_STATUS_OK: in dladm_status2str()
439 return (DLADM_STATUS_OK); in dladm_errno2status()
537 return (DLADM_STATUS_OK); in dladm_str2bw()
711 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_rw_db()
764 if (!writeop || status != DLADM_STATUS_OK) in i_dladm_rw_db()
796 return (DLADM_STATUS_OK); in i_dladm_rw_db()
801 if (status != DLADM_STATUS_OK) in i_dladm_rw_db()
820 return (DLADM_STATUS_OK); in dladm_set_rootdir()
[all …]
H A Dflowattr.c133 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 Dpropfuncs.c261 dladm_status_t status = DLADM_STATUS_OK; in process_prop_init()
293 if (status != DLADM_STATUS_OK) in process_prop_init()
473 dladm_status_t status = DLADM_STATUS_OK; in process_prop_db()
496 if (status != DLADM_STATUS_OK || !cont) in process_prop_db()
505 if (status == DLADM_STATUS_OK && fputs(buf, nfp) == EOF) in process_prop_db()
537 status = DLADM_STATUS_OK; in i_dladm_get_prop_temp()
599 if (status != DLADM_STATUS_OK) in i_dladm_set_one_prop_temp()
626 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_set_prop_temp()
645 if (s != DLADM_STATUS_OK && in i_dladm_set_prop_temp()
694 if (dladm_parse_args(str, listp, novalues) != DLADM_STATUS_OK) in dladm_parse_props()
[all …]
H A Dsecobj.c78 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()
474 if (*statusp != DLADM_STATUS_OK) in process_secobj_line()
504 dladm_status_t status = DLADM_STATUS_OK; in process_secobj_db()
526 if (status != DLADM_STATUS_OK || !cont) in process_secobj_db()
[all …]
/titanic_41/usr/src/cmd/ibd_upgrade/
H A Dibd_delete_link.c43 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()
/titanic_41/usr/src/cmd/flowadm/
H A Dflowadm.c277 if ((status = dladm_open(&handle)) != DLADM_STATUS_OK) { in main()
317 if (status != DLADM_STATUS_OK) in do_init_flow()
355 NULL, NULL) != DLADM_STATUS_OK) in do_add_flow()
392 != DLADM_STATUS_OK) in do_add_flow()
395 != DLADM_STATUS_OK) in do_add_flow()
400 if (status != DLADM_STATUS_OK) in do_add_flow()
436 NULL, NULL) != DLADM_STATUS_OK) { in do_remove_flow()
464 state.fs_status = DLADM_STATUS_OK; in do_remove_flow()
471 if (status == DLADM_STATUS_OK) in do_remove_flow()
475 if (status != DLADM_STATUS_OK) in do_remove_flow()
[all …]
/titanic_41/usr/src/cmd/dladm/
H A Ddladm.c1482 if ((status = dladm_open(&handle)) != DLADM_STATUS_OK) { in main()
1516 NULL, &flags, NULL, NULL)) != DLADM_STATUS_OK) { in show_usage_date()
1528 return (DLADM_STATUS_OK); in show_usage_date()
1548 NULL, &flags, NULL, NULL)) != DLADM_STATUS_OK) { in show_usage_time()
1582 return (DLADM_STATUS_OK); in show_usage_time()
1605 return (DLADM_STATUS_OK); in show_usage_time()
1623 NULL, &flags, NULL, NULL)) != DLADM_STATUS_OK) { in show_usage_res()
1649 return (DLADM_STATUS_OK); in show_usage_res()
1730 NULL, NULL)) != DLADM_STATUS_OK) || in do_show_usage()
1777 if (status != DLADM_STATUS_OK) in do_show_usage()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A D6to4relay.c73 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()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Drstp.c153 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 Devents.c94 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()
/titanic_41/usr/src/cmd/flowstat/
H A Dflowstat.c464 == DLADM_STATUS_OK) in query_link_flow_stats()
510 == DLADM_STATUS_OK) in dump_link_flow_stats()
582 if ((status = dladm_open(&handle)) != DLADM_STATUS_OK) in main()
646 NULL, NULL) != DLADM_STATUS_OK) in main()
703 dladm_flow_info(handle, flowname, &attr) != DLADM_STATUS_OK) in main()
778 history->du_name, &attr)) != DLADM_STATUS_OK)) { in show_history_date()
787 return (DLADM_STATUS_OK); in show_history_date()
806 history->du_name, &attr)) != DLADM_STATUS_OK)) { in show_history_time()
837 return (DLADM_STATUS_OK); in show_history_time()
861 return (DLADM_STATUS_OK); in show_history_time()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Ddriver_wifi.c25 #define WPA_STATUS(status) (status == DLADM_STATUS_OK? 0 : -1)
47 if (status != DLADM_STATUS_OK) in wpa_driver_wifi_get_bssid()
83 if (status != DLADM_STATUS_OK) in wpa_driver_wifi_get_ssid()
359 != DLADM_STATUS_OK) { in wpa_driver_wifi_get_scan_results()

123