Home
last modified time | relevance | path

Searched refs:dladm_dld_fd (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdllink.c59 if (ioctl(dladm_dld_fd(handle), DLDIOC_ATTR, &dia) < 0) in i_dladm_info()
76 if (ioctl(dladm_dld_fd(handle), DLDIOC_USAGELOG, log_info) < 0) in dladm_usagelog()
158 ret = ioctl(dladm_dld_fd(handle), DLDIOC_GETHWGRP, iomp); in dladm_walk_hwgrp()
211 ret = ioctl(dladm_dld_fd(handle), DLDIOC_MACADDRGET, iomp); in dladm_walk_macaddr()
405 if (ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir) < 0) { in i_dladm_rename_link_c1()
414 (void) ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir); in i_dladm_rename_link_c1()
510 if (ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir) < 0) in i_dladm_rename_link_c2()
538 (void) ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir); in i_dladm_rename_link_c2()
837 if (ioctl(dladm_dld_fd(handle), DLDIOC_PHYS_ATTR, &dip) < 0) { in dladm_phys_info()
H A Dlibdloverlay.c300 ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_PROPINFO, &info); in dladm_overlay_setprop()
315 ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_SETPROP, &prop); in dladm_overlay_setprop()
385 ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_DELETE, &oid); in dladm_overlay_delete()
435 ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_GETPROP, &oip); in dladm_overlay_get_prop()
530 ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_NPROPS, &oin); in dladm_overlay_walk_prop()
543 ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_PROPINFO, &oipi); in dladm_overlay_walk_prop()
634 ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_CREATE, &oic); in i_dladm_overlay_create_sys()
754 ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_ACTIVATE, &oia); in i_dladm_overlay_commit_sys()
1109 ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_STATUS, &ois); in dladm_overlay_status()
H A Dlibdlsim.c59 rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_CREATE, &ioc); in i_dladm_create_simnet()
83 rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_MODIFY, &ioc); in i_dladm_modify_simnet()
101 rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_DELETE, &ioc); in i_dladm_delete_simnet()
119 rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_INFO, &ioc); in i_dladm_get_simnet_info()
H A Dsecobj.c157 if (ioctl(dladm_dld_fd(handle), DLDIOC_SECOBJ_SET, &secobj_set) < 0) in dladm_set_secobj()
195 if (ioctl(dladm_dld_fd(handle), DLDIOC_SECOBJ_GET, &secobj_get) < 0) in dladm_get_secobj()
225 if (ioctl(dladm_dld_fd(handle), DLDIOC_SECOBJ_UNSET, &secobj_unset) < 0) in dladm_unset_secobj()
260 if (ioctl(dladm_dld_fd(handle), DLDIOC_SECOBJ_GET, secobj_getp) < 0) { in dladm_walk_secobj()
H A Dflowprop.c232 while (ioctl(dladm_dld_fd(handle), DLDIOC_WALKFLOW, ioc) < 0) { in dladm_flow_info()
313 if (ioctl(dladm_dld_fd(handle), DLDIOC_MODIFYFLOW, &attr) < 0) in do_set_maxbw()
406 if (ioctl(dladm_dld_fd(handle), DLDIOC_MODIFYFLOW, &attr) < 0) in do_set_priority()
H A Dlibdlflow.c561 if (ioctl(dladm_dld_fd(handle), DLDIOC_ADDFLOW, &attr) < 0) in i_dladm_flow_add()
576 if (ioctl(dladm_dld_fd(handle), DLDIOC_REMOVEFLOW, &attr) < 0) in i_dladm_flow_remove()
766 while (ioctl(dladm_dld_fd(handle), DLDIOC_WALKFLOW, ioc) < 0) { in dladm_walk_flow()
H A Dlibdlvnic.c131 rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_CREATE, &ioc); in i_dladm_vnic_create_sys()
173 rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_INFO, &ioc); in i_dladm_vnic_info_active()
317 rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_DELETE, &ioc); in i_dladm_vnic_delete_sys()
H A Dlibdladm.h225 extern int dladm_dld_fd(dladm_handle_t);
H A Dmapfile-vers47 dladm_dld_fd;
H A Dlibdliptun.c72 status = (ioctl(dladm_dld_fd(handle), cmd, dp) == 0) ? in i_iptun_ioctl()
H A Dlibdlib.c97 if (ioctl(dladm_dld_fd(handle), ioccmd, iocp) == 0) in i_dladm_ib_ioctl()
H A Dlibdladm.c153 dladm_dld_fd(dladm_handle_t handle) in dladm_dld_fd() function
H A Dlibdlbridge.c1435 rc = ioctl(dladm_dld_fd(handle), BRIDGE_IOC_LISTFWD, &blfread); in dladm_bridge_get_fwdtable()
H A Dlibdlaggr.c151 return (ioctl(dladm_dld_fd(handle), cmd, ptr)); in i_dladm_aggr_ioctl()
H A Dlinkprop.c4035 if (ioctl(dladm_dld_fd(handle), in i_dladm_macprop()
/illumos-gate/usr/src/cmd/dlutil/
H A Ddltraninfo.c117 if (ioctl(dladm_dld_fd(dltran_hdl), DLDIOC_READTRAN, &dti) != 0) { in dltran_read_page()
257 if (ioctl(dladm_dld_fd(hdl), DLDIOC_GETTRAN, &gt) != 0) { in dltran_dump_transceivers()
279 if (ioctl(dladm_dld_fd(hdl), DLDIOC_GETTRAN, &gt) != 0) { in dltran_dump_transceivers()
H A Ddlled.c161 if (ioctl(dladm_dld_fd(dlled_hdl), DLDIOC_SETLED, &dil) != 0) { in dlled_set()
191 if (ioctl(dladm_dld_fd(hdl), DLDIOC_GETLED, &dil) != 0) { in dlled_get_led()
/illumos-gate/usr/src/lib/fm/topo/modules/common/nic/
H A Dtopo_nic.c300 if (ioctl(dladm_dld_fd(handle), DLDIOC_GETTRAN, &dgt) != 0) { in nic_create_transceiver()
316 if (ioctl(dladm_dld_fd(handle), DLDIOC_READTRAN, &dti) == 0) { in nic_create_transceiver()
376 if (ioctl(dladm_dld_fd(handle), DLDIOC_GETTRAN, &dgt) != 0) { in nic_enum_link_ntrans()
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_main.c94 if (ioctl(dladm_dld_fd(dld_handle), DLDIOC_DOORSERVER, &did) == -1) in dlmgmt_set_doorfd()