Lines Matching defs:prop_name

1017     const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags,
1028 if (prop_name != NULL &&
1029 (strcasecmp(prop_name, pdp->pd_name) != 0))
1035 if (prop_name != NULL) {
1041 * prop_name of NULL to indicate that all
1058 if (prop_name[0] == '_') {
1061 prop_name, prop_val, val_cnt, flags);
1074 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags)
1084 (prop_name == NULL && prop_val != NULL)) {
1096 status = i_dladm_set_linkprop(handle, linkid, prop_name, prop_val,
1107 status = i_dladm_set_linkprop_db(handle, linkid, prop_name,
1117 if (prop_name != NULL &&
1118 strcasecmp(prop_name, pdp->pd_name) != 0)
1178 dladm_prop_type_t type, const char *prop_name, char **prop_val,
1194 if (linkid == DATALINK_INVALID_LINKID || prop_name == NULL ||
1199 if (strcasecmp(prop_name, prop_table[i].pd_name) == 0)
1203 if (prop_name[0] == '_') {
1209 prop_name, prop_val, val_cntp));
1212 prop_name, prop_val, val_cntp, type,
1296 status = i_dladm_get_linkprop_db(handle, linkid, prop_name,
1314 dladm_prop_type_t type, const char *prop_name, uint_t *ret_val,
1326 if (linkid == DATALINK_INVALID_LINKID || prop_name == NULL ||
1331 if (strcasecmp(prop_name, pdp->pd_name) == 0)
1395 prop_name, prop_val, val_cntp);
1444 const char *prop_name, void *arg)
1464 prop_name, propvals, &valcnt) != DLADM_STATUS_OK) {
1468 status = dladm_set_linkprop(handle, linkid, prop_name, propvals,
3614 const char *prop_name, char **prop_val, uint_t val_cnt)
3629 status = dladm_unset_conf_field(handle, conf, prop_name);
3642 status = dladm_set_conf_field(handle, conf, prop_name, DLADM_TYPE_STR,
3654 const char *prop_name, char **prop_val, uint_t *val_cntp)
3665 status = dladm_get_conf_field(handle, conf, prop_name, buf, MAXLINELEN);
3723 dladm_name2prop(const char *prop_name)
3728 if (strcmp(p->pp_name, prop_name) == 0)
3748 const char *prop_name, mac_prop_id_t propid, uint_t flags,
3763 (void) strlcpy(dip->pr_name, prop_name, sizeof (dip->pr_name));
3772 const char *prop_name, uint_t flags, dladm_status_t *status)
3776 p = dladm_name2prop(prop_name);
3778 return (i_dladm_buf_alloc_impl(valsize, linkid, prop_name, p->pp_id,
3863 char *prop_name, uint_t flags, uint_t *perm_flags, void *arg, size_t size)
3868 dip = i_dladm_buf_alloc_by_name(0, linkid, prop_name, flags, &status);
4165 const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags)
4174 if ((prop_name == NULL && prop_val != NULL) ||
4177 p = dladm_name2prop(prop_name);
4199 dip = i_dladm_buf_alloc_by_name(bufsize + 1, linkid, prop_name,
4234 const char *prop_name, char **prop_val, uint_t *val_cnt,
4241 if ((prop_name == NULL && prop_val != NULL) ||
4245 p = dladm_name2prop(prop_name);
4252 dip = i_dladm_buf_alloc_by_name(DLADM_PROP_BUF_CHUNK, linkid, prop_name,
4626 const char *prop_name, void *arg)
4633 * it is fine to point to prop_name since prop_name points to the
4636 aip->ai_name = prop_name;
4639 prop_name, aip->ai_val, &aip->ai_count);
4811 dladm_prop_type_t type, const char *prop_name, boolean_t *is_set)
4833 if (dladm_get_linkprop(handle, linkid, type, prop_name, propvals,
4844 if ((strcmp(prop_name, "pool") == 0 ||
4845 strcmp(prop_name, "protection") == 0 ||
4846 strcmp(prop_name, "secondary-macs") == 0 ||
4847 strcmp(prop_name, "allowed-ips") == 0) &&
4850 } else if ((strcmp(prop_name, "cpus") == 0) && (valcnt != 0)) {
4852 } else if ((strcmp(prop_name, "_softmac") == 0) && (valcnt != 0) &&