Searched refs:val_desc_t (Results 1 - 6 of 6) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/libdladm/common/
H A Dlibdladm_impl.h131 } val_desc_t; typedef in typeref:struct:val_desc
133 #define VALCNT(vals) (sizeof ((vals)) / sizeof (val_desc_t))
145 * rp_extract extracts the kernel structure from the val_desc_t created
148 typedef dladm_status_t rp_extractf_t(val_desc_t *, uint_t, void *);
H A Dlibdlflow_impl.h43 typedef dladm_status_t fpd_setf_t(dladm_handle_t, const char *, val_desc_t *,
46 val_desc_t **);
50 val_desc_t pd_defval;
51 val_desc_t *pd_modval;
H A Dlinkprop.c86 * - propval: a val_desc_t array which keeps the property values to be set.
90 * pd_set takes val_desc_t given by pd_check(), translates it into
96 val_desc_t *propval, uint_t cnt, uint_t flags,
109 * verified to be valid, pd_check allocates a val_desc_t and fills it
110 * with either a val_desc_t found on the pd_modval list or something
115 uint_t flags, val_desc_t **propval,
175 val_desc_t pd_defval;
183 val_desc_t *pd_optval;
210 * the pd_optval. Return a val_desc_t array pointer if the value is
384 static val_desc_t link_duplex_val
[all...]
H A Dflowprop.c290 do_set_maxbw(dladm_handle_t handle, const char *flow, val_desc_t *vdp,
322 val_desc_t **vdpp)
325 val_desc_t *vdp = NULL;
346 vdp = malloc(sizeof (val_desc_t));
385 do_set_priority(dladm_handle_t handle, const char *flow, val_desc_t *vdp,
416 val_desc_t **vdpp)
419 val_desc_t *vdp = NULL;
432 vdp = malloc(sizeof (val_desc_t));
504 val_desc_t *vdp;
506 vdp = malloc(sizeof (val_desc_t) * ai
[all...]
H A Dlibdlwlan.c94 static boolean_t find_val_by_name(const char *, val_desc_t *,
96 static boolean_t find_name_by_val(uint_t, val_desc_t *, uint_t, char **);
102 static val_desc_t linkstatus_vals[] = {
107 static val_desc_t secmode_vals[] = {
113 static val_desc_t strength_vals[] = {
121 static val_desc_t mode_vals[] = {
129 static val_desc_t auth_vals[] = {
134 static val_desc_t bsstype_vals[] = {
877 find_val_by_name(const char *str, val_desc_t *vdp, uint_t cnt, uint_t *valp)
891 find_name_by_val(uint_t val, val_desc_t *vd
[all...]
H A Dpropfuncs.c584 val_desc_t *vdp = NULL;
607 if ((vdp = malloc(sizeof (val_desc_t))) == NULL)
610 (void) memcpy(vdp, &pdp->pd_defval, sizeof (val_desc_t));

Completed in 79 milliseconds