dladm_dld_fd
if (ioctl(dladm_dld_fd(dld_handle), DLDIOC_DOORSERVER, &did) == -1)
if (ioctl(dladm_dld_fd(dlled_hdl), DLDIOC_SETLED, &dil) != 0) {
if (ioctl(dladm_dld_fd(hdl), DLDIOC_GETLED, &dil) != 0) {
if (ioctl(dladm_dld_fd(dltran_hdl), DLDIOC_READTRAN, &dti) != 0) {
if (ioctl(dladm_dld_fd(hdl), DLDIOC_GETTRAN, >) != 0) {
if (ioctl(dladm_dld_fd(hdl), DLDIOC_GETTRAN, >) != 0) {
if (ioctl(dladm_dld_fd(handle), DLDIOC_GETTRAN, &dgt) != 0) {
if (ioctl(dladm_dld_fd(handle), DLDIOC_READTRAN, &dti) == 0) {
if (ioctl(dladm_dld_fd(handle), DLDIOC_GETTRAN, &dgt) != 0) {
while (ioctl(dladm_dld_fd(handle), DLDIOC_WALKFLOW, ioc) < 0) {
if (ioctl(dladm_dld_fd(handle), DLDIOC_MODIFYFLOW, &attr) < 0)
if (ioctl(dladm_dld_fd(handle), DLDIOC_MODIFYFLOW, &attr) < 0)
extern int dladm_dld_fd(dladm_handle_t);
return (ioctl(dladm_dld_fd(handle), cmd, ptr));
rc = ioctl(dladm_dld_fd(handle), BRIDGE_IOC_LISTFWD, &blfread);
if (ioctl(dladm_dld_fd(handle), DLDIOC_ADDFLOW, &attr) < 0)
if (ioctl(dladm_dld_fd(handle), DLDIOC_REMOVEFLOW, &attr) < 0)
while (ioctl(dladm_dld_fd(handle), DLDIOC_WALKFLOW, ioc) < 0) {
if (ioctl(dladm_dld_fd(handle), ioccmd, iocp) == 0)
status = (ioctl(dladm_dld_fd(handle), cmd, dp) == 0) ?
ret = ioctl(dladm_dld_fd(handle), DLDIOC_GETHWGRP, iomp);
ret = ioctl(dladm_dld_fd(handle), DLDIOC_MACADDRGET, iomp);
if (ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir) < 0) {
(void) ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir);
if (ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir) < 0)
(void) ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir);
if (ioctl(dladm_dld_fd(handle), DLDIOC_ATTR, &dia) < 0)
if (ioctl(dladm_dld_fd(handle), DLDIOC_USAGELOG, log_info) < 0)
if (ioctl(dladm_dld_fd(handle), DLDIOC_PHYS_ATTR, &dip) < 0) {
ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_STATUS, &ois);
ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_PROPINFO, &info);
ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_SETPROP, &prop);
ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_DELETE, &oid);
ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_GETPROP, &oip);
ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_NPROPS, &oin);
ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_PROPINFO, &oipi);
ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_CREATE, &oic);
ret = ioctl(dladm_dld_fd(handle), OVERLAY_IOC_ACTIVATE, &oia);
rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_DELETE, &ioc);
rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_INFO, &ioc);
rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_CREATE, &ioc);
rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_MODIFY, &ioc);
rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_CREATE, &ioc);
rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_INFO, &ioc);
rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_DELETE, &ioc);
if (ioctl(dladm_dld_fd(handle),
if (ioctl(dladm_dld_fd(handle), DLDIOC_SECOBJ_SET, &secobj_set) < 0)
if (ioctl(dladm_dld_fd(handle), DLDIOC_SECOBJ_GET, &secobj_get) < 0)
if (ioctl(dladm_dld_fd(handle), DLDIOC_SECOBJ_UNSET, &secobj_unset) < 0)
if (ioctl(dladm_dld_fd(handle), DLDIOC_SECOBJ_GET, secobj_getp) < 0) {