/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/eapol_auth/ |
H A D | eapol_auth_dump.c | 128 struct eapol_state_machine *sm) 132 sm->aWhile, sm->quietWhile, sm->reAuthWhen); 141 prefix, _SB(sm->authAbort), _SB(sm->authFail), 142 port_state_txt(sm->authPortStatus), _SB(sm->authStart), 143 prefix, _SB(sm->authTimeout), _SB(sm 127 eapol_auth_dump_state(FILE *f, const char *prefix, struct eapol_state_machine *sm) argument [all...] |
H A D | eapol_auth_sm.c | 29 #define STATE_MACHINE_ADDR sm->addr 36 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 1) 38 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 0) 41 #define txCannedFail() eapol_auth_tx_canned_eap(sm, 0) 42 #define txCannedSuccess() eapol_auth_tx_canned_eap(sm, 1) 43 #define txReq() eapol_auth_tx_req(sm) 90 eapol_auth_tx_canned_eap(struct eapol_state_machine *sm, int success) argument 111 eapol_auth_tx_req(struct eapol_state_machine *sm) argument 767 struct eapol_state_machine *sm; local 846 eapol_auth_free(struct eapol_state_machine *sm) argument 866 eapol_sm_step_run(struct eapol_state_machine *sm) argument 947 struct eapol_state_machine *sm = eloop_ctx; local 959 eapol_auth_step(struct eapol_state_machine *sm) argument 971 eapol_auth_initialize(struct eapol_state_machine *sm) argument 992 struct eapol_state_machine *sm = ctx; local 1000 struct eapol_state_machine *sm = ctx; local 1013 eapol_auth_eap_pending_cb(struct eapol_state_machine *sm, void *ctx) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/eap_server/ |
H A D | eap_server.c | 38 static int eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount, 41 static void eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp); 43 static struct wpabuf * eap_sm_buildSuccess(struct eap_sm *sm, u8 id); 44 static struct wpabuf * eap_sm_buildFailure(struct eap_sm *sm, u8 id); 45 static int eap_sm_nextId(struct eap_sm *sm, int id); 46 static void eap_sm_Policy_update(struct eap_sm *sm, const u8 *nak_list, 48 static EapType eap_sm_Policy_getNextMethod(struct eap_sm *sm, int *vendor); 49 static int eap_sm_Policy_getDecision(struct eap_sm *sm); 50 static Boolean eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method); 88 * @sm 99 eap_user_get(struct eap_sm *sm, const u8 *identity, size_t identity_len, int phase2) argument 814 eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount, int eapSRTT, int eapRTTVAR, int methodTimeout) argument 866 eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp) argument 936 eap_sm_buildSuccess(struct eap_sm *sm, u8 id) argument 954 eap_sm_buildFailure(struct eap_sm *sm, u8 id) argument 972 eap_sm_nextId(struct eap_sm *sm, int id) argument 994 eap_sm_process_nak(struct eap_sm *sm, const u8 *nak_list, size_t len) argument 1045 eap_sm_Policy_update(struct eap_sm *sm, const u8 *nak_list, size_t len) argument 1062 eap_sm_Policy_getNextMethod(struct eap_sm *sm, int *vendor) argument 1094 eap_sm_Policy_getDecision(struct eap_sm *sm) argument 1169 eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method) argument 1184 eap_server_sm_step(struct eap_sm *sm) argument 1220 struct eap_sm *sm; local 1274 eap_server_sm_deinit(struct eap_sm *sm) argument 1305 eap_sm_notify_cached(struct eap_sm *sm) argument 1320 eap_sm_pending_cb(struct eap_sm *sm) argument 1335 eap_sm_method_pending(struct eap_sm *sm) argument 1349 eap_get_identity(struct eap_sm *sm, size_t *len) argument 1361 eap_get_interface(struct eap_sm *sm) argument [all...] |
H A D | eap_server_gtc.c | 27 static void * eap_gtc_init(struct eap_sm *sm) argument 37 if (sm->m && sm->m->vendor == EAP_VENDOR_IETF && 38 sm->m->method == EAP_TYPE_FAST) { 49 static void eap_gtc_reset(struct eap_sm *sm, void *priv) argument 56 static struct wpabuf * eap_gtc_buildReq(struct eap_sm *sm, void *priv, u8 id) argument 83 static Boolean eap_gtc_check(struct eap_sm *sm, void *priv, argument 99 static void eap_gtc_process(struct eap_sm *sm, void *priv, argument 137 if (sm->identity && sm 194 eap_gtc_isDone(struct eap_sm *sm, void *priv) argument 201 eap_gtc_isSuccess(struct eap_sm *sm, void *priv) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/eapol_supp/ |
H A D | eapol_supp_sm.c | 188 static void eapol_sm_txLogoff(struct eapol_sm *sm); 189 static void eapol_sm_txStart(struct eapol_sm *sm); 190 static void eapol_sm_processKey(struct eapol_sm *sm); 191 static void eapol_sm_getSuppRsp(struct eapol_sm *sm); 192 static void eapol_sm_txSuppRsp(struct eapol_sm *sm); 193 static void eapol_sm_abortSupp(struct eapol_sm *sm); 194 static void eapol_sm_abort_cached(struct eapol_sm *sm); 196 static void eapol_sm_set_port_authorized(struct eapol_sm *sm); 197 static void eapol_sm_set_port_unauthorized(struct eapol_sm *sm); 204 struct eapol_sm *sm local 238 eapol_enable_timer_tick(struct eapol_sm *sm) argument 624 eapol_sm_txLogoff(struct eapol_sm *sm) argument 634 eapol_sm_txStart(struct eapol_sm *sm) argument 653 eapol_sm_processKey(struct eapol_sm *sm) argument 816 eapol_sm_getSuppRsp(struct eapol_sm *sm) argument 826 eapol_sm_txSuppRsp(struct eapol_sm *sm) argument 855 eapol_sm_abortSupp(struct eapol_sm *sm) argument 873 eapol_sm_set_port_authorized(struct eapol_sm *sm) argument 880 eapol_sm_set_port_unauthorized(struct eapol_sm *sm) argument 895 eapol_sm_step(struct eapol_sm *sm) argument 1016 eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) argument 1046 eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, int verbose) argument 1098 eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) argument 1168 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) argument 1289 eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) argument 1303 eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled) argument 1321 eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid) argument 1343 eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) argument 1365 eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail) argument 1389 eapol_sm_notify_config(struct eapol_sm *sm, struct eap_peer_config *config, const struct eapol_config *conf) argument 1424 eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len) argument 1458 eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff) argument 1474 eapol_sm_notify_cached(struct eapol_sm *sm) argument 1495 eapol_sm_notify_pmkid_attempt(struct eapol_sm *sm, int attempt) argument 1509 eapol_sm_abort_cached(struct eapol_sm *sm) argument 1538 eapol_sm_register_scard_ctx(struct eapol_sm *sm, void *ctx) argument 1554 eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl) argument 1572 eapol_sm_notify_ctrl_attached(struct eapol_sm *sm) argument 1587 eapol_sm_notify_ctrl_response(struct eapol_sm *sm) argument 1609 eapol_sm_request_reauth(struct eapol_sm *sm) argument 1627 eapol_sm_notify_lower_layer_success(struct eapol_sm *sm, int in_eapol_sm) argument 1641 eapol_sm_invalidate_cached_session(struct eapol_sm *sm) argument 1650 struct eapol_sm *sm = ctx; local 1657 struct eapol_sm *sm = ctx; local 1667 struct eapol_sm *sm = ctx; local 1697 struct eapol_sm *sm = ctx; local 1734 struct eapol_sm *sm = ctx; local 1748 struct eapol_sm *sm = ctx; local 1763 struct eapol_sm *sm = ctx; local 1774 struct eapol_sm *sm = ctx; local 1787 struct eapol_sm *sm = ctx; local 1804 struct eapol_sm *sm = ctx; local 1839 struct eapol_sm *sm; local 1887 eapol_sm_deinit(struct eapol_sm *sm) argument [all...] |
H A D | eapol_supp_sm.h | 230 void eapol_sm_deinit(struct eapol_sm *sm); 231 void eapol_sm_step(struct eapol_sm *sm); 232 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, 234 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen); 235 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, 237 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, 239 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm); 240 void eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled); 241 void eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid); 242 void eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolea 264 eapol_sm_deinit(struct eapol_sm *sm) argument 267 eapol_sm_step(struct eapol_sm *sm) argument 270 eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, int verbose) argument 275 eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen) argument 280 eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, int startPeriod, int maxStart) argument 285 eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, size_t len) argument 290 eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm) argument 293 eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled) argument 297 eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid) argument 301 eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) argument 305 eapol_sm_notify_eap_fail(struct eapol_sm *sm, Boolean fail) argument 308 eapol_sm_notify_config(struct eapol_sm *sm, struct eap_peer_config *config, struct eapol_config *conf) argument 313 eapol_sm_get_key(struct eapol_sm *sm, u8 *key, size_t len) argument 317 eapol_sm_notify_logoff(struct eapol_sm *sm, Boolean logoff) argument 320 eapol_sm_notify_cached(struct eapol_sm *sm) argument 325 eapol_sm_notify_portControl(struct eapol_sm *sm, PortControl portControl) argument 329 eapol_sm_notify_ctrl_attached(struct eapol_sm *sm) argument 332 eapol_sm_notify_ctrl_response(struct eapol_sm *sm) argument 335 eapol_sm_request_reauth(struct eapol_sm *sm) argument 338 eapol_sm_notify_lower_layer_success(struct eapol_sm *sm, int in_eapol_sm) argument 342 eapol_sm_invalidate_cached_session(struct eapol_sm *sm) argument [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/store/ |
H A D | str_meth.c | 86 int STORE_method_set_initialise_function(STORE_METHOD *sm, STORE_INITIALISE_FUNC_PTR init_f) argument 88 sm->init = init_f; 92 int STORE_method_set_cleanup_function(STORE_METHOD *sm, STORE_CLEANUP_FUNC_PTR clean_f) argument 94 sm->clean = clean_f; 98 int STORE_method_set_generate_function(STORE_METHOD *sm, STORE_GENERATE_OBJECT_FUNC_PTR generate_f) argument 100 sm->generate_object = generate_f; 104 int STORE_method_set_get_function(STORE_METHOD *sm, STORE_GET_OBJECT_FUNC_PTR get_f) argument 106 sm->get_object = get_f; 110 int STORE_method_set_store_function(STORE_METHOD *sm, STORE_STORE_OBJECT_FUNC_PTR store_f) argument 112 sm 116 STORE_method_set_modify_function(STORE_METHOD *sm, STORE_MODIFY_OBJECT_FUNC_PTR modify_f) argument 122 STORE_method_set_revoke_function(STORE_METHOD *sm, STORE_HANDLE_OBJECT_FUNC_PTR revoke_f) argument 128 STORE_method_set_delete_function(STORE_METHOD *sm, STORE_HANDLE_OBJECT_FUNC_PTR delete_f) argument 134 STORE_method_set_list_start_function(STORE_METHOD *sm, STORE_START_OBJECT_FUNC_PTR list_start_f) argument 140 STORE_method_set_list_next_function(STORE_METHOD *sm, STORE_NEXT_OBJECT_FUNC_PTR list_next_f) argument 146 STORE_method_set_list_end_function(STORE_METHOD *sm, STORE_END_OBJECT_FUNC_PTR list_end_f) argument 152 STORE_method_set_update_store_function(STORE_METHOD *sm, STORE_GENERIC_FUNC_PTR update_f) argument 158 STORE_method_set_lock_store_function(STORE_METHOD *sm, STORE_GENERIC_FUNC_PTR lock_f) argument 164 STORE_method_set_unlock_store_function(STORE_METHOD *sm, STORE_GENERIC_FUNC_PTR unlock_f) argument 170 STORE_method_set_ctrl_function(STORE_METHOD *sm, STORE_CTRL_FUNC_PTR ctrl_f) argument 176 STORE_method_get_initialise_function(STORE_METHOD *sm) argument 181 STORE_method_get_cleanup_function(STORE_METHOD *sm) argument 186 STORE_method_get_generate_function(STORE_METHOD *sm) argument 191 STORE_method_get_get_function(STORE_METHOD *sm) argument 196 STORE_method_get_store_function(STORE_METHOD *sm) argument 201 STORE_method_get_modify_function(STORE_METHOD *sm) argument 206 STORE_method_get_revoke_function(STORE_METHOD *sm) argument 211 STORE_method_get_delete_function(STORE_METHOD *sm) argument 216 STORE_method_get_list_start_function(STORE_METHOD *sm) argument 221 STORE_method_get_list_next_function(STORE_METHOD *sm) argument 226 STORE_method_get_list_end_function(STORE_METHOD *sm) argument 231 STORE_method_get_update_store_function(STORE_METHOD *sm) argument 236 STORE_method_get_lock_store_function(STORE_METHOD *sm) argument 241 STORE_method_get_unlock_store_function(STORE_METHOD *sm) argument 246 STORE_method_get_ctrl_function(STORE_METHOD *sm) argument [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/ |
H A D | pr35701.c | 12 my_func1(unsigned int sm, unsigned int bi, my_struct_p_t msp) argument 14 msp->small = sm; /* { dg-warning "conversion" } */ 19 my_func2(unsigned int sm, unsigned int bi, my_struct_p_t msp) argument 21 msp->small = sm & 1U; 26 my_func3(unsigned int sm) argument 29 res = sm & 0xff20U;
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/rsn_supp/ |
H A D | wpa.c | 33 * @sm: Pointer to WPA state machine data from wpa_sm_init() 42 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, argument 46 if (is_zero_ether_addr(dest) && is_zero_ether_addr(sm->bssid)) { 51 if (wpa_sm_get_bssid(sm, sm->bssid) < 0) { 55 dest = sm->bssid; 68 wpa_sm_ether_send(sm, dest, proto, msg, msg_len); 69 eapol_sm_notify_tx_eapol_key(sm->eapol); 77 * @sm: Pointer to WPA state machine data from wpa_sm_init() 85 void wpa_sm_key_request(struct wpa_sm *sm, in argument 136 wpa_supplicant_get_pmk(struct wpa_sm *sm, const unsigned char *src_addr, const u8 *pmkid) argument 256 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 339 wpa_derive_ptk(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, struct wpa_ptk *ptk) argument 357 wpa_supplicant_process_1_of_4(struct wpa_sm *sm, const unsigned char *src_addr, const struct wpa_eapol_key *key, u16 ver) argument 438 struct wpa_sm *sm = eloop_ctx; local 443 wpa_supplicant_key_neg_complete(struct wpa_sm *sm, const u8 *addr, int secure) argument 488 struct wpa_sm *sm = eloop_ctx; local 494 wpa_supplicant_install_ptk(struct wpa_sm *sm, const struct wpa_eapol_key *key) argument 614 wpa_supplicant_install_gtk(struct wpa_sm *sm, const struct wpa_gtk_data *gd, const u8 *key_rsc) argument 656 wpa_supplicant_gtk_tx_bit_workaround(const struct wpa_sm *sm, int tx) argument 673 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 722 ieee80211w_set_keys(struct wpa_sm *sm, struct wpa_eapol_ie_parse *ie) argument 763 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 803 ft_validate_mdie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie, const u8 *assoc_resp_mdie) argument 834 ft_validate_ftie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie, const u8 *assoc_resp_ftie) argument 861 ft_validate_rsnie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument 895 wpa_supplicant_validate_ie_ft(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument 930 wpa_supplicant_validate_ie(struct wpa_sm *sm, const unsigned char *src_addr, struct wpa_eapol_ie_parse *ie) argument 1002 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 1045 wpa_supplicant_process_3_of_4(struct wpa_sm *sm, const struct wpa_eapol_key *key, u16 ver) argument 1153 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 1198 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 1276 wpa_supplicant_send_2_of_2(struct wpa_sm *sm, const struct wpa_eapol_key *key, int ver, u16 key_info) argument 1311 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 1367 wpa_supplicant_verify_eapol_key_mic(struct wpa_sm *sm, struct wpa_eapol_key *key, u16 ver, const u8 *buf, size_t len) argument 1417 wpa_supplicant_decrypt_key_data(struct wpa_sm *sm, struct wpa_eapol_key *key, u16 ver) argument 1480 wpa_sm_aborted_cached(struct wpa_sm *sm) argument 1539 wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument 1798 wpa_key_mgmt_suite(struct wpa_sm *sm) argument 1829 wpa_cipher_suite(struct wpa_sm *sm, int cipher) argument 1866 wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) argument 1938 struct wpa_sm *sm = ctx; local 1970 struct wpa_sm *sm; local 1999 wpa_sm_deinit(struct wpa_sm *sm) argument 2026 wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument 2076 wpa_sm_notify_disassoc(struct wpa_sm *sm) argument 2092 wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len) argument 2115 wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) argument 2135 wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) argument 2147 wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) argument 2166 wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config) argument 2204 wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) argument 2217 wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, const char *bridge_ifname) argument 2232 wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument 2246 wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param, unsigned int value) argument 2310 wpa_sm_get_param(struct wpa_sm *sm, enum wpa_sm_conf_params param) argument 2354 wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument 2381 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument 2426 wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 2460 wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 2494 wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 2527 wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data) argument 2540 wpa_sm_pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len) argument 2550 wpa_sm_drop_sa(struct wpa_sm *sm) argument 2561 wpa_sm_has_ptk(struct wpa_sm *sm) argument [all...] |
H A D | preauth.h | 22 void pmksa_candidate_free(struct wpa_sm *sm); 23 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, 25 void rsn_preauth_deinit(struct wpa_sm *sm); 26 int rsn_preauth_scan_results(struct wpa_sm *sm); 27 void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, 29 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, 31 void rsn_preauth_candidate_process(struct wpa_sm *sm); 32 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, 34 int rsn_preauth_in_progress(struct wpa_sm *sm); 38 static inline void pmksa_candidate_free(struct wpa_sm *sm) argument 42 rsn_preauth_candidate_process(struct wpa_sm *sm) argument 46 rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct eap_peer_config *eap_conf) argument 52 rsn_preauth_deinit(struct wpa_sm *sm) argument 56 rsn_preauth_scan_results(struct wpa_sm *sm) argument 61 rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, const u8 *ssid, const u8 *rsn) argument 66 pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, int prio, int preauth) argument 72 rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument 78 rsn_preauth_in_progress(struct wpa_sm *sm) argument [all...] |
H A D | wpa_i.h | 118 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state) argument 120 WPA_ASSERT(sm->ctx->set_state); 121 sm->ctx->set_state(sm->ctx->ctx, state); 124 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm) argument 126 WPA_ASSERT(sm->ctx->get_state); 127 return sm->ctx->get_state(sm->ctx->ctx); 130 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) argument 132 WPA_ASSERT(sm 136 wpa_sm_disassociate(struct wpa_sm *sm, int reason_code) argument 142 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 152 wpa_sm_get_network_ctx(struct wpa_sm *sm) argument 158 wpa_sm_get_bssid(struct wpa_sm *sm, u8 *bssid) argument 164 wpa_sm_ether_send(struct wpa_sm *sm, const u8 *dest, u16 proto, const u8 *buf, size_t len) argument 171 wpa_sm_get_beacon_ie(struct wpa_sm *sm) argument 177 wpa_sm_cancel_auth_timeout(struct wpa_sm *sm) argument 183 wpa_sm_alloc_eapol(struct wpa_sm *sm, u8 type, const void *data, u16 data_len, size_t *msg_len, void **data_pos) argument 192 wpa_sm_add_pmkid(struct wpa_sm *sm, const u8 *bssid, const u8 *pmkid) argument 199 wpa_sm_remove_pmkid(struct wpa_sm *sm, const u8 *bssid, const u8 *pmkid) argument 206 wpa_sm_mlme_setprotection(struct wpa_sm *sm, const u8 *addr, int protect_type, int key_type) argument 214 wpa_sm_update_ft_ies(struct wpa_sm *sm, const u8 *md, const u8 *ies, size_t ies_len) argument 222 wpa_sm_send_ft_action(struct wpa_sm *sm, u8 action, const u8 *target_ap, const u8 *ies, size_t ies_len) argument 232 wpa_sm_mark_authenticated(struct wpa_sm *sm, const u8 *target_ap) argument [all...] |
H A D | preauth.c | 42 * @sm: Pointer to WPA state machine data from wpa_sm_init() 44 void pmksa_candidate_free(struct wpa_sm *sm) argument 48 if (sm == NULL) 51 dl_list_for_each_safe(entry, n, &sm->pmksa_candidates, 62 struct wpa_sm *sm = ctx; local 67 if (sm->preauth_eapol == NULL || 68 is_zero_ether_addr(sm->preauth_bssid) || 69 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) { 76 eapol_sm_rx_eapol(sm->preauth_eapol, src_addr, buf, len); 83 struct wpa_sm *sm local 125 struct wpa_sm *sm = eloop_ctx; local 137 struct wpa_sm *sm = ctx; local 174 rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, struct eap_peer_config *eap_conf) argument 264 rsn_preauth_deinit(struct wpa_sm *sm) argument 291 rsn_preauth_candidate_process(struct wpa_sm *sm) argument 356 pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, int prio, int preauth) argument 424 rsn_preauth_scan_results(struct wpa_sm *sm) argument 446 rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, const u8 *ssid, const u8 *rsn) argument 486 rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument 513 rsn_preauth_in_progress(struct wpa_sm *sm) argument [all...] |
H A D | wpa.h | 89 void wpa_sm_deinit(struct wpa_sm *sm); 90 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid); 91 void wpa_sm_notify_disassoc(struct wpa_sm *sm); 92 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len); 93 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm); 94 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth); 95 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx); 96 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config); 97 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr); 98 void wpa_sm_set_ifname(struct wpa_sm *sm, cons 136 wpa_sm_deinit(struct wpa_sm *sm) argument 140 wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid) argument 144 wpa_sm_notify_disassoc(struct wpa_sm *sm) argument 148 wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len) argument 153 wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm) argument 157 wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth) argument 161 wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx) argument 165 wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config) argument 170 wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr) argument 174 wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname, const char *bridge_ifname) argument 179 wpa_sm_set_eapol(struct wpa_sm *sm, struct eapol_sm *eapol) argument 183 wpa_sm_set_assoc_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 189 wpa_sm_set_assoc_wpa_ie_default(struct wpa_sm *sm, u8 *wpa_ie, size_t *wpa_ie_len) argument 196 wpa_sm_set_ap_wpa_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 202 wpa_sm_set_ap_rsn_ie(struct wpa_sm *sm, const u8 *ie, size_t len) argument 208 wpa_sm_get_mib(struct wpa_sm *sm, char *buf, size_t buflen) argument 213 wpa_sm_set_param(struct wpa_sm *sm, enum wpa_sm_conf_params param, unsigned int value) argument 220 wpa_sm_get_param(struct wpa_sm *sm, enum wpa_sm_conf_params param) argument 226 wpa_sm_get_status(struct wpa_sm *sm, char *buf, size_t buflen, int verbose) argument 232 wpa_sm_key_request(struct wpa_sm *sm, int error, int pairwise) argument 243 wpa_sm_aborted_cached(struct wpa_sm *sm) argument 247 wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr, const u8 *buf, size_t len) argument 253 wpa_sm_parse_own_wpa_ie(struct wpa_sm *sm, struct wpa_ie_data *data) argument 259 wpa_sm_pmksa_cache_list(struct wpa_sm *sm, char *buf, size_t len) argument 265 wpa_sm_drop_sa(struct wpa_sm *sm) argument 269 wpa_sm_has_ptk(struct wpa_sm *sm) argument 279 wpa_sm_stkstart(struct wpa_sm *sm, const u8 *peer) argument 301 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) argument 306 wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie) argument 313 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, int ft_action, const u8 *target_ap) argument 319 wpa_ft_is_completed(struct wpa_sm *sm) argument 325 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, const u8 *src_addr) argument [all...] |
H A D | wpa_ft.c | 52 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, argument 59 if (sm->xxkey_len == 0) { 65 wpa_derive_pmk_r0(sm->xxkey, sm->xxkey_len, sm->ssid, 66 sm->ssid_len, sm->mobility_domain, 67 sm->r0kh_id, sm->r0kh_id_len, sm 94 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) argument 176 wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len, const u8 *anonce, const u8 *pmk_name, const u8 *kck, const u8 *target_ap, const u8 *ric_ies, size_t ric_ies_len, const u8 *ap_mdie) argument 498 wpa_ft_install_ptk(struct wpa_sm *sm, const u8 *bssid) argument 537 wpa_ft_prepare_auth_request(struct wpa_sm *sm, const u8 *mdie) argument 560 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, int ft_action, const u8 *target_ap, const u8 *ric_ies, size_t ric_ies_len) argument 712 wpa_ft_is_completed(struct wpa_sm *sm) argument 725 wpa_ft_process_gtk_subelem(struct wpa_sm *sm, const u8 *gtk_elem, size_t gtk_elem_len) argument 811 wpa_ft_process_igtk_subelem(struct wpa_sm *sm, const u8 *igtk_elem, size_t igtk_elem_len) argument 864 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, const u8 *src_addr) argument 1013 wpa_ft_start_over_ds(struct wpa_sm *sm, const u8 *target_ap, const u8 *mdie) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/eap_peer/ |
H A D | eap.c | 42 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor, 44 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id); 45 static void eap_sm_processIdentity(struct eap_sm *sm, 47 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req); 49 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req); 57 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) argument 59 return sm->eapol_cb->get_bool(sm->eapol_ctx, var); 63 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, argument 66 sm 70 eapol_get_int(struct eap_sm *sm, enum eapol_int_var var) argument 76 eapol_set_int(struct eap_sm *sm, enum eapol_int_var var, unsigned int value) argument 83 eapol_get_eapReqData(struct eap_sm *sm) argument 89 eap_deinit_prev_method(struct eap_sm *sm, const char *txt) argument 109 eap_allowed_method(struct eap_sm *sm, int vendor, u32 method) argument 521 eap_success_workaround(struct eap_sm *sm, int reqId, int lastId) argument 551 eap_peer_sm_step_idle(struct eap_sm *sm) argument 583 eap_peer_req_is_duplicate(struct eap_sm *sm) argument 609 eap_peer_sm_step_received(struct eap_sm *sm) argument 658 eap_peer_sm_step_local(struct eap_sm *sm) argument 741 eap_sm_allowMethod(struct eap_sm *sm, int vendor, EapType method) argument 757 eap_sm_build_expanded_nak( struct eap_sm *sm, int id, const struct eap_method *methods, size_t count) argument 804 eap_sm_buildNak(struct eap_sm *sm, int id) argument 853 eap_sm_processIdentity(struct eap_sm *sm, const struct wpabuf *req) argument 877 eap_sm_imsi_identity(struct eap_sm *sm, struct eap_peer_config *conf) argument 920 eap_sm_set_scard_pin(struct eap_sm *sm, struct eap_peer_config *conf) argument 942 eap_sm_get_scard_identity(struct eap_sm *sm, struct eap_peer_config *conf) argument 967 eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted) argument 1027 eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req) argument 1066 eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req) argument 1166 struct eap_sm *sm = ctx; local 1235 struct eap_sm *sm; local 1275 eap_peer_sm_deinit(struct eap_sm *sm) argument 1295 eap_peer_sm_step(struct eap_sm *sm) argument 1315 eap_sm_abort(struct eap_sm *sm) argument 1419 eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, int verbose) argument 1485 eap_sm_request(struct eap_sm *sm, eap_ctrl_req_type type, const char *msg, size_t msglen) argument 1564 eap_sm_request_identity(struct eap_sm *sm) argument 1579 eap_sm_request_password(struct eap_sm *sm) argument 1594 eap_sm_request_new_password(struct eap_sm *sm) argument 1609 eap_sm_request_pin(struct eap_sm *sm) argument 1625 eap_sm_request_otp(struct eap_sm *sm, const char *msg, size_t msg_len) argument 1640 eap_sm_request_passphrase(struct eap_sm *sm) argument 1653 eap_sm_notify_ctrl_attached(struct eap_sm *sm) argument 1760 eap_set_fast_reauth(struct eap_sm *sm, int enabled) argument 1771 eap_set_workaround(struct eap_sm *sm, unsigned int workaround) argument 1787 eap_get_config(struct eap_sm *sm) argument 1799 eap_get_config_identity(struct eap_sm *sm, size_t *len) argument 1815 eap_get_config_password(struct eap_sm *sm, size_t *len) argument 1834 eap_get_config_password2(struct eap_sm *sm, size_t *len, int *hash) argument 1852 eap_get_config_new_password(struct eap_sm *sm, size_t *len) argument 1868 eap_get_config_otp(struct eap_sm *sm, size_t *len) argument 1886 eap_clear_config_otp(struct eap_sm *sm) argument 1903 eap_get_config_phase1(struct eap_sm *sm) argument 1917 eap_get_config_phase2(struct eap_sm *sm) argument 1931 eap_key_available(struct eap_sm *sm) argument 1946 eap_notify_success(struct eap_sm *sm) argument 1962 eap_notify_lower_layer_success(struct eap_sm *sm) argument 1993 eap_get_eapKeyData(struct eap_sm *sm, size_t *len) argument 2015 eap_get_eapRespData(struct eap_sm *sm) argument 2037 eap_register_scard_ctx(struct eap_sm *sm, void *ctx) argument 2052 eap_set_config_blob(struct eap_sm *sm, struct wpa_config_blob *blob) argument 2066 eap_get_config_blob(struct eap_sm *sm, const char *name) argument 2085 eap_set_force_disabled(struct eap_sm *sm, int disabled) argument 2100 eap_notify_pending(struct eap_sm *sm) argument 2110 eap_invalidate_cached_session(struct eap_sm *sm) argument [all...] |
H A D | eap.h | 259 void eap_peer_sm_deinit(struct eap_sm *sm); 260 int eap_peer_sm_step(struct eap_sm *sm); 261 void eap_sm_abort(struct eap_sm *sm); 262 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, 264 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted); 265 void eap_sm_request_identity(struct eap_sm *sm); 266 void eap_sm_request_password(struct eap_sm *sm); 267 void eap_sm_request_new_password(struct eap_sm *sm); 268 void eap_sm_request_pin(struct eap_sm *sm); 269 void eap_sm_request_otp(struct eap_sm *sm, cons [all...] |
H A D | eap_i.h | 87 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 95 void * (*init)(struct eap_sm *sm); 99 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 104 void (*deinit)(struct eap_sm *sm, void *priv); 108 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 121 struct wpabuf * (*process)(struct eap_sm *sm, void *priv, 127 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 131 Boolean (*isKeyAvailable)(struct eap_sm *sm, void *priv); 135 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 144 u8 * (*getKey)(struct eap_sm *sm, voi [all...] |
H A D | eap_tls.c | 24 static void eap_tls_deinit(struct eap_sm *sm, void *priv); 33 static void * eap_tls_init(struct eap_sm *sm) argument 36 struct eap_peer_config *config = eap_get_config(sm); 38 ((sm->init_phase2 ? config->private_key2 : config->private_key) 40 (sm->init_phase2 ? config->engine2 : config->engine) == 0)) { 49 if (eap_peer_tls_ssl_init(sm, &data->ssl, config)) { 51 eap_tls_deinit(sm, data); 55 eap_sm_request_pin(sm); 56 sm->ignore = TRUE; 61 eap_sm_request_passphrase(sm); 71 eap_tls_deinit(struct eap_sm *sm, void *priv) argument 82 eap_tls_failure(struct eap_sm *sm, struct eap_tls_data *data, struct eap_method_ret *ret, int res, struct wpabuf *resp, u8 id) argument 118 eap_tls_success(struct eap_sm *sm, struct eap_tls_data *data, struct eap_method_ret *ret) argument 143 eap_tls_process(struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const struct wpabuf *reqData) argument 186 eap_tls_has_reauth_data(struct eap_sm *sm, void *priv) argument 193 eap_tls_deinit_for_reauth(struct eap_sm *sm, void *priv) argument 198 eap_tls_init_for_reauth(struct eap_sm *sm, void *priv) argument 211 eap_tls_get_status(struct eap_sm *sm, void *priv, char *buf, size_t buflen, int verbose) argument 219 eap_tls_isKeyAvailable(struct eap_sm *sm, void *priv) argument 226 eap_tls_getKey(struct eap_sm *sm, void *priv, size_t *len) argument 245 eap_tls_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument [all...] |
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | space_map.c | 56 space_map_create(space_map_t *sm, uint64_t start, uint64_t size, uint8_t shift, argument 59 bzero(sm, sizeof (*sm)); 61 cv_init(&sm->sm_load_cv, NULL, CV_DEFAULT, NULL); 63 avl_create(&sm->sm_root, space_map_seg_compare, 66 sm->sm_start = start; 67 sm->sm_size = size; 68 sm->sm_shift = shift; 69 sm->sm_lock = lp; 73 space_map_destroy(space_map_t *sm) argument 82 space_map_add(space_map_t *sm, uint64_t start, uint64_t size) argument 150 space_map_remove(space_map_t *sm, uint64_t start, uint64_t size) argument 208 space_map_contains(space_map_t *sm, uint64_t start, uint64_t size) argument 227 space_map_vacate(space_map_t *sm, space_map_func_t *func, space_map_t *mdest) argument 243 space_map_walk(space_map_t *sm, space_map_func_t *func, space_map_t *mdest) argument 257 space_map_load_wait(space_map_t *sm) argument 272 space_map_load(space_map_t *sm, space_map_ops_t *ops, uint8_t maptype, space_map_obj_t *smo, objset_t *os) argument 354 space_map_unload(space_map_t *sm) argument 368 space_map_maxsize(space_map_t *sm) argument 375 space_map_alloc(space_map_t *sm, uint64_t size) argument 386 space_map_claim(space_map_t *sm, uint64_t start, uint64_t size) argument 393 space_map_free(space_map_t *sm, uint64_t start, uint64_t size) argument 403 space_map_sync(space_map_t *sm, uint8_t maptype, space_map_obj_t *smo, objset_t *os, dmu_tx_t *tx) argument 573 space_map_ref_add_map(avl_tree_t *t, space_map_t *sm, int64_t refcnt) argument 588 space_map_ref_generate_map(avl_tree_t *t, space_map_t *sm, int64_t minref) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/utils/ |
H A D | state_machine.h | 39 static void sm_ ## machine ## _ ## state ## _Enter(STATE_MACHINE_DATA *sm, \ 53 if (!global || sm->machine ## _state != machine ## _ ## state) { \ 54 sm->changed = TRUE; \ 58 sm->machine ## _state = machine ## _ ## state; 72 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \ 73 sm->changed = TRUE; \ 77 sm->data ## _ ## state = machine ## _ ## _state; 90 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \ 91 sm->changed = TRUE; \ 96 sm [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/ap/ |
H A D | wpa_auth.c | 35 #define STATE_MACHINE_ADDR sm->addr 39 static int wpa_sm_step(struct wpa_state_machine *sm); 44 static void wpa_request_new_ptk(struct wpa_state_machine *sm); 136 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)) 256 struct wpa_state_machine *sm = timeout_ctx; local 258 wpa_auth_logger(wpa_auth, sm->addr, LOGGER_DEBUG, "rekeying PTK"); 259 wpa_request_new_ptk(sm); 135 wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) argument 264 wpa_auth_pmksa_clear_cb(struct wpa_state_machine *sm, void *ctx) argument 480 struct wpa_state_machine *sm; local 494 wpa_auth_sta_associated(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm) argument 528 wpa_auth_sta_no_wpa(struct wpa_state_machine *sm) argument 540 wpa_free_sta_sm(struct wpa_state_machine *sm) argument 551 wpa_auth_sta_deinit(struct wpa_state_machine *sm) argument 579 wpa_request_new_ptk(struct wpa_state_machine *sm) argument 589 wpa_replay_counter_valid(struct wpa_state_machine *sm, const u8 *replay_counter) argument 605 ft_check_msg_2_of_4(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_ie_parse *kde) argument 654 wpa_receive(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, u8 *data, size_t data_len) argument 1023 struct wpa_state_machine *sm = timeout_ctx; local 1031 __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 1195 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 1246 wpa_remove_ptk(struct wpa_state_machine *sm) argument 1257 wpa_auth_sm_event(struct wpa_state_machine *sm, wpa_event event) argument 1531 wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *pmk, struct wpa_ptk *ptk) argument 1633 ieee80211w_kde_len(struct wpa_state_machine *sm) argument 1643 ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos) argument 1665 ieee80211w_kde_len(struct wpa_state_machine *sm) argument 1671 ieee80211w_kde_add(struct wpa_state_machine *sm, u8 *pos) argument 2141 wpa_group_update_sta(struct wpa_state_machine *sm, void *ctx) argument 2237 wpa_sm_step(struct wpa_state_machine *sm) argument 2280 struct wpa_state_machine *sm = eloop_ctx; local 2285 wpa_auth_sm_notify(struct wpa_state_machine *sm) argument 2433 wpa_get_mib_sta(struct wpa_state_machine *sm, char *buf, size_t buflen) argument 2511 wpa_auth_pairwise_set(struct wpa_state_machine *sm) argument 2517 wpa_auth_get_pairwise(struct wpa_state_machine *sm) argument 2523 wpa_auth_sta_key_mgmt(struct wpa_state_machine *sm) argument 2531 wpa_auth_sta_wpa_version(struct wpa_state_machine *sm) argument 2539 wpa_auth_sta_clear_pmksa(struct wpa_state_machine *sm, struct rsn_pmksa_cache_entry *entry) argument 2550 wpa_auth_sta_get_pmksa(struct wpa_state_machine *sm) argument 2556 wpa_auth_sta_local_mic_failure_report(struct wpa_state_machine *sm) argument 2572 wpa_auth_pmksa_add(struct wpa_state_machine *sm, const u8 *pmk, int session_timeout, struct eapol_state_machine *eapol) argument 2625 wpa_auth_sta_set_vlan(struct wpa_state_machine *sm, int vlan_id) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/secmodel/ |
H A D | secmodel.c | 76 secmodel_t sm; local 78 sm = kmem_alloc(sizeof(*sm), KM_SLEEP); 80 sm->sm_id = id; 81 sm->sm_name = name; 82 sm->sm_behavior = behavior; 83 sm->sm_eval = eval; 84 sm->sm_setinfo = setinfo; 86 err = secmodel_plug(sm); 90 kmem_free(sm, sizeo 102 secmodel_deregister(secmodel_t sm) argument 143 secmodel_adjust_behavior(secmodel_t sm, bool added) argument 169 secmodel_plug(secmodel_t sm) argument 201 secmodel_unplug(secmodel_t sm) argument 243 secmodel_t sm; local [all...] |
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
H A D | space_map.h | 74 void (*smop_load)(space_map_t *sm); 75 void (*smop_unload)(space_map_t *sm); 76 uint64_t (*smop_alloc)(space_map_t *sm, uint64_t size); 77 void (*smop_claim)(space_map_t *sm, uint64_t start, uint64_t size); 78 void (*smop_free)(space_map_t *sm, uint64_t start, uint64_t size); 79 uint64_t (*smop_max)(space_map_t *sm); 80 boolean_t (*smop_fragmented)(space_map_t *sm); 137 typedef void space_map_func_t(space_map_t *sm, uint64_t start, uint64_t size); 139 extern void space_map_create(space_map_t *sm, uint64_t start, uint64_t size, 141 extern void space_map_destroy(space_map_t *sm); [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/wps/ |
H A D | wps_upnp.h | 39 void upnp_wps_device_deinit(struct upnp_wps_device_sm *sm); 41 int upnp_wps_device_start(struct upnp_wps_device_sm *sm, char *net_if); 42 void upnp_wps_device_stop(struct upnp_wps_device_sm *sm); 44 int upnp_wps_device_send_wlan_event(struct upnp_wps_device_sm *sm, 48 int upnp_wps_subscribers(struct upnp_wps_device_sm *sm); 49 int upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin);
|
H A D | wps_upnp.c | 458 * @sm: WPS UPnP state machine from upnp_wps_device_init() 461 * subscribed UPnP control points. sm->wlanevent must have been set with the 464 static void upnp_wps_device_send_event(struct upnp_wps_device_sm *sm) argument 476 if (dl_list_empty(&sm->subscriptions)) { 484 if (sm->wlanevent) 485 buf_size += os_strlen(sm->wlanevent); 492 wpabuf_put_property(buf, "WLANEvent", sm->wlanevent); 498 dl_list_for_each_safe(s, tmp, &sm->subscriptions, struct subscription, 532 static void subscription_list_age(struct upnp_wps_device_sm *sm, time_t now) argument 535 dl_list_for_each_safe(s, tmp, &sm 549 subscription_find(struct upnp_wps_device_sm *sm, const u8 uuid[UUID_LEN]) argument 665 subscription_start(struct upnp_wps_device_sm *sm, const char *callback_urls) argument 716 subscription_renew(struct upnp_wps_device_sm *sm, const u8 uuid[UUID_LEN]) argument 745 upnp_wps_device_send_wlan_event(struct upnp_wps_device_sm *sm, const u8 from_mac_addr[ETH_ALEN], enum upnp_wps_wlanevent_type ev_type, const struct wpabuf *msg) argument 931 upnp_wps_device_stop(struct upnp_wps_device_sm *sm) argument 963 upnp_wps_device_start(struct upnp_wps_device_sm *sm, char *net_if) argument 1022 upnp_wps_device_deinit(struct upnp_wps_device_sm *sm) argument 1050 struct upnp_wps_device_sm *sm; local 1073 upnp_wps_subscribers(struct upnp_wps_device_sm *sm) argument 1079 upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin) argument [all...] |