Lines Matching refs:link1
560 * Case 1: rename an existing link1 to a link2 that does not exist.
565 const char *link1, const char *link2, uint32_t flags)
587 (void) strlcpy(dir.dir_link, link1, MAXLINKNAMELEN);
639 * Case 2: rename an available physical link link1 to a REMOVED physical link
640 * link2. As a result, link1 directly inherits all datalinks configured
677 * Send DLDIOC_RENAME to request to rename link1's linkid to
678 * be linkid2. This will check whether link1 is used by any
727 * Delete link1 and mark link2 up.
763 * Set the removed physical link's device name to link1, so that
764 * when link1 attaches, it inherits all the link configuration of
768 i_dladm_rename_link_c3(dladm_handle_t handle, const char *link1,
774 if (!dladm_valid_linkname(link1))
782 DLADM_TYPE_STR, link1)) == DLADM_STATUS_OK) {
793 dladm_rename_link(dladm_handle_t handle, const char *link1, const char *link2)
803 (void) dladm_name2info(handle, link1, &linkid1, &flags1, &class1,
820 status = i_dladm_rename_link_c1(handle, linkid1, link1,
825 * physical link. Return failure if link1 is not
839 status = i_dladm_rename_link_c3(handle, link1, linkid2);