Lines Matching refs:simnet_id

183 	datalink_id_t simnet_id;
193 &simnet_id)) != DLADM_STATUS_OK)
197 attr.sna_link_id = simnet_id;
212 (void) dladm_set_linkprop(handle, simnet_id, NULL, NULL, 0, flags);
216 (void) dladm_destroy_datalink_id(handle, simnet_id, flags);
223 i_dladm_simnet_update_conf(dladm_handle_t handle, datalink_id_t simnet_id,
230 status = dladm_open_conf(handle, simnet_id, &conf);
255 dladm_simnet_modify(dladm_handle_t handle, datalink_id_t simnet_id,
268 if ((dladm_datalink_id2info(handle, simnet_id, &linkflags, &class,
287 if ((status = dladm_simnet_info(handle, simnet_id, &prevattr,
292 attr.sna_link_id = simnet_id;
299 status = i_dladm_simnet_update_conf(handle, simnet_id,
314 status = i_dladm_simnet_update_conf(handle, simnet_id,
318 peer_simnet_id, simnet_id);
325 dladm_simnet_delete(dladm_handle_t handle, datalink_id_t simnet_id,
333 if ((dladm_datalink_id2info(handle, simnet_id, NULL, &class,
343 if ((status = dladm_simnet_info(handle, simnet_id, &prevattr,
348 attr.sna_link_id = simnet_id;
352 (void) dladm_set_linkprop(handle, simnet_id, NULL,
354 (void) dladm_destroy_datalink_id(handle, simnet_id,
362 (void) dladm_remove_conf(handle, simnet_id);
363 (void) dladm_destroy_datalink_id(handle, simnet_id,
376 dladm_simnet_info(dladm_handle_t handle, datalink_id_t simnet_id,
382 if ((dladm_datalink_id2info(handle, simnet_id, NULL, &class,
390 attrp->sna_link_id = simnet_id;
411 i_dladm_simnet_up(dladm_handle_t handle, datalink_id_t simnet_id, void *arg)
419 attr.sna_link_id = simnet_id;
420 status = dladm_simnet_info(handle, simnet_id, &attr,
441 if ((status = dladm_up_datalink_id(handle, simnet_id)) !=
443 (void) dladm_simnet_delete(handle, simnet_id,
455 dladm_simnet_up(dladm_handle_t handle, datalink_id_t simnet_id,
460 if (simnet_id == DATALINK_ALL_LINKID) {
466 (void) i_dladm_simnet_up(handle, simnet_id, &status);