/external/wpa_supplicant_8/hostapd/ |
H A D | ctrl_iface.c | 1597 static void hostapd_ctrl_iface_msg_cb(void *ctx, int level, int global, argument 1600 struct hostapd_data *hapd = ctx;
|
H A D | hlr_auc_gw.c | 162 static int get_milenage_cb(void *ctx, int argc, char *argv[], char *col[]) argument 164 struct milenage_parameters *m = ctx;
|
H A D | hostapd_cli.c | 1138 static void hostapd_cli_edit_cmd_cb(void *ctx, char *cmd) argument 1148 static void hostapd_cli_edit_eof_cb(void *ctx) argument
|
H A D | main.c | 43 static void hostapd_logger_cb(void *ctx, const u8 *addr, unsigned int module, argument 46 struct hostapd_data *hapd = ctx; 287 static int handle_reload_iface(struct hostapd_iface *iface, void *ctx) argument 468 static const char * hostapd_msg_ifname_cb(void *ctx) argument 470 struct hostapd_data *hapd = ctx;
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | authsrv.c | 30 struct sta_info *sta, void *ctx) 32 if (eapol_auth_eap_pending_cb(sta->eapol_sm, ctx) == 0) 38 static void hostapd_sim_db_cb(void *ctx, void *session_ctx) argument 40 struct hostapd_data *hapd = ctx; 52 static int hostapd_radius_get_eap_user(void *ctx, const u8 *identity, argument 59 eap_user = hostapd_get_eap_user(ctx, identity, identity_len, phase2); 29 hostapd_sim_db_cb_sta(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
|
H A D | drv_callbacks.c | 537 if (hapd->probereq_cb[i].cb(hapd->probereq_cb[i].ctx, 551 static void hostapd_notify_auth_ft_finish(void *ctx, const u8 *dst, argument 556 struct hostapd_data *hapd = ctx; 949 void wpa_supplicant_event(void *ctx, enum wpa_event_type event, argument 952 struct hostapd_data *hapd = ctx;
|
H A D | eap_user_db.c | 79 static int get_user_cb(void *ctx, int argc, char *argv[], char *col[]) argument 81 struct hostapd_eap_user *user = ctx; 101 static int get_wildcard_cb(void *ctx, int argc, char *argv[], char *col[]) argument 103 struct hostapd_eap_user *user = ctx;
|
H A D | gas_serv.c | 1211 static void gas_serv_rx_public_action(void *ctx, const u8 *buf, size_t len, argument 1214 struct hostapd_data *hapd = ctx;
|
H A D | hostapd.c | 49 void *ctx), void *ctx) 55 ret = cb(interfaces->iface[i], ctx); 652 hostapd_das_disconnect(void *ctx, struct radius_das_attrs *attr) argument 654 struct hostapd_data *hapd = ctx; 823 das_conf.ctx = hapd; 47 hostapd_for_each_interface(struct hapd_interfaces *interfaces, int (*cb)(struct hostapd_iface *iface, void *ctx), void *ctx) argument
|
H A D | hostapd.h | 35 void *ctx), void *ctx); 57 int (*cb)(void *ctx, const u8 *sa, const u8 *da, const u8 *bssid, 59 void *ctx; member in struct:hostapd_probereq_cb 127 void *msg_ctx; /* ctx for wpa_msg() calls */ 128 void *msg_ctx_parent; /* parent interface ctx for wpa_msg() calls */ 182 void (*public_action_cb)(void *ctx, const u8 *buf, size_t len, 185 void (*public_action_cb2)(void *ctx, const u8 *buf, size_t len, 189 int (*vendor_action_cb)(void *ctx, const u8 *buf, size_t len, 193 void (*wps_reg_success_cb)(void *ctx, cons [all...] |
H A D | ieee802_11.c | 300 static void handle_auth_ft_finish(void *ctx, const u8 *dst, const u8 *bssid, argument 304 struct hostapd_data *hapd = ctx;
|
H A D | ieee802_1x.c | 1489 void *ctx) 1491 struct sta_id_search *id_search = ctx; 1748 struct sta_info *sta, void *ctx) 1805 static void ieee802_1x_eapol_send(void *ctx, void *sta_ctx, u8 type, argument 1832 ieee802_1x_send(ctx, sta_ctx, type, data, datalen); 1836 static void ieee802_1x_aaa_send(void *ctx, void *sta_ctx, argument 1840 struct hostapd_data *hapd = ctx; 1848 static void _ieee802_1x_finished(void *ctx, void *sta_ctx, int success, argument 1851 struct hostapd_data *hapd = ctx; 1860 static int ieee802_1x_get_eap_user(void *ctx, cons argument 1487 ieee802_1x_select_radius_identifier(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument 1747 ieee802_1x_sta_key_available(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument 1897 ieee802_1x_sta_entry_alive(void *ctx, const u8 *addr) argument 1908 ieee802_1x_logger(void *ctx, const u8 *addr, eapol_logger_level level, const char *txt) argument 1934 ieee802_1x_set_port_authorized(void *ctx, void *sta_ctx, int authorized) argument 1943 _ieee802_1x_abort_auth(void *ctx, void *sta_ctx) argument 1951 _ieee802_1x_tx_key(void *ctx, void *sta_ctx) argument 1959 ieee802_1x_eapol_event(void *ctx, void *sta_ctx, enum eapol_event type) argument [all...] |
H A D | peerkey_auth.c | 39 static int wpa_stsl_select_sta(struct wpa_state_machine *sm, void *ctx) argument 41 struct wpa_stsl_search *search = ctx;
|
H A D | pmksa_cache_auth.c | 30 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx); 31 void *ctx; member in struct:rsn_pmksa_cache 56 pmksa->free_cb(entry, pmksa->ctx); 423 * @ctx: Context pointer for free_cb function 428 void *ctx), void *ctx) 435 pmksa->ctx = ctx; 427 pmksa_cache_auth_init(void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx), void *ctx) argument
|
H A D | preauth_auth.c | 41 static void rsn_preauth_receive(void *ctx, const u8 *src_addr, argument 44 struct rsn_preauth_interface *piface = ctx;
|
H A D | sta_info.c | 49 void *ctx), 50 void *ctx) 55 if (cb(hapd, sta, ctx)) 723 struct sta_info *sta, void *ctx) 47 ap_for_each_sta(struct hostapd_data *hapd, int (*cb)(struct hostapd_data *hapd, struct sta_info *sta, void *ctx), void *ctx) argument 722 ap_sta_wps_cancel(struct hostapd_data *hapd, struct sta_info *sta, void *ctx) argument
|
H A D | utils.c | 18 int (*cb)(void *ctx, const u8 *sa, 22 void *ctx) 36 n->ctx = ctx; 47 static int prune_associations(struct hostapd_iface *iface, void *ctx) argument 49 struct prune_data *data = ctx; 17 hostapd_register_probereq_cb(struct hostapd_data *hapd, int (*cb)(void *ctx, const u8 *sa, const u8 *da, const u8 *bssid, const u8 *ie, size_t ie_len, int ssi_signal), void *ctx) argument
|
H A D | wpa_auth.c | 62 return wpa_auth->cb.mic_failure_report(wpa_auth->cb.ctx, addr); 72 wpa_auth->cb.set_eapol(wpa_auth->cb.ctx, addr, var, value); 81 return wpa_auth->cb.get_eapol(wpa_auth->cb.ctx, addr, var); 92 return wpa_auth->cb.get_psk(wpa_auth->cb.ctx, addr, p2p_dev_addr, 102 return wpa_auth->cb.get_msk(wpa_auth->cb.ctx, addr, msk, len); 113 return wpa_auth->cb.set_key(wpa_auth->cb.ctx, vlan_id, alg, addr, idx, 123 return wpa_auth->cb.get_seqnum(wpa_auth->cb.ctx, addr, idx, seq); 133 return wpa_auth->cb.send_eapol(wpa_auth->cb.ctx, addr, data, data_len, 139 int (*cb)(struct wpa_state_machine *sm, void *ctx), 144 return wpa_auth->cb.for_each_sta(wpa_auth->cb.ctx, c 138 wpa_auth_for_each_sta(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) argument 148 wpa_auth_for_each_auth(struct wpa_authenticator *wpa_auth, int (*cb)(struct wpa_authenticator *a, void *ctx), void *cb_ctx) argument 272 wpa_auth_pmksa_clear_cb(struct wpa_state_machine *sm, void *ctx) argument 280 wpa_auth_pmksa_free_cb(struct rsn_pmksa_cache_entry *entry, void *ctx) argument 2506 wpa_group_update_sta(struct wpa_state_machine *sm, void *ctx) argument 2688 wpa_group_disconnect_cb(struct wpa_state_machine *sm, void *ctx) argument [all...] |
H A D | wpa_auth.h | 187 void *ctx; member in struct:wpa_auth_callbacks 188 void (*logger)(void *ctx, const u8 *addr, logger_level level, 190 void (*disconnect)(void *ctx, const u8 *addr, u16 reason); 191 int (*mic_failure_report)(void *ctx, const u8 *addr); 192 void (*set_eapol)(void *ctx, const u8 *addr, wpa_eapol_variable var, 194 int (*get_eapol)(void *ctx, const u8 *addr, wpa_eapol_variable var); 195 const u8 * (*get_psk)(void *ctx, const u8 *addr, const u8 *p2p_dev_addr, 197 int (*get_msk)(void *ctx, const u8 *addr, u8 *msk, size_t *len); 198 int (*set_key)(void *ctx, int vlan_id, enum wpa_alg alg, 200 int (*get_seqnum)(void *ctx, cons [all...] |
H A D | wpa_auth_ft.c | 38 return wpa_auth->cb.send_ether(wpa_auth->cb.ctx, dst, ETH_P_RRB, 48 return wpa_auth->cb.send_ft_action(wpa_auth->cb.ctx, dst, 58 return wpa_auth->cb.add_sta(wpa_auth->cb.ctx, sta_addr); 70 return wpa_auth->cb.add_tspec(wpa_auth->cb.ctx, sta_addr, tspec_ie, 413 return wpa_auth->cb.get_seqnum(wpa_auth->cb.ctx, addr, idx, seq); 765 return wpa_auth->cb.set_key(wpa_auth->cb.ctx, vlan_id, alg, addr, idx, 949 void (*cb)(void *ctx, const u8 *dst, const u8 *bssid, 952 void *ctx) 969 sm->ft_pending_cb_ctx = ctx; 983 cb(ctx, s 947 wpa_ft_process_auth(struct wpa_state_machine *sm, const u8 *bssid, u16 auth_transaction, const u8 *ies, size_t ies_len, void (*cb)(void *ctx, const u8 *dst, const u8 *bssid, u16 auth_transaction, u16 status, const u8 *ies, size_t ies_len), void *ctx) argument 1210 wpa_ft_rrb_rx_request_cb(void *ctx, const u8 *dst, const u8 *bssid, u16 auth_transaction, u16 resp, const u8 *ies, size_t ies_len) argument 1422 ft_pull_resp_cb(struct wpa_state_machine *sm, void *ctx) argument [all...] |
H A D | wpa_auth_glue.c | 104 static void hostapd_wpa_auth_logger(void *ctx, const u8 *addr, argument 108 struct hostapd_data *hapd = ctx; 129 static void hostapd_wpa_auth_disconnect(void *ctx, const u8 *addr, argument 132 struct hostapd_data *hapd = ctx; 140 static int hostapd_wpa_auth_mic_failure_report(void *ctx, const u8 *addr) argument 142 struct hostapd_data *hapd = ctx; 147 static void hostapd_wpa_auth_set_eapol(void *ctx, const u8 *addr, argument 150 struct hostapd_data *hapd = ctx; 189 static int hostapd_wpa_auth_get_eapol(void *ctx, const u8 *addr, argument 192 struct hostapd_data *hapd = ctx; 207 hostapd_wpa_auth_get_psk(void *ctx, const u8 *addr, const u8 *p2p_dev_addr, const u8 *prev_psk) argument 243 hostapd_wpa_auth_get_msk(void *ctx, const u8 *addr, u8 *msk, size_t *len) argument 268 hostapd_wpa_auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument 286 hostapd_wpa_auth_get_seqnum(void *ctx, const u8 *addr, int idx, u8 *seq) argument 294 hostapd_wpa_auth_send_eapol(void *ctx, const u8 *addr, const u8 *data, size_t data_len, int encrypt) argument 311 hostapd_wpa_auth_for_each_sta( void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) argument 331 wpa_auth_iface_iter(struct hostapd_iface *iface, void *ctx) argument 344 hostapd_wpa_auth_for_each_auth( void *ctx, int (*cb)(struct wpa_authenticator *sm, void *ctx), void *cb_ctx) argument 370 hostapd_wpa_auth_ft_iter(struct hostapd_iface *iface, void *ctx) argument 400 hostapd_wpa_auth_send_ether(void *ctx, const u8 *dst, u16 proto, const u8 *data, size_t data_len) argument 447 hostapd_wpa_auth_send_ft_action(void *ctx, const u8 *dst, const u8 *data, size_t data_len) argument 478 hostapd_wpa_auth_add_sta(void *ctx, const u8 *sta_addr) argument 505 hostapd_rrb_receive(void *ctx, const u8 *src_addr, const u8 *buf, size_t len) argument 520 hostapd_wpa_auth_add_tspec(void *ctx, const u8 *sta_addr, u8 *tspec_ie, size_t tspec_ielen) argument [all...] |
H A D | wpa_auth_ie.c | 435 static int wpa_auth_okc_iter(struct wpa_authenticator *a, void *ctx) argument 437 struct wpa_auth_okc_iter_data *data = ctx;
|
H A D | wps_hostapd.c | 38 static int hostapd_wps_probe_req_rx(void *ctx, const u8 *addr, const u8 *da, 47 int (*func)(struct hostapd_data *h, void *ctx); 48 void *ctx; member in struct:wps_for_each_data 53 static int wps_for_each(struct hostapd_iface *iface, void *ctx) argument 55 struct wps_for_each_data *data = ctx; 69 ret = data->func(hapd, data->ctx); 79 int (*func)(struct hostapd_data *h, void *ctx), 80 void *ctx) 85 data.ctx = ctx; 78 hostapd_wps_for_each(struct hostapd_data *hapd, int (*func)(struct hostapd_data *h, void *ctx), void *ctx) argument 95 hostapd_wps_new_psk_cb(void *ctx, const u8 *mac_addr, const u8 *p2p_dev_addr, const u8 *psk, size_t psk_len) argument 157 hostapd_wps_set_ie_cb(void *ctx, struct wpabuf *beacon_ie, struct wpabuf *probe_resp_ie) argument 171 hostapd_wps_pin_needed_cb(void *ctx, const u8 *uuid_e, const struct wps_device_data *dev) argument 217 wps_stop_registrar(struct hostapd_data *hapd, void *ctx) argument 227 hostapd_wps_reg_success_cb(void *ctx, const u8 *mac_addr, const u8 *uuid_e, const u8 *dev_pw, size_t dev_pw_len) argument 249 hostapd_wps_enrollee_seen_cb(void *ctx, const u8 *addr, const u8 *uuid_e, const u8 *pri_dev_type, u16 config_methods, u16 dev_password_id, u8 request_type, const char *dev_name) argument 398 hapd_wps_cred_cb(struct hostapd_data *hapd, void *ctx) argument 615 hostapd_wps_cred_cb(void *ctx, const struct wps_credential *cred) argument 638 wps_pwd_auth_fail(struct hostapd_data *hapd, void *ctx) argument 703 wps_ap_pin_success(struct hostapd_data *hapd, void *ctx) argument 787 hostapd_wps_event_cb(void *ctx, enum wps_event event, union wps_event_data *data) argument 843 hostapd_wps_rf_band_cb(void *ctx) argument 867 get_uuid_cb(struct hostapd_iface *iface, void *ctx) argument 900 count_interface_cb(struct hostapd_iface *iface, void *ctx) argument 1247 wps_add_pin(struct hostapd_data *hapd, void *ctx) argument 1289 wps_button_pushed(struct hostapd_data *hapd, void *ctx) argument 1306 wps_cancel(struct hostapd_data *hapd, void *ctx) argument 1324 hostapd_wps_probe_req_rx(void *ctx, const u8 *addr, const u8 *da, const u8 *bssid, const u8 *ie, size_t ie_len, int ssi_signal) argument 1456 struct upnp_wps_device_ctx *ctx; local 1522 wps_ap_pin_disable(struct hostapd_data *hapd, void *ctx) argument 1547 wps_ap_pin_set(struct hostapd_data *hapd, void *ctx) argument 1593 wps_update_ie(struct hostapd_data *hapd, void *ctx) argument 1663 wps_add_nfc_password_token(struct hostapd_data *hapd, void *ctx) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | aes-cbc.c | 26 void *ctx; local 31 ctx = aes_encrypt_init(key, 16); 32 if (ctx == NULL) 40 aes_encrypt(ctx, cbc, cbc); 44 aes_encrypt_deinit(ctx); 59 void *ctx; local 64 ctx = aes_decrypt_init(key, 16); 65 if (ctx == NULL) 72 aes_decrypt(ctx, pos, pos); 78 aes_decrypt_deinit(ctx); [all...] |
H A D | aes-ctr.c | 27 void *ctx; local 33 ctx = aes_encrypt_init(key, 16); 34 if (ctx == NULL) 39 aes_encrypt(ctx, counter, buf); 53 aes_encrypt_deinit(ctx);
|