Lines Matching defs:simnet_id
184 datalink_id_t simnet_id;
194 &simnet_id)) != DLADM_STATUS_OK)
198 attr.sna_link_id = simnet_id;
213 (void) dladm_set_linkprop(handle, simnet_id, NULL, NULL, 0, flags);
217 (void) dladm_destroy_datalink_id(handle, simnet_id, flags);
224 i_dladm_simnet_update_conf(dladm_handle_t handle, datalink_id_t simnet_id,
231 status = dladm_open_conf(handle, simnet_id, &conf);
248 status = dladm_write_conf(handle, conf, simnet_id);
256 dladm_simnet_modify(dladm_handle_t handle, datalink_id_t simnet_id,
269 if ((dladm_datalink_id2info(handle, simnet_id, &linkflags, &class,
288 if ((status = dladm_simnet_info(handle, simnet_id, &prevattr,
293 attr.sna_link_id = simnet_id;
300 status = i_dladm_simnet_update_conf(handle, simnet_id,
315 status = i_dladm_simnet_update_conf(handle, simnet_id,
319 peer_simnet_id, simnet_id);
326 dladm_simnet_delete(dladm_handle_t handle, datalink_id_t simnet_id,
334 if ((dladm_datalink_id2info(handle, simnet_id, NULL, &class,
344 if ((status = dladm_simnet_info(handle, simnet_id, &prevattr,
349 attr.sna_link_id = simnet_id;
354 (void) dladm_set_linkprop(handle, simnet_id, NULL,
356 (void) dladm_destroy_datalink_id(handle, simnet_id,
364 (void) dladm_remove_conf(handle, simnet_id);
365 (void) dladm_destroy_datalink_id(handle, simnet_id,
378 dladm_simnet_info(dladm_handle_t handle, datalink_id_t simnet_id,
384 if ((dladm_datalink_id2info(handle, simnet_id, NULL, &class,
392 attrp->sna_link_id = simnet_id;
413 i_dladm_simnet_up(dladm_handle_t handle, datalink_id_t simnet_id, void *arg)
421 attr.sna_link_id = simnet_id;
422 status = dladm_simnet_info(handle, simnet_id, &attr,
443 if ((status = dladm_up_datalink_id(handle, simnet_id)) !=
445 (void) dladm_simnet_delete(handle, simnet_id,
457 dladm_simnet_up(dladm_handle_t handle, datalink_id_t simnet_id,
462 if (simnet_id == DATALINK_ALL_LINKID) {
468 (void) i_dladm_simnet_up(handle, simnet_id, &status);
475 i_dladm_simnet_down(dladm_handle_t handle, datalink_id_t simnet_id, void *arg)
482 attr.sna_link_id = simnet_id;
497 dladm_simnet_down(dladm_handle_t handle, datalink_id_t simnet_id,
502 if (simnet_id == DATALINK_ALL_LINKID) {
507 (void) i_dladm_simnet_down(handle, simnet_id, &status);