Home
last modified time | relevance | path

Searched refs:nvl_addr (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_persist.c363 nvlist_t *nvl_addr = NULL; in i_ipadm_add_ipaddr2nvl() local
376 if ((err = nvlist_alloc(&nvl_addr, NV_UNIQUE_NAME, 0)) != 0) in i_ipadm_add_ipaddr2nvl()
378 if ((err = nvlist_add_nvlist(nvl, name, nvl_addr)) != 0) { in i_ipadm_add_ipaddr2nvl()
379 nvlist_free(nvl_addr); in i_ipadm_add_ipaddr2nvl()
382 nvlist_free(nvl_addr); in i_ipadm_add_ipaddr2nvl()
384 if ((err = nvlist_lookup_nvlist(nvl, name, &nvl_addr)) != 0 || in i_ipadm_add_ipaddr2nvl()
385 (err = nvlist_add_string(nvl_addr, IPADM_NVP_IPADDRHNAME, in i_ipadm_add_ipaddr2nvl()
389 if ((err = nvlist_add_string(nvl_addr, IPADM_NVP_IPDADDRHNAME, in i_ipadm_add_ipaddr2nvl()
407 nvlist_t *nvl_addr = NULL; in i_ipadm_add_intfid2nvl() local
412 if ((err = nvlist_alloc(&nvl_addr, NV_UNIQUE_NAME, 0)) != 0) in i_ipadm_add_intfid2nvl()
[all …]