Lines Matching refs:link

33  * There are two zoneid's associated with a link.  One is the zoneid of the
34 * zone in which the link was created (ll_zoneid in the dlmgmt_link_t), and
35 * the other is the zoneid of the zone where the link is currently assigned
36 * (the "zone" link property). The two can be different if a datalink is
38 * via zonecfg or via explicitly setting the "zone" link property.
74 * Check if the caller has the required privileges to operate on a link of the
149 char link[MAXLINKNAMELEN];
156 * Determine whether this link is persistent. Note that this request
157 * is coming from kernel so this link must be active.
165 * Hold the writer lock to update the link table.
174 * physical link. If so, return its linkid.
216 * The link name already exists. Return error if this is a
217 * non-physical link (in that case, the link name must be
224 * The physical link's name already exists, request
225 * a suggested link name: net<nextppa>
227 err = dlmgmt_generate_name("net", link, MAXLINKNAMELEN, zoneid);
231 err = dlmgmt_create_common(link, class, media, zoneid, flags,
241 * This is a new link. Only need to persist link attributes for
291 * Hold the writer lock to update the link table.
297 * physical link. If so, return its linkid.
312 * Assume a DL_ETHER link ce0, a DL_WIFI link ath0
313 * 1. # dladm rename-link ce0 net0
315 * 3. use rename-link to have the ath0 device inherit
317 * # dladm rename-link ath0 net0
325 * Return the media type of the existing link to indicate the
335 * Return an error if this is a physical link that does not
336 * support vanity naming, but the link name is not the same
370 * Hold the writer lock to update the link table.
414 * Hold the reader lock to access the link
443 * Hold the reader lock to access the link
449 * The link does not exist in this zone.
472 dlmgmt_link_t link, *linkp;
477 * Hold the reader lock to access the link
481 link.ll_linkid = (getnext->ld_linkid + 1);
482 if ((linkp = avl_find(&dlmgmt_id_avl, &link, &where)) == NULL)
518 * Hold the reader lock to access the link
539 char link[MAXLINKNAMELEN];
551 err = dlmgmt_generate_name(createid->ld_link, link,
556 err = dlmgmt_create_common(link, createid->ld_class,
594 * Hold the writer lock to update the link table.
618 * Remap a linkid to a given link name, i.e., rename an existing link1
620 * the given link name.
640 * Hold the writer lock to update the link table.
701 * Hold the writer lock to update the link table.
861 * Hold the writer lock to update the link table.
869 * The link does not exist.
878 * Something has changed the link configuration; try again.
932 * configuration of a link that is on loan from the global
1008 * Hold the reader lock to access the link
1013 /* The persistent link configuration does not exist. */
1076 * Hold the reader lock to access the link
1081 /* The persistent link configuration does not exist. */
1183 "linkprop initialization failed on link %d: %s",
1219 /* We can only assign an active link to a zone. */
1232 * Before we remove the link from its current zone, make sure that
1233 * there isn't a link with the same name in the destination zone.
1244 dlmgmt_log(LOG_WARNING, "unable to remove link %d from "
1254 dlmgmt_log(LOG_WARNING, "unable to add link %d to zone "