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

/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdladm_impl.h148 } val_desc_t; typedef in typeref:struct:val_desc
150 #define VALCNT(vals) (sizeof ((vals)) / sizeof (val_desc_t))
162 * rp_extract extracts the kernel structure from the val_desc_t created
165 typedef dladm_status_t rp_extractf_t(val_desc_t *, uint_t, void *);
H A Dlibdlflow_impl.h42 typedef dladm_status_t fpd_setf_t(dladm_handle_t, const char *, val_desc_t *,
45 val_desc_t **);
49 val_desc_t pd_defval;
50 val_desc_t *pd_modval;
H A Dlinkprop.c94 * - propval: a val_desc_t array which keeps the property values to be set.
98 * pd_set takes val_desc_t given by pd_check(), translates it into
104 val_desc_t *propval, uint_t cnt, uint_t flags,
117 * verified to be valid, pd_check allocates a val_desc_t and fills it
118 * with either a val_desc_t found on the pd_modval list or something
123 uint_t flags, val_desc_t **propval,
192 val_desc_t pd_defval;
200 val_desc_t *pd_optval;
227 * the pd_optval. Return a val_desc_t array pointer if the value is
423 static val_desc_t link_duplex_val
[all...]
H A Dflowprop.c342 do_set_maxbw(dladm_handle_t handle, const char *flow, val_desc_t *vdp,
375 val_desc_t **vdpp)
378 val_desc_t *vdp = NULL;
399 vdp = malloc(sizeof (val_desc_t));
473 val_desc_t *vdp;
475 vdp = malloc(sizeof (val_desc_t) * aip->ai_count);
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.c583 val_desc_t *vdp = NULL;
606 if ((vdp = malloc(sizeof (val_desc_t))) == NULL)
609 (void) memcpy(vdp, &pdp->pd_defval, sizeof (val_desc_t));

Completed in 48 milliseconds