Lines Matching refs:idlist

198 netcfg_read_lists_from_door_arg(netcfgd_door_arg_t *arg, nvlist_t **idlist,
208 if ((nverr = nvlist_unpack((char *)idptr, arg->nda_idlen, idlist, 0))
292 netcfg_door_call(netcfgd_door_cmd_t cmd, nvlist_t **idlist, uint64_t flags,
303 nverr = nvlist_pack(*idlist, &idnvlbuf, &idnvlsize, NV_ENCODE_XDR, 0);
365 nvlist_free(*idlist);
366 *idlist = NULL;
367 err = netcfg_read_lists_from_door_arg(rargp, idlist, obj);
379 * Read object specified by the passed-in idlist, retrieving an object
382 * If idlist is NULL, obj is a list of string arrays consisting of the list
386 * in idlist, read all objects in the specified dbname and create an object
390 * specified by idlist.
393 netcfg_read_object(nvlist_t **idlist, uint64_t flags, nvlist_t **obj)
395 return (netcfg_door_call(NETCFGD_DOOR_CMD_READ_REQ, idlist, flags,
400 * Read in all objects from the DB and object specified by idlist and update
404 netcfg_update_object(nvlist_t **idlist, uint64_t flags, nvlist_t **obj)
406 return (netcfg_door_call(NETCFGD_DOOR_CMD_UPDATE_REQ, idlist, flags,
424 * removing the object identified by idlist, and writing the remainder.
426 * If idlist only identifies the DB, remove the DB altogether.
429 netcfg_remove_object(nvlist_t **idlist, uint64_t flags)
431 return (netcfg_door_call(NETCFGD_DOOR_CMD_REMOVE_REQ, idlist, flags,
441 netcfg_get_object_props(nvlist_t **idlist, uint64_t flags, nvlist_t **objlist)
443 return (netcfg_door_call(NETCFGD_DOOR_CMD_GETPROP_REQ, idlist, flags,
449 * pair in the idlist), passing in the object and the provided argument.
452 * be passed both the idlist and objlist, as well as the flags. It should
460 netcfg_walk_db(nvlist_t **idlist, uint64_t flags, netcfg_walkcb_t *cb,
475 * Calling netcfg_read_object() with an idlist containing just a
481 if ((nerr = netcfg_read_object(idlist, flags, &nvlist))
492 dbzoneid = zoneid_from_idlist(*idlist);
544 netcfg_walk_db_raw(nvlist_t **idlist, uint64_t flags, netcfg_rawcb_t cb,
558 * Calling netcfg_read_object() with an idlist containing just a
565 if ((nerr = netcfg_read_object(idlist, flags, &nvlist))
602 * by the passed-in idlist; its contents are specified in the dblist param.
604 * be the string representation of the entry's idlist (the output of
609 netcfg_create_db(nvlist_t **idlist, uint64_t flags, nvlist_t **dblist)
611 return (netcfg_door_call(NETCFGD_DOOR_CMD_DBCREATE_REQ, idlist, flags,
616 * Destroy the database specified by the passed-in idlist.
619 netcfg_destroy_db(nvlist_t **idlist)
621 return (netcfg_door_call(NETCFGD_DOOR_CMD_DBDESTROY_REQ, idlist, 0,
626 netcfg_backup_db(nvlist_t **idlist)
628 return (netcfg_door_call(NETCFGD_DOOR_CMD_DBBACKUP_REQ, idlist, 0,
633 netcfg_restore_db(nvlist_t **idlist)
635 return (netcfg_door_call(NETCFGD_DOOR_CMD_DBRESTORE_REQ, idlist, 0,
640 netcfg_destroy_backup_db(nvlist_t **idlist)
642 return (netcfg_door_call(NETCFGD_DOOR_CMD_DBDESTROYBACKUP_REQ, idlist,