Searched refs:ctx (Results 1 - 25 of 3990) sorted by last modified time

1234567891011>>

/external/wpa_supplicant_8/hostapd/
H A Dctrl_iface.c1597 static void hostapd_ctrl_iface_msg_cb(void *ctx, int level, int global, argument
1600 struct hostapd_data *hapd = ctx;
H A Dhlr_auc_gw.c162 static int get_milenage_cb(void *ctx, int argc, char *argv[], char *col[]) argument
164 struct milenage_parameters *m = ctx;
H A Dhostapd_cli.c1138 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 Dmain.c43 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 Dauthsrv.c30 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 Dbeacon.c522 if (hapd->probereq_cb[i].cb(hapd->probereq_cb[i].ctx,
H A Ddrv_callbacks.c537 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 Deap_user_db.c79 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 Dgas_serv.c1211 static void gas_serv_rx_public_action(void *ctx, const u8 *buf, size_t len, argument
1214 struct hostapd_data *hapd = ctx;
H A Dhostapd.c49 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 Dhostapd.h35 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 Dieee802_11.c300 static void handle_auth_ft_finish(void *ctx, const u8 *dst, const u8 *bssid, argument
304 struct hostapd_data *hapd = ctx;
H A Dieee802_1x.c1489 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 Dpeerkey_auth.c39 static int wpa_stsl_select_sta(struct wpa_state_machine *sm, void *ctx) argument
41 struct wpa_stsl_search *search = ctx;
H A Dpmksa_cache_auth.c30 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 Dpmksa_cache_auth.h39 void *ctx), void *ctx);
H A Dpreauth_auth.c41 static void rsn_preauth_receive(void *ctx, const u8 *src_addr, argument
44 struct rsn_preauth_interface *piface = ctx;
H A Dsta_info.c49 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 Dsta_info.h164 void *ctx),
165 void *ctx);
187 struct sta_info *sta, void *ctx);
H A Dutils.c18 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 Dwpa_auth.c62 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 Dwpa_auth.h187 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 Dwpa_auth_ft.c38 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 Dwpa_auth_glue.c104 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 Dwpa_auth_i.h122 void (*ft_pending_cb)(void *ctx, const u8 *dst, const u8 *bssid,
220 int (*cb)(struct wpa_state_machine *sm, void *ctx),
223 int (*cb)(struct wpa_authenticator *a, void *ctx),

Completed in 1471 milliseconds

1234567891011>>