Searched refs:ipnvl (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_persist.c623 ipadm_str2nvlist(const char *inbuf, nvlist_t **ipnvl, uint_t flags) argument
628 if (inbuf == NULL || inbuf[0] == '\0' || ipnvl == NULL)
630 *ipnvl = NULL;
660 if (*ipnvl == NULL &&
661 (err = nvlist_alloc(ipnvl, NV_UNIQUE_NAME, 0)) != 0)
663 if (nvlist_exists(*ipnvl, name)) {
667 /* Add the extracted nvpair to the nvlist `ipnvl'. */
668 (void) i_ipadm_add_nvpair(*ipnvl, name, val);
674 nvlist_free(*ipnvl);
675 *ipnvl
[all...]

Completed in 99 milliseconds