Home
last modified time | relevance | path

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

/titanic_41/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()
406 if (ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir) < 0) { in i_dladm_rename_link_c1()
415 (void) ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir); in i_dladm_rename_link_c1()
511 if (ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir) < 0) in i_dladm_rename_link_c2()
539 (void) ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir); in i_dladm_rename_link_c2()
839 if (ioctl(dladm_dld_fd(handle), DLDIOC_PHYS_ATTR, &dip) < 0) { in dladm_phys_info()
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()
407 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 Dlibdladm.h210 extern int dladm_dld_fd(dladm_handle_t);
H A Dlibdlvnic.c129 rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_CREATE, &ioc); in i_dladm_vnic_create_sys()
169 rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_INFO, &ioc); in i_dladm_vnic_info_active()
313 rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_DELETE, &ioc); in i_dladm_vnic_delete_sys()
H A Dmapfile-vers45 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.c140 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.c3854 if (ioctl(dladm_dld_fd(handle), in i_dladm_macprop()
/titanic_41/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_main.c93 if (ioctl(dladm_dld_fd(dld_handle), DLDIOC_DOORSERVER, &did) == -1) in dlmgmt_set_doorfd()