Home
last modified time | relevance | path

Searched refs:nwam_error_t (Results 1 – 25 of 32) sorted by relevance

12

/titanic_41/usr/src/lib/libnwam/common/
H A Dlibnwam.h130 } nwam_error_t; typedef
153 extern nwam_error_t nwam_value_create_boolean(boolean_t, nwam_value_t *);
154 extern nwam_error_t nwam_value_create_boolean_array(boolean_t *, uint_t,
156 extern nwam_error_t nwam_value_create_int64(int64_t, nwam_value_t *);
157 extern nwam_error_t nwam_value_create_int64_array(int64_t *, uint_t,
159 extern nwam_error_t nwam_value_create_uint64(uint64_t, nwam_value_t *);
160 extern nwam_error_t nwam_value_create_uint64_array(uint64_t *, uint_t,
162 extern nwam_error_t nwam_value_create_string(char *, nwam_value_t *);
163 extern nwam_error_t nwam_value_create_string_array(char **, uint_t,
166 extern nwam_error_t nwam_value_get_boolean(nwam_value_t, boolean_t *);
[all …]
H A Dlibnwam_impl.h113 typedef nwam_error_t (*nwam_prop_validate_func_t)(nwam_value_t);
195 extern nwam_error_t nwam_request_register_unregister(nwam_request_type_t,
197 extern nwam_error_t nwam_request_action(nwam_object_type_t, const char *,
199 extern nwam_error_t nwam_request_state(nwam_object_type_t, const char *,
201 extern nwam_error_t nwam_request_wlan(nwam_request_type_t, const char *,
203 extern nwam_error_t nwam_request_wlan_scan_results(const char *name,
205 extern nwam_error_t nwam_request_active_priority_group(int64_t *);
211 extern nwam_error_t nwam_read_object_from_backend(char *, char *,
213 extern nwam_error_t nwam_update_object_in_backend(char *, char *,
215 extern nwam_error_t nwam_remove_object_from_backend(char *, char *,
[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_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);
110 nwam_error_t
117 nwam_error_t
120 nwam_error_t err; in nwam_enm_create()
170 nwam_error_t
176 nwam_error_t
220 nwam_error_t
224 nwam_error_t err = nwam_valid_flags(flags, in nwam_walk_enms()
240 nwam_error_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);
187 nwam_error_t
194 nwam_error_t
197 nwam_error_t err; in nwam_loc_create()
280 nwam_error_t
286 nwam_error_t
[all …]
H A Dlibnwam_values.c71 nwam_error_t
81 nwam_error_t err = NWAM_SUCCESS; in nwam_value_create()
155 nwam_error_t
181 nwam_error_t
189 nwam_error_t
195 nwam_error_t
203 nwam_error_t
209 nwam_error_t
217 nwam_error_t
223 nwam_error_t
[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);
85 nwam_error_t
93 nwam_error_t
96 nwam_error_t err; in nwam_known_wlan_create()
126 nwam_error_t
132 nwam_error_t
167 nwam_error_t err; in get_wlans_cb()
210 nwam_error_t
[all …]
H A Dlibnwam_object.c45 nwam_error_t
71 nwam_error_t
75 nwam_error_t err; in nwam_read()
120 nwam_error_t
136 nwam_error_t
148 nwam_error_t
199 nwam_error_t
210 nwam_error_t err; in nwam_walk()
294 nwam_error_t
298 nwam_error_t err; in nwam_copy()
[all …]
H A Dlibnwam_util.c108 static nwam_error_t
134 nwam_error_t
149 nwam_error_t
173 nwam_error_t
178 nwam_error_t err; in nwam_request_state()
204 nwam_error_t
244 nwam_error_t
249 nwam_error_t err; in nwam_request_wlan_scan_results()
273 nwam_error_t
277 nwam_error_t err; in nwam_request_active_priority_group()
[all …]
H A Dlibnwam_backend.c61 static nwam_error_t
65 nwam_error_t err = NWAM_SUCCESS; in nwam_check_auths()
103 static nwam_error_t
108 nwam_error_t err; in nwam_create_backend_door_arg()
173 static nwam_error_t
177 nwam_error_t err; in nwam_read_object_from_backend_door_arg()
212 nwam_error_t err; in nwam_backend_door_server()
333 nwam_error_t
378 static nwam_error_t
385 nwam_error_t err, reserr; in nwam_backend_door_call()
[all …]
H A Dlibnwam_events.c70 static nwam_error_t
91 nwam_error_t
94 nwam_error_t err; in nwam_event_wait()
132 nwam_error_t
136 nwam_error_t err; in nwam_events_init()
137 nwam_error_t rc = NWAM_SUCCESS; in nwam_events_init()
199 nwam_error_t
222 nwam_error_t
231 nwam_error_t err = NWAM_SUCCESS; in nwam_event_send()
H A Dlibnwam_priv.h122 nwam_error_t nwda_error;
137 nwam_error_t nwbda_result; /* return code */
145 extern nwam_error_t nwam_backend_init(void);
158 extern nwam_error_t nwam_event_send(nwam_event_t);
160 extern nwam_error_t nwam_event_queue_init(const char *);
H A Dlibnwam_wlan.c38 nwam_error_t
48 nwam_error_t
59 nwam_error_t
70 nwam_error_t
H A Dlibnwam_files.c152 nwam_error_t
163 nwam_error_t err; in nwam_line_to_object()
345 static nwam_error_t
351 nwam_error_t err = NWAM_SUCCESS; in create_ncp_file_list()
416 nwam_error_t
424 nwam_error_t err; in nwam_read_object_from_files_backend()
618 nwam_error_t
729 nwam_error_t
736 nwam_error_t err = NWAM_SUCCESS; in nwam_write_object_to_files_backend()
823 nwam_error_t
[all …]
H A Dlibnwam_error.c31 nwam_error_t error_code;
65 nwam_strerror(nwam_error_t code) in nwam_strerror()
/titanic_41/usr/src/lib/libnwam/
H A DREADME167 const char *nwam_strerror(nwam_error_t error);
181 nwam_error_t nwam_value_create_boolean(boolean_t, nwam_value_t *);
182 nwam_error_t nwam_value_create_boolean_array(boolean_t *, uint_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 *);
187 nwam_error_t nwam_value_create_int64_array(int64_t *, uint_t, nwam_value_t *);
188 nwam_error_t nwam_value_create_string(char *, nwam_value_t *);
189 nwam_error_t nwam_value_create_string_array(char **, uint_t, nwam_value_t *);
194 nwam_error_t nwam_value_get_boolean(nwam_value_t, boolean_t *);
[all …]
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Ddoor_if.c74 nwam_error_t (*ndre_fn)(nwamd_door_arg_t *, ucred_t *, struct passwd *);
77 static nwam_error_t nwamd_door_req_event_register(nwamd_door_arg_t *,
79 static nwam_error_t nwamd_door_req_event_unregister(nwamd_door_arg_t *,
81 static nwam_error_t nwamd_door_req_wlan_scan(nwamd_door_arg_t *,
83 static nwam_error_t nwamd_door_req_wlan_scan_results(nwamd_door_arg_t *,
85 static nwam_error_t nwamd_door_req_wlan_select(nwamd_door_arg_t *,
87 static nwam_error_t nwamd_door_req_wlan_set_key(nwamd_door_arg_t *,
89 static nwam_error_t nwamd_door_req_action(nwamd_door_arg_t *,
91 static nwam_error_t nwamd_door_req_state(nwamd_door_arg_t *,
93 static nwam_error_t nwamd_door_req_priority_group(nwamd_door_arg_t *,
[all …]
H A Dncu.h185 extern nwam_error_t nwamd_wlan_select(const char *, const char *, const char *,
187 extern nwam_error_t nwamd_wlan_set_key(const char *, const char *, const char *,
189 extern nwam_error_t nwamd_wlan_scan(const char *);
220 extern nwam_error_t nwamd_set_ncu_uint(nwam_ncu_handle_t, uint64_t *, uint_t,
222 extern nwam_error_t nwamd_set_ncu_string(nwam_ncu_handle_t, char **, uint_t,
224 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 Dknown_wlans.h34 nwam_error_t known_wlan_get_keyname(const char *, char *);
35 nwam_error_t known_wlan_get_keyslot(const char *, uint_t *);
H A Dncu.c63 nwam_error_t err; in nwamd_ncu_object_find()
79 nwam_error_t
83 nwam_error_t err; in nwamd_set_ncu_string()
94 nwam_error_t
98 nwam_error_t err; in nwamd_set_ncu_uint()
109 nwam_error_t
113 nwam_error_t err; in nwamd_get_ncu_string()
120 nwam_error_t
124 nwam_error_t err; in nwamd_get_ncu_uint()
515 nwam_error_t err; in ncu_create_init_fini_event()
[all …]
H A Devents.c317 nwam_error_t err; in nwamd_event_init_link_action()
345 nwam_error_t err; in nwamd_event_init_link_state()
374 nwam_error_t err; in nwamd_event_init_if_state()
421 nwam_error_t err; in nwamd_event_init_wlan()
669 nwam_error_t err; in nwamd_event_send()
H A Dknown_wlans.c304 nwam_error_t err; in upgrade_known_wifi_nets_config()
441 nwam_error_t
447 nwam_error_t err; in known_wlan_get_keyname()
H A Dncu_phys.c362 nwam_error_t err; in find_keyname_cb()
437 nwam_error_t
762 nwam_error_t err; in find_bssid_cb()
814 nwam_error_t
926 nwam_error_t err; in bssid_match()
959 nwam_error_t err; in find_best_wlan_cb()
1494 nwam_error_t
1548 nwam_error_t err; in wlan_connect_thread()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/
H A Dnwamadm.c209 die_nwamerr(nwam_error_t err, const char *format, ...) in die_nwamerr()
271 nwam_error_t ret; in determine_active_ncp()
327 nwam_error_t ret; in valid_ncu()
460 static nwam_error_t
464 nwam_error_t ret; in loc_action()
479 static nwam_error_t
483 nwam_error_t ret; in enm_action()
498 static nwam_error_t
503 nwam_error_t ret; in ncu_action()
548 nwam_error_t ret; in enable_func()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c805 nwamerr(nwam_error_t err, const char *format, ...) in nwamerr()
1133 static nwam_error_t
1155 nwam_error_t ret = NWAM_SUCCESS; in do_commit()
1181 nwam_error_t verr; in do_commit()
1299 nwam_error_t ret = NWAM_SUCCESS; in create_func()
1469 destroy_ret(nwam_object_type_t object_type, nwam_error_t ret, void *handle) in destroy_ret()
1503 nwam_error_t ret = nwam_ncp_destroy(ncp, NWAM_FLAG_DO_NOT_FREE); in destroy_ncp_callback()
1511 nwam_error_t ret = nwam_loc_destroy(loc, NWAM_FLAG_DO_NOT_FREE); in destroy_loc_callback()
1519 nwam_error_t ret = nwam_enm_destroy(enm, NWAM_FLAG_DO_NOT_FREE); in destroy_enm_callback()
1527 nwam_error_t ret = nwam_known_wlan_destroy(wlan, NWAM_FLAG_DO_NOT_FREE); in destroy_wlan_callback()
[all …]

12