Lines Matching refs:pargp
206 * retrieved is in `pargp->ia_pname'.
213 ipmgmt_prop_arg_t *pargp = arg;
220 if (!ipmgmt_nvlist_match(db_nvl, pargp->ia_module,
221 pargp->ia_ifname, pargp->ia_aobjname))
224 if ((err = nvlist_lookup_string(db_nvl, pargp->ia_pname,
226 (void) strlcpy(pargp->ia_pval, pval, sizeof (pargp->ia_pval));
243 * removed is in `pargp->ia_pname'.
250 ipmgmt_prop_arg_t *pargp = arg;
253 if (!ipmgmt_nvlist_match(db_nvl, pargp->ia_module,
254 pargp->ia_ifname, pargp->ia_aobjname))
257 if (!nvlist_exists(db_nvl, pargp->ia_pname))
265 if (pargp->ia_flags & IPMGMT_REMOVE) {
267 char *inpval = pargp->ia_pval;
271 *errp = nvlist_lookup_string(db_nvl, pargp->ia_pname, &dbpval);
300 *errp = nvlist_add_string(db_nvl, pargp->ia_pname, pval);