Searched refs:sm (Results 1 - 25 of 375) sorted by relevance

1234567891011>>

/freebsd-10.1-release/contrib/sendmail/libsm/
H A Dpath.c10 #include <sm/gen.h>
13 #include <sm/path.h>
14 #include <sm/string.h>
H A Dstrerror.c14 #include <sm/gen.h>
24 #include <sm/io.h> /* sm_snprintf */
25 #include <sm/string.h>
26 #include <sm/conf.h>
27 #include <sm/errstring.h>
H A Dvprintf.c15 #include <sm/gen.h>
17 #include <sm/io.h>
H A Dxtrap.c10 #include <sm/gen.h>
13 #include <sm/xtrap.h>
/freebsd-10.1-release/contrib/wpa/src/eapol_supp/
H A Deapol_supp_sm.c142 static void eapol_sm_txLogoff(struct eapol_sm *sm);
143 static void eapol_sm_txStart(struct eapol_sm *sm);
144 static void eapol_sm_processKey(struct eapol_sm *sm);
145 static void eapol_sm_getSuppRsp(struct eapol_sm *sm);
146 static void eapol_sm_txSuppRsp(struct eapol_sm *sm);
147 static void eapol_sm_abortSupp(struct eapol_sm *sm);
148 static void eapol_sm_abort_cached(struct eapol_sm *sm);
150 static void eapol_sm_set_port_authorized(struct eapol_sm *sm);
151 static void eapol_sm_set_port_unauthorized(struct eapol_sm *sm);
158 struct eapol_sm *sm local
192 eapol_enable_timer_tick(struct eapol_sm *sm) argument
596 eapol_sm_txLogoff(struct eapol_sm *sm) argument
606 eapol_sm_txStart(struct eapol_sm *sm) argument
625 eapol_sm_processKey(struct eapol_sm *sm) argument
794 eapol_sm_getSuppRsp(struct eapol_sm *sm) argument
804 eapol_sm_txSuppRsp(struct eapol_sm *sm) argument
833 eapol_sm_abortSupp(struct eapol_sm *sm) argument
851 eapol_sm_set_port_authorized(struct eapol_sm *sm) argument
858 eapol_sm_set_port_unauthorized(struct eapol_sm *sm) argument
873 eapol_sm_step(struct eapol_sm *sm) argument
994 eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) argument
1015 eapol_sm_get_method_name(struct eapol_sm *sm) argument
1039 eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, int verbose) argument
1091 eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) argument
1161 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) argument
1282 eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) argument
1296 eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled) argument
1314 eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid) argument
1336 eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) argument
1358 eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail) argument
1382 eapol_sm_notify_config(struct eapol_sm *sm, struct eap_peer_config *config, const struct eapol_config *conf) argument
1417 eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len) argument
1451 eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff) argument
1467 eapol_sm_notify_cached(struct eapol_sm *sm) argument
1485 eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm, int attempt) argument
1499 eapol_sm_abort_cached(struct eapol_sm *sm) argument
1528 eapol_sm_register_scard_ctx(struct eapol_sm *sm, void *ctx) argument
1544 eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl) argument
1562 eapol_sm_notify_ctrl_attached(struct eapol_sm *sm) argument
1577 eapol_sm_notify_ctrl_response(struct eapol_sm *sm) argument
1599 eapol_sm_request_reauth(struct eapol_sm *sm) argument
1617 eapol_sm_notify_lower_layer_success(struct eapol_sm *sm, int in_eapol_sm) argument
1631 eapol_sm_invalidate_cached_session(struct eapol_sm *sm) argument
1640 struct eapol_sm *sm = ctx; local
1647 struct eapol_sm *sm = ctx; local
1657 struct eapol_sm *sm = ctx; local
1687 struct eapol_sm *sm = ctx; local
1724 struct eapol_sm *sm = ctx; local
1738 struct eapol_sm *sm = ctx; local
1754 struct eapol_sm *sm = ctx; local
1765 struct eapol_sm *sm = ctx; local
1778 struct eapol_sm *sm = ctx; local
1795 struct eapol_sm *sm = ctx; local
1808 struct eapol_sm *sm = ctx; local
1818 struct eapol_sm *sm = ctx; local
1827 struct eapol_sm *sm = ctx; local
1862 struct eapol_sm *sm; local
1911 eapol_sm_deinit(struct eapol_sm *sm) argument
1925 eapol_sm_set_ext_pw_ctx(struct eapol_sm *sm, struct ext_password_data *ext) argument
1933 eapol_sm_failed(struct eapol_sm *sm) argument
[all...]
H A Deapol_supp_sm.h258 void eapol_sm_deinit(struct eapol_sm *sm);
259 void eapol_sm_step(struct eapol_sm *sm);
260 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen,
262 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen);
263 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod,
265 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf,
267 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm);
268 void eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled);
269 void eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid);
270 void eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolea
296 eapol_sm_deinit(struct eapol_sm *sm) argument
299 eapol_sm_step(struct eapol_sm *sm) argument
302 eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, int verbose) argument
307 eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) argument
312 eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) argument
317 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) argument
322 eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) argument
325 eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled) argument
329 eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid) argument
333 eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) argument
337 eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail) argument
340 eapol_sm_notify_config(struct eapol_sm *sm, struct eap_peer_config *config, struct eapol_config *conf) argument
345 eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len) argument
349 eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff) argument
352 eapol_sm_notify_cached(struct eapol_sm *sm) argument
357 eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl) argument
361 eapol_sm_notify_ctrl_attached(struct eapol_sm *sm) argument
364 eapol_sm_notify_ctrl_response(struct eapol_sm *sm) argument
367 eapol_sm_request_reauth(struct eapol_sm *sm) argument
370 eapol_sm_notify_lower_layer_success(struct eapol_sm *sm, int in_eapol_sm) argument
374 eapol_sm_invalidate_cached_session(struct eapol_sm *sm) argument
377 eapol_sm_get_method_name(struct eapol_sm *sm) argument
381 eapol_sm_set_ext_pw_ctx(struct eapol_sm *sm, struct ext_password_data *ext) argument
385 eapol_sm_failed(struct eapol_sm *sm) argument
[all...]
/freebsd-10.1-release/contrib/sendmail/src/
H A Dversion.c14 #include <sm/gen.h>
/freebsd-10.1-release/contrib/wpa/src/eap_server/
H A Deap_server.c32 static int eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount,
35 static void eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp);
37 static struct wpabuf * eap_sm_buildSuccess(struct eap_sm *sm, u8 id);
38 static struct wpabuf * eap_sm_buildFailure(struct eap_sm *sm, u8 id);
39 static int eap_sm_nextId(struct eap_sm *sm, int id);
40 static void eap_sm_Policy_update(struct eap_sm *sm, const u8 *nak_list,
42 static EapType eap_sm_Policy_getNextMethod(struct eap_sm *sm, int *vendor);
43 static int eap_sm_Policy_getDecision(struct eap_sm *sm);
44 static Boolean eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method);
82 * @sm
93 eap_user_get(struct eap_sm *sm, const u8 *identity, size_t identity_len, int phase2) argument
827 eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount, int eapSRTT, int eapRTTVAR, int methodTimeout) argument
879 eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp) argument
949 eap_sm_buildSuccess(struct eap_sm *sm, u8 id) argument
967 eap_sm_buildFailure(struct eap_sm *sm, u8 id) argument
985 eap_sm_nextId(struct eap_sm *sm, int id) argument
1007 eap_sm_process_nak(struct eap_sm *sm, const u8 *nak_list, size_t len) argument
1061 eap_sm_Policy_update(struct eap_sm *sm, const u8 *nak_list, size_t len) argument
1078 eap_sm_Policy_getNextMethod(struct eap_sm *sm, int *vendor) argument
1110 eap_sm_Policy_getDecision(struct eap_sm *sm) argument
1185 eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method) argument
1200 eap_server_sm_step(struct eap_sm *sm) argument
1236 struct eap_sm *sm; local
1295 eap_server_sm_deinit(struct eap_sm *sm) argument
1327 eap_sm_notify_cached(struct eap_sm *sm) argument
1342 eap_sm_pending_cb(struct eap_sm *sm) argument
1357 eap_sm_method_pending(struct eap_sm *sm) argument
1371 eap_get_identity(struct eap_sm *sm, size_t *len) argument
1383 eap_get_interface(struct eap_sm *sm) argument
1397 eap_server_clear_identity(struct eap_sm *sm) argument
[all...]
/freebsd-10.1-release/contrib/wpa/src/eapol_auth/
H A Deapol_auth_dump.c122 struct eapol_state_machine *sm)
126 sm->aWhile, sm->quietWhile, sm->reAuthWhen);
135 prefix, _SB(sm->authAbort), _SB(sm->authFail),
136 port_state_txt(sm->authPortStatus), _SB(sm->authStart),
137 prefix, _SB(sm->authTimeout), _SB(sm
121 eapol_auth_dump_state(FILE *f, const char *prefix, struct eapol_state_machine *sm) argument
[all...]
H A Deapol_auth_sm.c23 #define STATE_MACHINE_ADDR sm->addr
30 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 1)
32 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 0)
35 #define txCannedFail() eapol_auth_tx_canned_eap(sm, 0)
36 #define txCannedSuccess() eapol_auth_tx_canned_eap(sm, 1)
37 #define txReq() eapol_auth_tx_req(sm)
84 eapol_auth_tx_canned_eap(struct eapol_state_machine *sm, int success) argument
105 eapol_auth_tx_req(struct eapol_state_machine *sm) argument
763 struct eapol_state_machine *sm; local
855 eapol_auth_free(struct eapol_state_machine *sm) argument
875 eapol_sm_step_run(struct eapol_state_machine *sm) argument
956 struct eapol_state_machine *sm = eloop_ctx; local
968 eapol_auth_step(struct eapol_state_machine *sm) argument
980 eapol_auth_initialize(struct eapol_state_machine *sm) argument
1001 struct eapol_state_machine *sm = ctx; local
1009 struct eapol_state_machine *sm = ctx; local
1022 eapol_auth_eap_pending_cb(struct eapol_state_machine *sm, void *ctx) argument
[all...]
/freebsd-10.1-release/crypto/openssl/crypto/store/
H A Dstr_meth.c90 int STORE_method_set_initialise_function(STORE_METHOD *sm, argument
93 sm->init = init_f;
97 int STORE_method_set_cleanup_function(STORE_METHOD *sm, argument
100 sm->clean = clean_f;
104 int STORE_method_set_generate_function(STORE_METHOD *sm, argument
108 sm->generate_object = generate_f;
112 int STORE_method_set_get_function(STORE_METHOD *sm, argument
115 sm->get_object = get_f;
119 int STORE_method_set_store_function(STORE_METHOD *sm, argument
122 sm
126 STORE_method_set_modify_function(STORE_METHOD *sm, STORE_MODIFY_OBJECT_FUNC_PTR modify_f) argument
133 STORE_method_set_revoke_function(STORE_METHOD *sm, STORE_HANDLE_OBJECT_FUNC_PTR revoke_f) argument
140 STORE_method_set_delete_function(STORE_METHOD *sm, STORE_HANDLE_OBJECT_FUNC_PTR delete_f) argument
147 STORE_method_set_list_start_function(STORE_METHOD *sm, STORE_START_OBJECT_FUNC_PTR list_start_f) argument
155 STORE_method_set_list_next_function(STORE_METHOD *sm, STORE_NEXT_OBJECT_FUNC_PTR list_next_f) argument
163 STORE_method_set_list_end_function(STORE_METHOD *sm, STORE_END_OBJECT_FUNC_PTR list_end_f) argument
170 STORE_method_set_update_store_function(STORE_METHOD *sm, STORE_GENERIC_FUNC_PTR update_f) argument
177 STORE_method_set_lock_store_function(STORE_METHOD *sm, STORE_GENERIC_FUNC_PTR lock_f) argument
184 STORE_method_set_unlock_store_function(STORE_METHOD *sm, STORE_GENERIC_FUNC_PTR unlock_f) argument
191 STORE_method_set_ctrl_function(STORE_METHOD *sm, STORE_CTRL_FUNC_PTR ctrl_f) argument
198 STORE_method_get_initialise_function(STORE_METHOD *sm) argument
204 STORE_method_get_cleanup_function(STORE_METHOD *sm) argument
209 STORE_method_get_generate_function(STORE_METHOD *sm) argument
215 STORE_method_get_get_function(STORE_METHOD *sm) argument
220 STORE_method_get_store_function(STORE_METHOD *sm) argument
225 STORE_method_get_modify_function(STORE_METHOD *sm) argument
231 STORE_method_get_revoke_function(STORE_METHOD *sm) argument
237 STORE_method_get_delete_function(STORE_METHOD *sm) argument
243 STORE_method_get_list_start_function(STORE_METHOD *sm) argument
249 STORE_method_get_list_next_function(STORE_METHOD *sm) argument
255 STORE_method_get_list_end_function(STORE_METHOD *sm) argument
260 STORE_method_get_update_store_function(STORE_METHOD *sm) argument
266 STORE_method_get_lock_store_function(STORE_METHOD *sm) argument
271 STORE_method_get_unlock_store_function(STORE_METHOD *sm) argument
277 STORE_method_get_ctrl_function(STORE_METHOD *sm) argument
[all...]
/freebsd-10.1-release/contrib/ofed/management/opensm/opensm/
H A Dosm_sm_state_mgr.c66 void osm_report_sm_state(osm_sm_t * sm) argument
69 const char *state_str = osm_get_sm_mgr_state_str(sm->p_subn->sm_state);
71 osm_log(sm->p_log, OSM_LOG_SYS, "Entering %s state\n", state_str);
73 OSM_LOG_MSG_BOX(sm->p_log, OSM_LOG_VERBOSE, buf);
78 static void __osm_sm_state_mgr_send_master_sm_info_req(osm_sm_t * sm) argument
84 OSM_LOG_ENTER(sm->p_log);
87 if (sm->p_subn->sm_state == IB_SMINFO_STATE_STANDBY) {
93 p_port = osm_get_port_by_guid(sm->p_subn, sm->master_sm_guid);
97 * to poll on the SM that is saved in p_polling_sm under sm
127 __osm_sm_state_mgr_start_polling(osm_sm_t * sm) argument
161 osm_sm_t *sm = context; local
225 __osm_sm_state_mgr_signal_error(osm_sm_t * sm, IN const osm_sm_signal_t signal) argument
236 osm_sm_state_mgr_signal_master_is_alive(osm_sm_t * sm) argument
245 osm_sm_state_mgr_process(osm_sm_t * sm, IN osm_sm_signal_t signal) argument
463 osm_sm_state_mgr_check_legality(osm_sm_t * sm, IN osm_sm_signal_t signal) argument
[all...]
H A Dosm_sminfo_rcv.c62 Return TRUE if the remote sm given (by ib_sm_info_t) is higher,
68 __osm_sminfo_rcv_remote_sm_is_higher(IN osm_sm_t * sm, argument
73 sm->p_subn->opt.sm_priority,
74 sm->p_subn->sm_port_guid));
81 __osm_sminfo_rcv_process_get_request(IN osm_sm_t * sm, argument
90 OSM_LOG_ENTER(sm->p_log);
101 p_smi->guid = sm->p_subn->sm_port_guid;
102 p_smi->act_count = cl_hton32(sm->p_subn->p_osm->stats.qp0_mads_sent);
103 p_smi->pri_state = (uint8_t) (sm->p_subn->sm_state |
104 sm
167 __osm_sminfo_rcv_process_set_request(IN osm_sm_t * sm, IN const osm_madw_t * const p_madw) argument
309 __osm_sminfo_rcv_process_get_sm(IN osm_sm_t * sm, IN const osm_remote_sm_t * const p_sm, boolean_t light_sweep) argument
424 __osm_sminfo_rcv_process_get_response(IN osm_sm_t * sm, IN const osm_madw_t * const p_madw) argument
519 __osm_sminfo_rcv_process_set_response(IN osm_sm_t * sm, IN const osm_madw_t * const p_madw) argument
558 osm_sm_t *sm = context; local
[all...]
H A Dosm_state_mgr.c66 extern void osm_drop_mgr_process(IN osm_sm_t * sm);
69 extern osm_signal_t osm_mcast_mgr_process(IN osm_sm_t * sm);
70 extern osm_signal_t osm_mcast_mgr_process_mgroups(IN osm_sm_t * sm);
71 extern osm_signal_t osm_link_mgr_process(IN osm_sm_t * sm, IN uint8_t state);
75 static void __osm_state_mgr_up_msg(IN const osm_sm_t * sm) argument
82 osm_log(sm->p_log, sm->p_subn->first_time_master_sweep ?
85 OSM_LOG_MSG_BOX(sm->p_log, OSM_LOG_VERBOSE,
86 sm->p_subn->opt.sweep_interval ?
131 osm_sm_t *sm local
159 __osm_state_mgr_get_remote_port_info(IN osm_sm_t * sm, IN osm_physp_t * const p_physp) argument
200 __osm_state_mgr_sweep_hop_0(IN osm_sm_t * sm) argument
263 __osm_state_mgr_clean_known_lids(IN osm_sm_t * sm) argument
287 __osm_state_mgr_notify_lid_change(IN osm_sm_t * sm) argument
323 __osm_state_mgr_is_sm_port_down(IN osm_sm_t * sm) argument
374 __osm_state_mgr_sweep_hop_1(IN osm_sm_t * sm) argument
501 osm_sm_t *sm = cxt; local
525 osm_sm_t *sm = context; local
573 __osm_state_mgr_light_sweep_start(IN osm_sm_t * sm) argument
653 __osm_state_mgr_exists_other_master_sm(IN osm_sm_t * sm) argument
690 __osm_state_mgr_get_highest_sm(IN osm_sm_t * sm) argument
745 __osm_state_mgr_send_handover(IN osm_sm_t * const sm, IN osm_remote_sm_t * const p_sm) argument
815 __osm_state_mgr_report_new_ports(IN osm_sm_t * sm) argument
893 __osm_state_mgr_check_tbl_consistency(IN osm_sm_t * sm) argument
1040 do_sweep(osm_sm_t * sm) argument
1360 do_process_mgrp_queue(osm_sm_t * sm) argument
1368 osm_state_mgr_process(IN osm_sm_t * sm, IN osm_signal_t signal) argument
[all...]
/freebsd-10.1-release/sys/boot/userboot/userboot/
H A Dbiossmap.c47 struct bios_smap smap[3], *sm; local
51 sm = &smap[0];
53 sm->base = 0; /* base memory */
54 sm->length = 640 * 1024;
55 sm->type = SMAP_TYPE_MEMORY;
56 sm++;
58 sm->base = 0x100000; /* extended memory */
59 sm->length = lowmem - 0x100000;
60 sm->type = SMAP_TYPE_MEMORY;
61 sm
[all...]
/freebsd-10.1-release/contrib/wpa/src/eap_peer/
H A Deap.c38 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor,
40 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id);
41 static void eap_sm_processIdentity(struct eap_sm *sm,
43 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req);
45 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req);
53 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) argument
55 return sm->eapol_cb->get_bool(sm->eapol_ctx, var);
59 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, argument
62 sm
66 eapol_get_int(struct eap_sm *sm, enum eapol_int_var var) argument
72 eapol_set_int(struct eap_sm *sm, enum eapol_int_var var, unsigned int value) argument
79 eapol_get_eapReqData(struct eap_sm *sm) argument
85 eap_notify_status(struct eap_sm *sm, const char *status, const char *parameter) argument
95 eap_deinit_prev_method(struct eap_sm *sm, const char *txt) argument
118 eap_allowed_method(struct eap_sm *sm, int vendor, u32 method) argument
555 eap_success_workaround(struct eap_sm *sm, int reqId, int lastId) argument
585 eap_peer_sm_step_idle(struct eap_sm *sm) argument
617 eap_peer_req_is_duplicate(struct eap_sm *sm) argument
643 eap_peer_sm_step_received(struct eap_sm *sm) argument
692 eap_peer_sm_step_local(struct eap_sm *sm) argument
775 eap_sm_allowMethod(struct eap_sm *sm, int vendor, EapType method) argument
791 eap_sm_build_expanded_nak( struct eap_sm *sm, int id, const struct eap_method *methods, size_t count) argument
838 eap_sm_buildNak(struct eap_sm *sm, int id) argument
887 eap_sm_processIdentity(struct eap_sm *sm, const struct wpabuf *req) argument
936 eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, size_t max_len, size_t *imsi_len) argument
978 eap_sm_imsi_identity(struct eap_sm *sm, struct eap_peer_config *conf) argument
1049 eap_sm_set_scard_pin(struct eap_sm *sm, struct eap_peer_config *conf) argument
1071 eap_sm_get_scard_identity(struct eap_sm *sm, struct eap_peer_config *conf) argument
1096 eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted) argument
1156 eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req) argument
1195 eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req) argument
1297 struct eap_sm *sm = ctx; local
1366 struct eap_sm *sm; local
1414 eap_peer_sm_deinit(struct eap_sm *sm) argument
1436 eap_peer_sm_step(struct eap_sm *sm) argument
1456 eap_sm_abort(struct eap_sm *sm) argument
1560 eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, int verbose) argument
1621 eap_sm_request(struct eap_sm *sm, enum wpa_ctrl_req_type field, const char *msg, size_t msglen) argument
1679 eap_sm_get_method_name(struct eap_sm *sm) argument
1696 eap_sm_request_identity(struct eap_sm *sm) argument
1711 eap_sm_request_password(struct eap_sm *sm) argument
1726 eap_sm_request_new_password(struct eap_sm *sm) argument
1741 eap_sm_request_pin(struct eap_sm *sm) argument
1757 eap_sm_request_otp(struct eap_sm *sm, const char *msg, size_t msg_len) argument
1772 eap_sm_request_passphrase(struct eap_sm *sm) argument
1785 eap_sm_notify_ctrl_attached(struct eap_sm *sm) argument
1892 eap_set_fast_reauth(struct eap_sm *sm, int enabled) argument
1903 eap_set_workaround(struct eap_sm *sm, unsigned int workaround) argument
1919 eap_get_config(struct eap_sm *sm) argument
1931 eap_get_config_identity(struct eap_sm *sm, size_t *len) argument
1941 eap_get_ext_password(struct eap_sm *sm, struct eap_peer_config *config) argument
1968 eap_get_config_password(struct eap_sm *sm, size_t *len) argument
1995 eap_get_config_password2(struct eap_sm *sm, size_t *len, int *hash) argument
2021 eap_get_config_new_password(struct eap_sm *sm, size_t *len) argument
2037 eap_get_config_otp(struct eap_sm *sm, size_t *len) argument
2055 eap_clear_config_otp(struct eap_sm *sm) argument
2072 eap_get_config_phase1(struct eap_sm *sm) argument
2086 eap_get_config_phase2(struct eap_sm *sm) argument
2095 eap_get_config_fragment_size(struct eap_sm *sm) argument
2109 eap_key_available(struct eap_sm *sm) argument
2124 eap_notify_success(struct eap_sm *sm) argument
2140 eap_notify_lower_layer_success(struct eap_sm *sm) argument
2171 eap_get_eapKeyData(struct eap_sm *sm, size_t *len) argument
2193 eap_get_eapRespData(struct eap_sm *sm) argument
2215 eap_register_scard_ctx(struct eap_sm *sm, void *ctx) argument
2230 eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob) argument
2244 eap_get_config_blob(struct eap_sm *sm, const char *name) argument
2263 eap_set_force_disabled(struct eap_sm *sm, int disabled) argument
2278 eap_notify_pending(struct eap_sm *sm) argument
2288 eap_invalidate_cached_session(struct eap_sm *sm) argument
2321 eap_sm_set_ext_pw_ctx(struct eap_sm *sm, struct ext_password_data *ext) argument
2335 eap_set_anon_id(struct eap_sm *sm, const u8 *id, size_t len) argument
[all...]
H A Deap.h286 void eap_peer_sm_deinit(struct eap_sm *sm);
287 int eap_peer_sm_step(struct eap_sm *sm);
288 void eap_sm_abort(struct eap_sm *sm);
289 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen,
291 const char * eap_sm_get_method_name(struct eap_sm *sm);
292 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted);
293 void eap_sm_request_identity(struct eap_sm *sm);
294 void eap_sm_request_password(struct eap_sm *sm);
295 void eap_sm_request_new_password(struct eap_sm *sm);
296 void eap_sm_request_pin(struct eap_sm *sm);
[all...]
/freebsd-10.1-release/contrib/wpa/src/rsn_supp/
H A Dpreauth.h16 void pmksa_candidate_free(struct wpa_sm *sm);
17 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst,
19 void rsn_preauth_deinit(struct wpa_sm *sm);
20 int rsn_preauth_scan_results(struct wpa_sm *sm);
21 void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid,
23 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid,
25 void rsn_preauth_candidate_process(struct wpa_sm *sm);
26 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen,
28 int rsn_preauth_in_progress(struct wpa_sm *sm);
32 static inline void pmksa_candidate_free(struct wpa_sm *sm) argument
36 rsn_preauth_candidate_process(struct wpa_sm *sm) argument
40 rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct eap_peer_config *eap_conf) argument
46 rsn_preauth_deinit(struct wpa_sm *sm) argument
50 rsn_preauth_scan_results(struct wpa_sm *sm) argument
55 rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, const u8 *ssid, const u8 *rsn) argument
60 pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, int prio, int preauth) argument
66 rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument
72 rsn_preauth_in_progress(struct wpa_sm *sm) argument
[all...]
H A Dwpa_i.h128 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state) argument
130 WPA_ASSERT(sm->ctx->set_state);
131 sm->ctx->set_state(sm->ctx->ctx, state);
134 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm) argument
136 WPA_ASSERT(sm->ctx->get_state);
137 return sm->ctx->get_state(sm->ctx->ctx);
140 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) argument
142 WPA_ASSERT(sm
146 wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
156 wpa_sm_get_network_ctx(struct wpa_sm *sm) argument
162 wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) argument
168 wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, u16 proto, const u8 *buf, size_t len) argument
175 wpa_sm_get_beacon_ie(struct wpa_sm *sm) argument
181 wpa_sm_cancel_auth_timeout(struct wpa_sm *sm) argument
187 wpa_sm_alloc_eapol(struct wpa_sm *sm, u8 type, const void *data, u16 data_len, size_t *msg_len, void **data_pos) argument
196 wpa_sm_add_pmkid(struct wpa_sm *sm, const u8 *bssid, const u8 *pmkid) argument
203 wpa_sm_remove_pmkid(struct wpa_sm *sm, const u8 *bssid, const u8 *pmkid) argument
210 wpa_sm_mlme_setprotection(struct wpa_sm *sm, const u8 *addr, int protect_type, int key_type) argument
218 wpa_sm_update_ft_ies(struct wpa_sm *sm, const u8 *md, const u8 *ies, size_t ies_len) argument
226 wpa_sm_send_ft_action(struct wpa_sm *sm, u8 action, const u8 *target_ap, const u8 *ies, size_t ies_len) argument
236 wpa_sm_mark_authenticated(struct wpa_sm *sm, const u8 *target_ap) argument
244 wpa_sm_set_rekey_offload(struct wpa_sm *sm) argument
253 wpa_sm_tdls_get_capa(struct wpa_sm *sm, int *tdls_supported, int *tdls_ext_setup) argument
263 wpa_sm_send_tdls_mgmt(struct wpa_sm *sm, const u8 *dst, u8 action_code, u8 dialog_token, u16 status_code, const u8 *buf, size_t len) argument
275 wpa_sm_tdls_oper(struct wpa_sm *sm, int oper, const u8 *peer) argument
284 wpa_sm_tdls_peer_addset(struct wpa_sm *sm, const u8 *addr, int add, u16 capability, const u8 *supp_rates, size_t supp_rates_len) argument
[all...]
H A Dpreauth.c35 * @sm: Pointer to WPA state machine data from wpa_sm_init()
37 void pmksa_candidate_free(struct wpa_sm *sm) argument
41 if (sm == NULL)
44 dl_list_for_each_safe(entry, n, &sm->pmksa_candidates,
55 struct wpa_sm *sm = ctx; local
60 if (sm->preauth_eapol == NULL ||
61 is_zero_ether_addr(sm->preauth_bssid) ||
62 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) {
69 eapol_sm_rx_eapol(sm->preauth_eapol, src_addr, buf, len);
76 struct wpa_sm *sm local
118 struct wpa_sm *sm = eloop_ctx; local
130 struct wpa_sm *sm = ctx; local
167 rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct eap_peer_config *eap_conf) argument
257 rsn_preauth_deinit(struct wpa_sm *sm) argument
284 rsn_preauth_candidate_process(struct wpa_sm *sm) argument
349 pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, int prio, int preauth) argument
417 rsn_preauth_scan_results(struct wpa_sm *sm) argument
439 rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, const u8 *ssid, const u8 *rsn) argument
479 rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument
506 rsn_preauth_in_progress(struct wpa_sm *sm) argument
[all...]
H A Dwpa.c28 * @sm: Pointer to WPA state machine data from wpa_sm_init()
37 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, argument
41 if (is_zero_ether_addr(dest) && is_zero_ether_addr(sm->bssid)) {
46 if (wpa_sm_get_bssid(sm, sm->bssid) < 0) {
47 wpa_dbg(sm->ctx->msg_ctx, MSG_DEBUG,
51 dest = sm->bssid;
52 wpa_dbg(sm->ctx->msg_ctx, MSG_DEBUG,
60 wpa_msg(sm->ctx->msg_ctx, MSG_ERROR,
68 wpa_sm_ether_send(sm, des
85 wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) argument
137 wpa_supplicant_get_pmk(struct wpa_sm *sm, const unsigned char *src_addr, const u8 *pmkid) argument
270 wpa_supplicant_send_2_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, int ver, const u8 *nonce, const u8 *wpa_ie, size_t wpa_ie_len, struct wpa_ptk *ptk) argument
355 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument
373 wpa_supplicant_process_1_of_4(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, u16 ver) argument
455 struct wpa_sm *sm = eloop_ctx; local
460 wpa_supplicant_key_neg_complete(struct wpa_sm *sm, const u8 *addr, int secure) argument
506 struct wpa_sm *sm = eloop_ctx; local
512 wpa_supplicant_install_ptk(struct wpa_sm *sm, const struct wpa_eapol_key *key) argument
566 wpa_supplicant_check_group_cipher(struct wpa_sm *sm, int group_cipher, int keylen, int maxkeylen, int *key_rsc_len, enum wpa_alg *alg) argument
602 wpa_supplicant_install_gtk(struct wpa_sm *sm, const struct wpa_gtk_data *gd, const u8 *key_rsc) argument
644 wpa_supplicant_gtk_tx_bit_workaround(const struct wpa_sm *sm, int tx) argument
662 wpa_supplicant_pairwise_gtk(struct wpa_sm *sm, const struct wpa_eapol_key *key, const u8 *gtk, size_t gtk_len, int key_info) argument
712 ieee80211w_set_keys(struct wpa_sm *sm, struct wpa_eapol_ie_parse *ie) argument
752 wpa_report_ie_mismatch(struct wpa_sm *sm, const char *reason, const u8 *src_addr, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *rsn_ie, size_t rsn_ie_len) argument
792 ft_validate_mdie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie, const u8 *assoc_resp_mdie) argument
823 ft_validate_ftie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie, const u8 *assoc_resp_ftie) argument
851 ft_validate_rsnie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument
886 wpa_supplicant_validate_ie_ft(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument
921 wpa_supplicant_validate_ie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument
996 wpa_supplicant_send_4_of_4(struct wpa_sm *sm, const unsigned char *dst, const struct wpa_eapol_key *key, u16 ver, u16 key_info, const u8 *kde, size_t kde_len, struct wpa_ptk *ptk) argument
1039 wpa_supplicant_process_3_of_4(struct wpa_sm *sm, const struct wpa_eapol_key *key, u16 ver) argument
1144 wpa_supplicant_process_1_of_2_rsn(struct wpa_sm *sm, const u8 *keydata, size_t keydatalen, u16 key_info, struct wpa_gtk_data *gd) argument
1194 wpa_supplicant_process_1_of_2_wpa(struct wpa_sm *sm, const struct wpa_eapol_key *key, size_t keydatalen, int key_info, size_t extra_len, u16 ver, struct wpa_gtk_data *gd) argument
1277 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument
1312 wpa_supplicant_process_1_of_2(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, int extra_len, u16 ver) argument
1370 wpa_supplicant_verify_eapol_key_mic(struct wpa_sm *sm, struct wpa_eapol_key *key, u16 ver, const u8 *buf, size_t len) argument
1423 wpa_supplicant_decrypt_key_data(struct wpa_sm *sm, struct wpa_eapol_key *key, u16 ver) argument
1490 wpa_sm_aborted_cached(struct wpa_sm *sm) argument
1500 wpa_eapol_key_dump(struct wpa_sm *sm, const struct wpa_eapol_key *key) argument
1552 wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
1816 wpa_key_mgmt_suite(struct wpa_sm *sm) argument
1864 wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) argument
1940 struct wpa_sm *sm = ctx; local
1988 struct wpa_sm *sm; local
2017 wpa_sm_deinit(struct wpa_sm *sm) argument
2044 wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument
2099 wpa_sm_notify_disassoc(struct wpa_sm *sm) argument
2119 wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len) argument
2142 wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) argument
2162 wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) argument
2174 wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) argument
2193 wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config) argument
2229 wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) argument
2242 wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, const char *bridge_ifname) argument
2257 wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument
2271 wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param, unsigned int value) argument
2335 wpa_sm_get_param(struct wpa_sm *sm, enum wpa_sm_conf_params param) argument
2379 wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument
2422 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
2467 wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
2502 wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
2537 wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
2571 wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data) argument
2587 wpa_sm_pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len) argument
2597 wpa_sm_drop_sa(struct wpa_sm *sm) argument
2608 wpa_sm_has_ptk(struct wpa_sm *sm) argument
2616 wpa_sm_update_replay_ctr(struct wpa_sm *sm, const u8 *replay_ctr) argument
2622 wpa_sm_pmksa_cache_flush(struct wpa_sm *sm, void *network_ctx) argument
2631 wpa_wnmsleep_install_key(struct wpa_sm *sm, u8 subelem_id, u8 *buf) argument
[all...]
H A Dwpa.h95 void wpa_sm_deinit(struct wpa_sm *sm);
96 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid);
97 void wpa_sm_notify_disassoc(struct wpa_sm *sm);
98 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len);
99 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm);
100 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth);
101 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx);
102 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config);
103 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr);
104 void wpa_sm_set_ifname(struct wpa_sm *sm, cons
146 wpa_sm_deinit(struct wpa_sm *sm) argument
150 wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument
154 wpa_sm_notify_disassoc(struct wpa_sm *sm) argument
158 wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len) argument
163 wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) argument
167 wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) argument
171 wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) argument
175 wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config) argument
180 wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) argument
184 wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, const char *bridge_ifname) argument
189 wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument
193 wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
199 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument
206 wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
212 wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument
218 wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) argument
223 wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param, unsigned int value) argument
230 wpa_sm_get_param(struct wpa_sm *sm, enum wpa_sm_conf_params param) argument
236 wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument
242 wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) argument
253 wpa_sm_aborted_cached(struct wpa_sm *sm) argument
257 wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument
263 wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data) argument
269 wpa_sm_pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len) argument
275 wpa_sm_drop_sa(struct wpa_sm *sm) argument
279 wpa_sm_has_ptk(struct wpa_sm *sm) argument
284 wpa_sm_update_replay_ctr(struct wpa_sm *sm, const u8 *replay_ctr) argument
289 wpa_sm_pmksa_cache_flush(struct wpa_sm *sm, void *network_ctx) argument
299 wpa_sm_stkstart(struct wpa_sm *sm, const u8 *peer) argument
321 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) argument
326 wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie) argument
333 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, int ft_action, const u8 *target_ap) argument
339 wpa_ft_is_completed(struct wpa_sm *sm) argument
345 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, const u8 *src_addr) argument
[all...]
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspace_map.c59 space_map_load(space_map_t *sm, range_tree_t *rt, maptype_t maptype) argument
65 ASSERT(MUTEX_HELD(sm->sm_lock));
67 end = space_map_length(sm);
68 space = space_map_allocated(sm);
73 range_tree_add(rt, sm->sm_start, sm->sm_size);
74 space = sm->sm_size - space;
77 bufsize = MAX(sm->sm_blksz, SPA_MINBLOCKSIZE);
80 mutex_exit(sm->sm_lock);
82 dmu_prefetch(sm
139 space_map_histogram_clear(space_map_t *sm) argument
148 space_map_histogram_verify(space_map_t *sm, range_tree_t *rt) argument
162 space_map_histogram_add(space_map_t *sm, range_tree_t *rt, dmu_tx_t *tx) argument
214 space_map_entries(space_map_t *sm, range_tree_t *rt) argument
237 space_map_set_blocksize(space_map_t *sm, uint64_t size, dmu_tx_t *tx) argument
292 space_map_write(space_map_t *sm, range_tree_t *rt, maptype_t maptype, dmu_tx_t *tx) argument
401 space_map_open_impl(space_map_t *sm) argument
419 space_map_t *sm; local
447 space_map_close(space_map_t *sm) argument
461 space_map_reallocate(space_map_t *sm, dmu_tx_t *tx) argument
473 space_map_truncate(space_map_t *sm, dmu_tx_t *tx) argument
511 space_map_update(space_map_t *sm) argument
545 space_map_free(space_map_t *sm, dmu_tx_t *tx) argument
570 space_map_object(space_map_t *sm) argument
579 space_map_allocated(space_map_t *sm) argument
588 space_map_length(space_map_t *sm) argument
597 space_map_alloc_delta(space_map_t *sm) argument
[all...]
/freebsd-10.1-release/contrib/wpa/src/ap/
H A Dwpa_auth.c30 #define STATE_MACHINE_ADDR sm->addr
34 static int wpa_sm_step(struct wpa_state_machine *sm);
39 static void wpa_request_new_ptk(struct wpa_state_machine *sm);
135 int (*cb)(struct wpa_state_machine *sm, void *ctx),
199 static int wpa_use_aes_cmac(struct wpa_state_machine *sm) argument
203 if (wpa_key_mgmt_ft(sm->wpa_key_mgmt))
207 if (wpa_key_mgmt_sha256(sm->wpa_key_mgmt))
258 struct wpa_state_machine *sm = timeout_ctx; local
260 wpa_auth_logger(wpa_auth, sm->addr, LOGGER_DEBUG, "rekeying PTK");
261 wpa_request_new_ptk(sm);
134 wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) argument
266 wpa_auth_pmksa_clear_cb(struct wpa_state_machine *sm, void *ctx) argument
511 struct wpa_state_machine *sm; local
525 wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm) argument
559 wpa_auth_sta_no_wpa(struct wpa_state_machine *sm) argument
571 wpa_free_sta_sm(struct wpa_state_machine *sm) argument
586 wpa_auth_sta_deinit(struct wpa_state_machine *sm) argument
615 wpa_request_new_ptk(struct wpa_state_machine *sm) argument
655 ft_check_msg_2_of_4(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_ie_parse *kde) argument
704 wpa_receive_error_report(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int group) argument
737 wpa_receive(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, u8 *data, size_t data_len) argument
1198 struct wpa_state_machine *sm = timeout_ctx; local
1207 __wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr, int force_version) argument
1358 wpa_send_eapol(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int key_info, const u8 *key_rsc, const u8 *nonce, const u8 *kde, size_t kde_len, int keyidx, int encr) argument
1414 wpa_remove_ptk(struct wpa_state_machine *sm) argument
1424 wpa_auth_sm_event(struct wpa_state_machine *sm, wpa_event event) argument
1729 wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *pmk, struct wpa_ptk *ptk) argument
1833 ieee80211w_kde_len(struct wpa_state_machine *sm) argument
1843 ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos) argument
1873 ieee80211w_kde_len(struct wpa_state_machine *sm) argument
1879 ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos) argument
2394 wpa_group_update_sta(struct wpa_state_machine *sm, void *ctx) argument
2430 wpa_wnmsleep_rekey_gtk(struct wpa_state_machine *sm) argument
2439 wpa_set_wnmsleep(struct wpa_state_machine *sm, int flag) argument
2445 wpa_wnmsleep_gtk_subelem(struct wpa_state_machine *sm, u8 *pos) argument
2477 wpa_wnmsleep_igtk_subelem(struct wpa_state_machine *sm, u8 *pos) argument
2602 wpa_sm_step(struct wpa_state_machine *sm) argument
2645 struct wpa_state_machine *sm = eloop_ctx; local
2650 wpa_auth_sm_notify(struct wpa_state_machine *sm) argument
2782 wpa_get_mib_sta(struct wpa_state_machine *sm, char *buf, size_t buflen) argument
2841 wpa_auth_pairwise_set(struct wpa_state_machine *sm) argument
2847 wpa_auth_get_pairwise(struct wpa_state_machine *sm) argument
2853 wpa_auth_sta_key_mgmt(struct wpa_state_machine *sm) argument
2861 wpa_auth_sta_wpa_version(struct wpa_state_machine *sm) argument
2869 wpa_auth_sta_clear_pmksa(struct wpa_state_machine *sm, struct rsn_pmksa_cache_entry *entry) argument
2880 wpa_auth_sta_get_pmksa(struct wpa_state_machine *sm) argument
2886 wpa_auth_sta_local_mic_failure_report(struct wpa_state_machine *sm) argument
2902 wpa_auth_pmksa_add(struct wpa_state_machine *sm, const u8 *pmk, int session_timeout, struct eapol_state_machine *eapol) argument
2956 wpa_auth_sta_set_vlan(struct wpa_state_machine *sm, int vlan_id) argument
2987 wpa_auth_eapol_key_tx_status(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, int ack) argument
3017 wpa_auth_uses_sae(struct wpa_state_machine *sm) argument
[all...]
/freebsd-10.1-release/contrib/wpa/src/utils/
H A Dstate_machine.h33 static void sm_ ## machine ## _ ## state ## _Enter(STATE_MACHINE_DATA *sm, \
47 if (!global || sm->machine ## _state != machine ## _ ## state) { \
48 sm->changed = TRUE; \
52 sm->machine ## _state = machine ## _ ## state;
66 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \
67 sm->changed = TRUE; \
71 sm->data ## _ ## state = machine ## _ ## _state;
84 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \
85 sm->changed = TRUE; \
90 sm
[all...]

Completed in 120 milliseconds

1234567891011>>