IPADM_NVP_PROTONAME
(err = nvlist_add_string(nvl, IPADM_NVP_PROTONAME,
if (nvlist_lookup_string(db_nvl, IPADM_NVP_PROTONAME,
assert(nvlist_exists(db_nvl, IPADM_NVP_PROTONAME));
if (strcmp(name, IPADM_NVP_PROTONAME) == 0) {
if (nvlist_add_string(db_nvl, IPADM_NVP_PROTONAME,
else if (strcmp(name, IPADM_NVP_PROTONAME) == 0 &&
if (strcmp(IPADM_NVP_PROTONAME, name) == 0)
if (strcmp(IPADM_NVP_PROTONAME, name) == 0)
if (strcmp(IPADM_NVP_PROTONAME, name) == 0)
if (nvlist_lookup_string(db_nvl, IPADM_NVP_PROTONAME, &modstr) == 0) {
} else if (strcmp(name, IPADM_NVP_PROTONAME) == 0) {
} else if (nvlist_exists(nvl, IPADM_NVP_PROTONAME) == B_TRUE) {