Home
last modified time | relevance | path

Searched refs:cb_ctx (Results 1 – 25 of 46) sorted by relevance

12

/external/wpa_supplicant_8/src/wps/
Dhttp_client.c30 void *cb_ctx; member
40 c->cb(c->cb_ctx, c, HTTP_CLIENT_TIMEOUT); in http_client_timeout()
63 c->cb(c->cb_ctx, c, HTTP_CLIENT_OK); in http_client_got_response()
69 c->cb(c->cb_ctx, c, HTTP_CLIENT_INVALID_REPLY); in http_client_got_response()
72 c->cb(c->cb_ctx, c, HTTP_CLIENT_INVALID_REPLY); in http_client_got_response()
75 c->cb(c->cb_ctx, c, HTTP_CLIENT_TIMEOUT); in http_client_got_response()
78 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED); in http_client_got_response()
102 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED); in http_client_tx_ready()
124 c->cb(c->cb_ctx, c, HTTP_CLIENT_FAILED); in http_client_tx_ready()
135 void *cb_ctx) in http_client_addr() argument
[all …]
Dhttp_server.c31 void *cb_ctx; member
51 srv->cb(srv->cb_ctx, req); in http_request_cb()
231 void *cb_ctx) in http_server_init() argument
241 srv->cb_ctx = cb_ctx; in http_server_init()
Dhttp_client.h28 void *cb_ctx);
34 void *cb_ctx);
Dwps_common.c282 wps->event_cb(wps->cb_ctx, WPS_EV_FAIL, &data); in wps_fail_event()
295 wps->event_cb(wps->cb_ctx, WPS_EV_SUCCESS, &data); in wps_success_event()
311 wps->event_cb(wps->cb_ctx, WPS_EV_PWD_AUTH_FAIL, &data); in wps_pwd_auth_fail_event()
320 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_OVERLAP, NULL); in wps_pbc_overlap_event()
329 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_TIMEOUT, NULL); in wps_pbc_timeout_event()
338 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_ACTIVE, NULL); in wps_pbc_active_event()
347 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_DISABLE, NULL); in wps_pbc_disable_event()
400 wps->cred_cb(wps->cb_ctx, &cred); in wps_get_oob_cred()
449 wps->cred_cb(wps->cb_ctx, &local_cred); in wps_oob_use_cred()
Dhttp_server.h29 void *cb_ctx);
Dwps_registrar.c162 void *cb_ctx; member
653 reg->cb_ctx = cfg->cb_ctx; in wps_registrar_init()
1131 reg->enrollee_seen_cb(reg->cb_ctx, addr, attr.uuid_e, in wps_registrar_probe_req_rx()
1184 return reg->new_psk_cb(reg->cb_ctx, mac_addr, p2p_dev_addr, psk, in wps_cb_new_psk()
1195 reg->pin_needed_cb(reg->cb_ctx, uuid_e, dev); in wps_cb_pin_needed()
1206 reg->reg_success_cb(reg->cb_ctx, mac_addr, uuid_e, dev_pw, dev_pw_len); in wps_cb_reg_success()
1213 return reg->set_ie_cb(reg->cb_ctx, beacon_ie, probe_resp_ie); in wps_cb_set_ie()
1236 reg->set_sel_reg_cb(reg->cb_ctx, reg->selected_registrar, in wps_cb_set_sel_reg()
1842 wps->wps->rf_band_cb(wps->wps->cb_ctx)) || in wps_build_m2()
1911 wps->wps->rf_band_cb(wps->wps->cb_ctx)) || in wps_build_m2d()
[all …]
Dwps_enrollee.c150 wps->wps->rf_band_cb(wps->wps->cb_ctx)) || in wps_build_m1()
752 ret = wps->wps->cred_cb(wps->wps->cb_ctx, &wps->cred); in wps_process_cred_e()
881 ret = wps->wps->cred_cb(wps->wps->cb_ctx, &cred); in wps_process_ap_settings_e()
1073 wps->wps->event_cb(wps->wps->cb_ctx, WPS_EV_M2D, &data); in wps_process_m2d()
1185 wps->wps->event_cb(wps->wps->cb_ctx, WPS_EV_AP_PIN_SUCCESS, in wps_process_m6()
/external/wpa_supplicant_8/src/p2p/
Dp2p_pd.c58 p2p->cfg->cb_ctx, intended_addr, ssid, in p2ps_add_new_group_info()
121 p2p->cfg->cb_ctx, dev->info.p2p_device_addr, in p2ps_add_pd_req_attrs()
328 p2p->cfg->cb_ctx, in p2p_build_prov_disc_resp()
702 p2p->cfg->cb_ctx, dev->info.p2p_device_addr, in p2p_process_prov_disc_req()
737 conncap = p2p->cfg->p2ps_group_capability(p2p->cfg->cb_ctx, in p2p_process_prov_disc_req()
897 conncap = p2p->cfg->p2ps_group_capability(p2p->cfg->cb_ctx, in p2p_process_prov_disc_req()
1026 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, reject, in p2p_process_prov_disc_req()
1039 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, reject, in p2p_process_prov_disc_req()
1048 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, in p2p_process_prov_disc_req()
1062 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, *msg.status, sa, in p2p_process_prov_disc_req()
[all …]
Dp2p_invitation.c258 p2p->cfg->cb_ctx, sa, msg.group_bssid, msg.group_id, in p2p_process_invitation_req()
445 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
452 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
457 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
465 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
493 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
494 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
504 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
552 p2p->cfg->invitation_result(p2p->cfg->cb_ctx, *msg.status, in p2p_process_invitation_resp()
631 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_invitation_resp_cb()
[all …]
Dp2p.c74 p2p->cfg->go_connected(p2p->cfg->cb_ctx, in p2p_expire_peers()
249 p2p->cfg->go_neg_completed(p2p->cfg->cb_ctx, &res); in p2p_go_neg_failed()
299 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, 1024 * tu / 1000, in p2p_listen_in_find()
346 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, timeout, ies) < 0) { in p2p_listen()
524 p2p->cfg->dev_found(p2p->cfg->cb_ctx, in p2p_add_group_clients()
891 p2p->cfg->dev_found(p2p->cfg->cb_ctx, addr, &dev->info, in p2p_add_device()
921 p2p->cfg->dev_lost(p2p->cfg->cb_ctx, in p2p_device_free()
1003 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_search()
1014 res = p2p->cfg->p2p_scan(p2p->cfg->cb_ctx, type, freq, in p2p_search()
1056 p2p->cfg->send_action(p2p->cfg->cb_ctx, in p2p_run_after_scan()
[all …]
Dp2p_dev_disc.c133 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_dev_disc_resp_cb()
273 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_dev_disc_resp()
292 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_go_disc_req_cb()
324 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, rx_freq, 1024 * tu / 1000, in p2p_process_go_disc_req()
Dp2p_group.c69 group->cfg->idle_update(group->cfg->cb_ctx, 1); in p2p_group_init()
504 group->cfg->ie_update(group->cfg->cb_ctx, beacon_ie, probe_resp_ie); in p2p_group_update_ies()
638 group->cfg->idle_update(group->cfg->cb_ctx, 0); in p2p_group_notif_assoc()
699 group->cfg->idle_update(group->cfg->cb_ctx, 1); in p2p_group_notif_disassoc()
925 if (p2p->cfg->send_action(p2p->cfg->cb_ctx, freq, m->addr, in p2p_group_go_discover()
963 group->p2p->cfg->cb_ctx, group->cfg->interface_addr, in p2p_group_presence_req()
Dp2p_sd.c418 p2p->cfg->sd_request(p2p->cfg->cb_ctx, freq, sa, dialog_token, in p2p_rx_gas_initial_req()
498 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_rx_gas_initial_resp()
613 p2p->cfg->sd_response(p2p->cfg->cb_ctx, sa, update_indic, in p2p_rx_gas_initial_resp()
711 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_rx_gas_comeback_resp()
857 p2p->cfg->sd_response(p2p->cfg->cb_ctx, sa, in p2p_rx_gas_comeback_resp()
Dp2p_go_neg.c694 if (p2p->cfg->get_pref_freq_list(p2p->cfg->cb_ctx, go, &size, in p2p_check_pref_chan()
823 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_go_neg_req()
862 p2p->cfg->go_neg_req_rx(p2p->cfg->cb_ctx, sa, in p2p_process_go_neg_req()
1203 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_go_neg_resp()
1405 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_go_neg_resp()
1445 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_go_neg_conf()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_glue.c357 void *cb_ctx) in hostapd_wpa_auth_for_each_sta() argument
363 if (sta->wpa_sm && cb(sta->wpa_sm, cb_ctx)) in hostapd_wpa_auth_for_each_sta()
372 void *cb_ctx; member
381 data->cb(iface->bss[i]->wpa_auth, data->cb_ctx)) in wpa_auth_iface_iter()
390 void *cb_ctx) in hostapd_wpa_auth_for_each_auth() argument
398 data.cb_ctx = cb_ctx; in hostapd_wpa_auth_for_each_auth()
Dwpa_auth_i.h228 void *cb_ctx);
231 void *cb_ctx);
Dwpa_auth.h218 void *ctx), void *cb_ctx);
220 void *ctx), void *cb_ctx);
/external/wpa_supplicant_8/src/crypto/
Dtls_internal.c29 void *cb_ctx; member
61 global->cb_ctx = conf->cb_ctx; in tls_init()
111 global->cb_ctx, global->cert_in_cb); in tls_connection_init()
Dtls_gnutls.c38 void *cb_ctx; member
123 global->cb_ctx = conf->cb_ctx; in tls_init()
846 global->event_cb(global->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in gnutls_tls_fail_event()
1174 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1262 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1351 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_handshake()
/external/wpa_supplicant_8/src/utils/
Dhttp-utils.h59 void *cb_ctx);
/external/wpa_supplicant_8/src/eap_server/
Dikev2.h51 void *cb_ctx; member
/external/wpa_supplicant_8/src/tls/
Dtlsv1_client.h57 void *cb_ctx,
Dtlsv1_client_i.h73 void *cb_ctx; member
Dtlsv1_client.c840 void *cb_ctx, in tlsv1_client_set_cb() argument
844 conn->cb_ctx = cb_ctx; in tlsv1_client_set_cb()
Dtlsv1_client_read.c315 conn->event_cb(conn->cb_ctx, TLS_PEER_CERTIFICATE, &ev); in tls_peer_cert_event()
341 conn->event_cb(conn->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in tls_cert_chain_failure_event()
525 conn->event_cb(conn->cb_ctx, in tls_process_certificate()
549 conn->event_cb(conn->cb_ctx, TLS_CERT_CHAIN_FAILURE, in tls_process_certificate()

12