Searched refs:cb_ctx (Results 1 - 25 of 104) sorted by last modified time

12345

/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwpa_auth.c140 void *cb_ctx)
144 return wpa_auth->cb.for_each_sta(wpa_auth->cb.ctx, cb, cb_ctx);
150 void *cb_ctx)
154 return wpa_auth->cb.for_each_auth(wpa_auth->cb.ctx, cb, cb_ctx);
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
H A Dwpa_auth.h204 void *ctx), void *cb_ctx);
206 void *ctx), void *cb_ctx);
H A Dwpa_auth_glue.c313 void *cb_ctx)
319 if (sta->wpa_sm && cb(sta->wpa_sm, cb_ctx))
328 void *cb_ctx; member in struct:wpa_auth_iface_iter_data
337 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx))
346 void *cb_ctx)
354 data.cb_ctx = cb_ctx;
311 hostapd_wpa_auth_for_each_sta( void *ctx, int (*cb)(struct wpa_state_machine *sm, void *ctx), void *cb_ctx) argument
344 hostapd_wpa_auth_for_each_auth( void *ctx, int (*cb)(struct wpa_authenticator *sm, void *ctx), void *cb_ctx) argument
H A Dwpa_auth_i.h221 void *cb_ctx);
224 void *cb_ctx);
H A Dwps_hostapd.c978 wps->cb_ctx = hapd;
1117 cfg.cb_ctx = hapd;
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls.h80 void *cb_ctx; member in struct:tls_config
H A Dtls_openssl.c91 void *cb_ctx; member in struct:tls_context
139 context->cb_ctx = conf->cb_ctx;
591 context->event_cb(context->cb_ctx, TLS_ALERT, &ev);
1354 context->event_cb(context->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev);
1392 context->event_cb(context->cb_ctx, TLS_PEER_CERTIFICATE, &ev);
1522 context->event_cb(context->cb_ctx,
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap.c1425 tlsconf.cb_ctx = sm;
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_ikev2.c113 data->ikev2.cb_ctx = sm;
H A Dikev2.c1131 secret = data->get_shared_secret(data->cb_ctx, data->IDr,
H A Dikev2.h51 void *cb_ctx; member in struct:ikev2_initiator_data
/external/wpa_supplicant_8/hostapd/src/eapol_supp/
H A Deapol_supp_sm.c953 sm->ctx->cb(sm, result, sm->ctx->cb_ctx);
H A Deapol_supp_sm.h98 * @ctx: Pointer to context data (cb_ctx)
109 * cb_ctx - Callback context for cb()
111 void *cb_ctx; member in struct:eapol_ctx
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p.c72 p2p->cfg->go_connected(p2p->cfg->cb_ctx,
237 p2p->cfg->go_neg_completed(p2p->cfg->cb_ctx, &res);
287 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, 1024 * tu / 1000,
334 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, timeout, ies) < 0) {
508 p2p->cfg->dev_found(p2p->cfg->cb_ctx,
835 p2p->cfg->dev_found(p2p->cfg->cb_ctx, addr, &dev->info,
863 p2p->cfg->dev_lost(p2p->cfg->cb_ctx,
944 p2p->cfg->stop_listen(p2p->cfg->cb_ctx);
955 res = p2p->cfg->p2p_scan(p2p->cfg->cb_ctx, type, freq,
987 p2p->cfg->send_action(p2p->cfg->cb_ctx,
[all...]
H A Dp2p.h414 * cb_ctx - Context to use with callback functions
416 void *cb_ctx; member in struct:p2p_config
420 * @ctx: Callback context from cb_ctx
431 * @ctx: Callback context from cb_ctx
464 * @ctx: Callback context from cb_ctx
486 * @ctx: Callback context from cb_ctx
508 * @ctx: Callback context from cb_ctx
518 * @ctx: Callback context from cb_ctx
541 * @ctx: Callback context from cb_ctx
550 * @ctx: Callback context from cb_ctx
1421 void *cb_ctx; member in struct:p2p_group_config
[all...]
H A Dp2p_dev_disc.c133 p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
273 p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
292 p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
324 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, rx_freq, 1024 * tu / 1000,
H A Dp2p_go_neg.c623 p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
659 p2p->cfg->go_neg_req_rx(p2p->cfg->cb_ctx, sa,
970 p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
1151 p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
1191 p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
H A Dp2p_group.c69 group->cfg->idle_update(group->cfg->cb_ctx, 1);
503 group->cfg->ie_update(group->cfg->cb_ctx, beacon_ie, probe_resp_ie);
637 group->cfg->idle_update(group->cfg->cb_ctx, 0);
698 group->cfg->idle_update(group->cfg->cb_ctx, 1);
924 if (p2p->cfg->send_action(p2p->cfg->cb_ctx, freq, m->addr,
962 group->p2p->cfg->cb_ctx, group->cfg->interface_addr,
H A Dp2p_invitation.c245 p2p->cfg->cb_ctx, sa, msg.group_bssid, msg.group_id,
473 p2p->cfg->invitation_result(p2p->cfg->cb_ctx, *msg.status,
552 p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
558 p2p->cfg->invitation_received(p2p->cfg->cb_ctx,
H A Dp2p_pd.c249 p2p->cfg->prov_disc_req(p2p->cfg->cb_ctx, sa,
315 p2p->cfg->prov_disc_fail(p2p->cfg->cb_ctx, sa,
343 p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
352 p2p->cfg->prov_disc_resp(p2p->cfg->cb_ctx, sa,
H A Dp2p_sd.c400 p2p->cfg->sd_request(p2p->cfg->cb_ctx, freq, sa, dialog_token,
473 p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
588 p2p->cfg->sd_response(p2p->cfg->cb_ctx, sa, update_indic,
681 p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
827 p2p->cfg->sd_response(p2p->cfg->cb_ctx, sa,
/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dpreauth.c212 ctx->cb_ctx = sm;
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dhttp-utils.h59 void *cb_ctx);
H A Dhttp_curl.c1631 void *cb_ctx)
1634 ctx->cert_cb_ctx = cb_ctx;
1629 http_set_cert_cb(struct http_ctx *ctx, int (*cb)(void *ctx, struct http_cert *cert), void *cb_ctx) argument
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dhttp_client.c30 void *cb_ctx; member in struct:http_client
40 c->cb(c->cb_ctx, c, HTTP_CLIENT_TIMEOUT);
63 c->cb(c->cb_ctx, c, HTTP_CLIENT_OK);
69 c->cb(c->cb_ctx, c, HTTP_CLIENT_INVALID_REPLY);
72 c->cb(c->cb_ctx, c, HTTP_CLIENT_INVALID_REPLY);
75 c->cb(c->cb_ctx, c, HTTP_CLIENT_TIMEOUT);
78 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED);
101 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED);
124 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED);
135 void *cb_ctx)
130 http_client_addr(struct sockaddr_in *dst, struct wpabuf *req, size_t max_response, void (*cb)(void *ctx, struct http_client *c, enum http_client_event event), void *cb_ctx) argument
242 http_client_url(const char *url, struct wpabuf *req, size_t max_response, void (*cb)(void *ctx, struct http_client *c, enum http_client_event event), void *cb_ctx) argument
[all...]

Completed in 767 milliseconds

12345