Lines Matching refs:pdp
164 i_ipadm_pd2permstr(ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize)
168 if (pdp->ipd_set != NULL)
170 if (pdp->ipd_get != NULL)
1057 ipadm_prop_desc_t *pdp, const void *pval, uint_t af, uint_t flags)
1106 * `pdp', on the address object in `arg'.
1111 ipadm_prop_desc_t *pdp, const void *pval, uint_t af, uint_t flags)
1119 strcmp(pdp->ipd_name, "deprecated") == 0)
1129 if (strcmp(pdp->ipd_name, "private") == 0) {
1134 } else if (strcmp(pdp->ipd_name, "transmit") == 0) {
1139 } else if (strcmp(pdp->ipd_name, "deprecated") == 0) {
1159 ipadm_prop_desc_t *pdp, const void *pval, uint_t af, uint_t flags)
1216 ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t af,
1329 ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t af,
1418 ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t af,
1429 if (strcmp(pdp->ipd_name, "private") == 0 ||
1430 strcmp(pdp->ipd_name, "deprecated") == 0) {
1432 } else if (strcmp(pdp->ipd_name, "transmit") == 0) {
1448 if (strcmp(pdp->ipd_name, "private") == 0)
1450 else if (strcmp(pdp->ipd_name, "transmit") == 0)
1452 else if (strcmp(pdp->ipd_name, "deprecated") == 0)
1469 ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t af,
1532 ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t af,
1617 ipadm_prop_desc_t *pdp = NULL;
1631 if ((pdp = i_ipadm_get_addrprop_desc(pname)) == NULL)
1653 status = i_ipadm_pd2permstr(pdp, buf, &psize);
1660 status = pdp->ipd_get(iph, &ipaddr, pdp, buf, &psize,
1665 status = pdp->ipd_get(iph, &ipaddr, pdp, buf, &psize,
1669 if (pdp->ipd_get_range != NULL) {
1670 status = pdp->ipd_get_range(iph, &ipaddr, pdp, buf,
1678 status = i_ipadm_get_persist_propval(iph, pdp, buf, &psize,
1707 ipadm_prop_desc_t *pdp = NULL;
1725 if ((pdp = i_ipadm_get_addrprop_desc(pname)) == NULL)
1728 if (pdp->ipd_set == NULL || (reset && pdp->ipd_get == NULL))
1731 if (!(pdp->ipd_flags & IPADMPROP_MULVAL) &&
1776 status = pdp->ipd_get(iph, &ipaddr, pdp, defbuf, &defbufsize,
1783 status = pdp->ipd_set(iph, &ipaddr, pdp, pval, af, pflags);
1792 status = i_ipadm_persist_propval(iph, pdp, pval, &ipaddr,