Lines Matching defs:link1
387 * Case 1: rename an existing link1 to a link2 that does not exist.
392 const char *link1, const char *link2, uint32_t flags)
414 (void) strlcpy(dir.dir_link, link1, MAXLINKNAMELEN);
466 * Case 2: rename an available physical link link1 to a REMOVED physical link
467 * link2. As a result, link1 directly inherits all datalinks configured
504 * Send DLDIOC_RENAME to request to rename link1's linkid to
505 * be linkid2. This will check whether link1 is used by any
554 * Delete link1 and mark link2 up.
589 * Set the removed physical link's device name to link1, so that
590 * when link1 attaches, it inherits all the link configuration of
594 i_dladm_rename_link_c3(dladm_handle_t handle, const char *link1,
600 if (!dladm_valid_linkname(link1))
608 DLADM_TYPE_STR, link1)) == DLADM_STATUS_OK) {
619 dladm_rename_link(dladm_handle_t handle, const char *link1, const char *link2)
629 (void) dladm_name2info(handle, link1, &linkid1, &flags1, &class1,
646 status = i_dladm_rename_link_c1(handle, linkid1, link1,
651 * physical link. Return failure if link1 is not
665 status = i_dladm_rename_link_c3(handle, link1, linkid2);