Home
last modified time | relevance | path

Searched refs:nwam_value_t (Results 1 – 19 of 19) sorted by relevance

/titanic_41/usr/src/lib/libnwam/common/
H A Dlibnwam_impl.h113 typedef nwam_error_t (*nwam_prop_validate_func_t)(nwam_value_t);
239 nwam_error_t nwam_next_object_prop(void *, char *, char **, nwam_value_t *);
246 extern nwam_error_t nwam_set_prop_value(void *, const char *, nwam_value_t);
247 extern nwam_error_t nwam_get_prop_value(void *, const char *, nwam_value_t *);
268 int(*)(const char *, nwam_value_t, void *), void *, uint64_t, int *);
284 const char *, nwam_value_t);
296 extern nwam_error_t nwam_valid_condition(nwam_value_t);
297 extern nwam_error_t nwam_valid_boolean(nwam_value_t);
298 extern nwam_error_t nwam_valid_uint64(nwam_value_t);
299 extern nwam_error_t nwam_valid_domain(nwam_value_t);
[all …]
H A Dlibnwam.h150 typedef struct nwam_value *nwam_value_t; typedef
153 extern nwam_error_t nwam_value_create_boolean(boolean_t, nwam_value_t *);
155 nwam_value_t *);
156 extern nwam_error_t nwam_value_create_int64(int64_t, nwam_value_t *);
158 nwam_value_t *);
159 extern nwam_error_t nwam_value_create_uint64(uint64_t, nwam_value_t *);
161 nwam_value_t *);
162 extern nwam_error_t nwam_value_create_string(char *, nwam_value_t *);
164 nwam_value_t *);
166 extern nwam_error_t nwam_value_get_boolean(nwam_value_t, boolean_t *);
[all …]
H A Dlibnwam_values.c45 nwam_value_free(nwam_value_t value) in nwam_value_free()
73 nwam_value_t *valuep) in nwam_value_create()
75 nwam_value_t newvalue; in nwam_value_create()
156 nwam_value_copy(nwam_value_t old, nwam_value_t *newp) in nwam_value_copy()
183 nwam_value_t *valuep) in nwam_value_create_boolean_array()
190 nwam_value_create_boolean(boolean_t value, nwam_value_t *valuep) in nwam_value_create_boolean()
197 nwam_value_t *valuep) in nwam_value_create_int64_array()
204 nwam_value_create_int64(int64_t value, nwam_value_t *valuep) in nwam_value_create_int64()
211 nwam_value_t *valuep) in nwam_value_create_uint64_array()
218 nwam_value_create_uint64(uint64_t value, nwam_value_t *valuep) in nwam_value_create_uint64()
[all …]
H A Dlibnwam_ncp.c66 static nwam_error_t valid_type(nwam_value_t);
67 static nwam_error_t valid_class(nwam_value_t);
68 static nwam_error_t valid_ncp(nwam_value_t);
69 static nwam_error_t valid_priority_mode(nwam_value_t);
70 static nwam_error_t valid_ncu_activation_mode(nwam_value_t);
71 static nwam_error_t valid_link_autopush(nwam_value_t);
72 static nwam_error_t valid_link_mtu(nwam_value_t);
73 static nwam_error_t valid_ip_version(nwam_value_t);
74 static nwam_error_t valid_addrsrc_v4(nwam_value_t);
75 static nwam_error_t valid_addrsrc_v6(nwam_value_t);
[all …]
H A Dlibnwam_loc.c52 typedef nwam_error_t (*nwam_loc_prop_validate_func_t)(nwam_value_t);
54 static nwam_error_t valid_loc_activation_mode(nwam_value_t);
55 static nwam_error_t valid_loc_condition(nwam_value_t);
56 static nwam_error_t valid_nameservices(nwam_value_t);
57 static nwam_error_t valid_configsrc(nwam_value_t);
198 nwam_value_t val = NULL; in nwam_loc_create()
305 nwam_value_t activationval; in loc_selectcb()
397 nwam_value_t value) in nwam_loc_set_prop_value()
416 nwam_value_t *valuep) in nwam_loc_get_prop_value()
423 int (*cb)(const char *, nwam_value_t, void *), in nwam_loc_walk_props() argument
[all …]
H A Dlibnwam_enm.c49 typedef nwam_error_t (*nwam_enm_prop_validate_func_t)(nwam_value_t);
51 static nwam_error_t valid_enm_activation_mode(nwam_value_t);
121 nwam_value_t actval = NULL, falseval = NULL, fmrival = NULL; in nwam_enm_create()
194 nwam_value_t actval; in enm_selectcb()
298 nwam_value_t value) in nwam_enm_set_prop_value()
317 nwam_value_t *valuep) in nwam_enm_get_prop_value()
324 int (*cb)(const char *, nwam_value_t, void *), in nwam_enm_walk_props() argument
365 valid_enm_activation_mode(nwam_value_t value) in valid_enm_activation_mode()
385 nwam_value_t activationval, enabledval, fmrival = NULL, startval = NULL; in nwam_enm_validate()
386 nwam_value_t conditionval = NULL; in nwam_enm_validate()
[all …]
H A Dlibnwam_known_wlan.c50 static nwam_error_t valid_keyname(nwam_value_t);
51 static nwam_error_t valid_keyslot(nwam_value_t);
52 static nwam_error_t valid_secmode(nwam_value_t);
97 nwam_value_t priorityval = NULL; in nwam_known_wlan_create()
168 nwam_value_t priorityval = NULL; in get_wlans_cb()
327 const char *propname, nwam_value_t value) in nwam_known_wlan_set_prop_value()
342 const char *propname, nwam_value_t *valuep) in nwam_known_wlan_get_prop_value()
349 int (*cb)(const char *, nwam_value_t, void *), in nwam_known_wlan_walk_props() argument
363 nwam_value_t priorityval; in avoid_priority_collisions_cb()
428 nwam_value_t priorityval; in nwam_known_wlan_commit()
[all …]
H A Dlibnwam_util.c548 nwam_valid_condition(nwam_value_t value) in nwam_valid_condition()
573 nwam_valid_boolean(nwam_value_t value) in nwam_valid_boolean()
591 nwam_valid_uint64(nwam_value_t value) in nwam_valid_uint64()
609 nwam_valid_domain(nwam_value_t value) in nwam_valid_domain()
655 nwam_valid_host_v4(nwam_value_t value) in nwam_valid_host_v4()
684 nwam_valid_route_v4(nwam_value_t value) in nwam_valid_route_v4()
700 nwam_valid_host_v6(nwam_value_t value) in nwam_valid_host_v6()
729 nwam_valid_route_v6(nwam_value_t value) in nwam_valid_route_v6()
744 nwam_valid_host_any(nwam_value_t value) in nwam_valid_host_any()
753 nwam_valid_host_or_domain(nwam_value_t value) in nwam_valid_host_or_domain()
[all …]
H A Dlibnwam_object.c206 nwam_value_t value; in nwam_walk()
325 int (*cb)(const char *, nwam_value_t, void *), in nwam_walk_props() argument
329 nwam_value_t value; in nwam_walk_props()
621 nwam_validate_prop_internal(const char *propname, nwam_value_t value, in nwam_validate_prop_internal()
677 const char *propname, nwam_value_t value) in nwam_validate_prop()
H A Dlibnwam_files.c162 nwam_value_t val = NULL; in nwam_line_to_object()
427 nwam_value_t objnamesval = NULL; in nwam_read_object_from_files_backend()
434 nwam_value_t enmval = NULL, locval = NULL, ncpval = NULL; in nwam_read_object_from_files_backend()
627 nwam_value_t val; in nwam_object_to_line()
830 nwam_value_t value = NULL; in nwam_update_object_in_files_backend()
/titanic_41/usr/src/lib/libnwam/
H A DREADME152 and nwam_<entity>_get_prop_value(). These functions require an nwam_value_t as
154 of functions. Data can be retrieved from the nwam_value_t via the
156 set, the associated nwam_value_t can be immediately freed. For retrieval,
157 the nwam_value_t should be freed when the value(s) are no longer needed.
178 and are possibly multi-valued. An nwam_value_t must be created in order
181 nwam_error_t nwam_value_create_boolean(boolean_t, nwam_value_t *);
183 nwam_value_t *);
184 nwam_error_t nwam_value_create_uint64(uint64_t, nwam_value_t *);
185 nwam_error_t nwam_value_create_uint64_array(uint64_t *, uint_t, nwam_value_t *);
186 nwam_error_t nwam_value_create_int64(int64_t, nwam_value_t *);
[all …]
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dknown_wlans.c318 nwam_value_t priorityval = NULL; in upgrade_known_wifi_nets_config()
319 nwam_value_t bssidsval = NULL; in upgrade_known_wifi_nets_config()
320 nwam_value_t secmodeval = NULL; in upgrade_known_wifi_nets_config()
321 nwam_value_t keynameval = NULL; in upgrade_known_wifi_nets_config()
445 nwam_value_t keynameval = NULL; in known_wlan_get_keyname()
H A Denm.c102 nwam_value_t enabledval; in enm_is_enabled()
123 nwam_value_t activationval; in enm_get_activation_mode()
149 nwam_value_t scriptval = NULL; in nwamd_enm_activate_deactivate_thread()
372 nwam_value_t fmrival; in nwamd_enm_activate()
480 nwam_value_t fmrival; in nwamd_enm_deactivate()
615 nwam_value_t conditionval; in nwamd_enm_check()
H A Dncu.h224 extern nwam_error_t nwamd_get_ncu_uint(nwam_ncu_handle_t, nwam_value_t *,
226 extern nwam_error_t nwamd_get_ncu_string(nwam_ncu_handle_t, nwam_value_t *,
H A Dloc.c106 nwam_value_t enabledval; in loc_is_enabled()
131 nwam_value_t activationval; in loc_get_activation_mode()
251 nwam_value_t conditionval; in nwamd_loc_check()
H A Dncu.c84 nwam_value_t val; in nwamd_set_ncu_string()
99 nwam_value_t val; in nwamd_set_ncu_uint()
110 nwamd_get_ncu_string(nwam_ncu_handle_t ncuh, nwam_value_t *val, char ***strval, in nwamd_get_ncu_string()
121 nwamd_get_ncu_uint(nwam_ncu_handle_t ncuh, nwam_value_t *val, in nwamd_get_ncu_uint()
516 nwam_value_t typeval = NULL; in ncu_create_init_fini_event()
604 nwam_value_t ncu_prop; in populate_common_ncu_properties()
647 nwam_value_t ncu_prop; in populate_link_ncu_properties()
738 nwam_value_t ncu_prop; in populate_ip_ncu_properties()
H A Dncu_phys.c363 nwam_value_t old_key; in find_keyname_cb()
763 nwam_value_t bssidval; in find_bssid_cb()
925 nwam_value_t bssidsval; in bssid_match()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c1993 static nwam_value_t
1998 nwam_value_t data; in str_to_nwam_value()
2295 nwam_value_t prop_val; in show_prop_test()
2525 nwam_value_t prop_value; in set_func()
2708 output_prop_val(const char *prop_name, nwam_value_t value, FILE *wf, in output_prop_val()
2781 output_propname_common(const char *prop, nwam_value_t values, void *arg, in output_propname_common()
2800 output_propname(const char *prop, nwam_value_t values, void *arg) in output_propname()
2807 output_loc_propname(const char *prop, nwam_value_t values, void *arg) in output_loc_propname()
2827 nwam_value_t vals; in listprop()
3203 nwam_value_t values, FILE *of) in write_export_command()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/
H A Dnwamadm.c1294 nwam_value_t keynameval = NULL; in select_wifi_func()