Lines Matching refs:dir
394 dld_ioc_rename_t dir;
402 dir.dir_linkid1 = linkid1;
403 dir.dir_linkid2 = DATALINK_INVALID_LINKID;
404 (void) strlcpy(dir.dir_link, link2, MAXLINKNAMELEN);
406 if (ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir) < 0) {
414 (void) strlcpy(dir.dir_link, link1, MAXLINKNAMELEN);
415 (void) ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir);
479 dld_ioc_rename_t dir;
509 dir.dir_linkid1 = linkid1;
510 dir.dir_linkid2 = linkid2;
511 if (ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir) < 0)
536 dir.dir_linkid1 = linkid2;
537 dir.dir_linkid2 = linkid1;
539 (void) ioctl(dladm_dld_fd(handle), DLDIOC_RENAME, &dir);