Lines Matching defs:linkid
173 * node in a linked list that is sorted by linkid. The list is constructed as
2479 add_datalink(zlog_t *zlogp, char *zone_name, datalink_id_t linkid, char *dlname)
2494 err = dladm_set_linkprop(dld_handle, linkid, "zone", &zone_name, 1,
2507 err = dladm_linkprop_is_set(dld_handle, linkid, DLADM_PROP_VAL_CURRENT,
2513 err = dladm_linkprop_is_set(dld_handle, linkid, DLADM_PROP_VAL_CURRENT,
2522 err = dladm_set_linkprop(dld_handle, linkid, "pool",
2578 zone_setattr_network(int type, zoneid_t zoneid, datalink_id_t linkid,
2591 zndata->zn_linkid = linkid;
2612 datalink_id_t linkid;
2617 linkid = start->za_linkid;
2618 for (ptr = start; ptr != NULL && ptr->za_linkid == linkid;
2714 dlstatus = dladm_linkprop_is_set(dld_handle, linkid, DLADM_OPT_ACTIVE,
2726 dlstatus = dladm_linkprop_is_set(dld_handle, linkid, DLADM_OPT_ACTIVE,
2743 dlstatus = dladm_set_linkprop(dld_handle, linkid, "protection",
2750 dlstatus = dladm_set_linkprop(dld_handle, linkid, "allowed-ips",
2759 err = zone_setattr_network(ZONE_NETWORK_ADDRESS, zoneid, linkid,
2798 linkid, routes, j * sizeof (*routes));
2814 datalink_id_t linkid;
2820 linkid = zalist->za_linkid;
2827 if (ptr->za_linkid == linkid)
2829 linkid = ptr->za_linkid;
2849 datalink_id_t linkid = new->za_linkid;
2856 if (ptr->za_linkid == linkid)
2860 /* linkid does not already exist, add to the beginning */
2866 * occurrence of linkid. Find the last occurrence.
2869 if (next->za_linkid != linkid)
2903 datalink_id_t linkid;
2959 &linkid, NULL, NULL, NULL) == DLADM_STATUS_OK &&
2960 add_datalink(zlogp, zone_name, linkid,
2979 new->za_linkid = linkid;