Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libipadm/common/
H A Dipadm_persist.c444 nvlist_t *nvl_dhcp = NULL; in i_ipadm_add_dhcp2nvl() local
448 if ((err = nvlist_alloc(&nvl_dhcp, NV_UNIQUE_NAME, 0)) != 0) in i_ipadm_add_dhcp2nvl()
451 nvl_dhcp)) != 0) { in i_ipadm_add_dhcp2nvl()
452 nvlist_free(nvl_dhcp); in i_ipadm_add_dhcp2nvl()
455 nvlist_free(nvl_dhcp); in i_ipadm_add_dhcp2nvl()
457 if ((err = nvlist_lookup_nvlist(nvl, IPADM_NVP_DHCP, &nvl_dhcp)) != 0 || in i_ipadm_add_dhcp2nvl()
458 (err = nvlist_add_int32(nvl_dhcp, IPADM_NVP_WAIT, wait)) != 0 || in i_ipadm_add_dhcp2nvl()
459 (err = nvlist_add_boolean_value(nvl_dhcp, IPADM_NVP_PRIMARY, in i_ipadm_add_dhcp2nvl()