Home
last modified time | relevance | path

Searched refs:cb_ctx (Results 1 - 25 of 113) sorted by relevance

12345

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A 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()
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) http_client_addr() argument
236 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) http_client_url() argument
[all...]
H A Dhttp_client.h28 void *cb_ctx);
34 void *cb_ctx);
H A 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()
241 srv->cb_ctx = cb_ctx; in http_server_init()
228 http_server_init(struct in_addr *addr, int port, void (*cb)(void *ctx, struct http_request *req), void *cb_ctx) http_server_init() argument
H A Dwps_common.c285 wps->event_cb(wps->cb_ctx, WPS_EV_FAIL, &data); in wps_fail_event()
298 wps->event_cb(wps->cb_ctx, WPS_EV_SUCCESS, &data); in wps_success_event()
314 wps->event_cb(wps->cb_ctx, WPS_EV_PWD_AUTH_FAIL, &data); in wps_pwd_auth_fail_event()
323 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_OVERLAP, NULL); in wps_pbc_overlap_event()
332 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_TIMEOUT, NULL); in wps_pbc_timeout_event()
341 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_ACTIVE, NULL); in wps_pbc_active_event()
350 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_DISABLE, NULL); in wps_pbc_disable_event()
403 wps->cred_cb(wps->cb_ctx, &cred); in wps_get_oob_cred()
452 wps->cred_cb(wps->cb_ctx, &local_cred); in wps_oob_use_cred()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A 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()
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) http_client_addr() argument
236 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) http_client_url() argument
[all...]
H A Dhttp_client.h28 void *cb_ctx);
34 void *cb_ctx);
H A 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()
241 srv->cb_ctx = cb_ctx; in http_server_init()
228 http_server_init(struct in_addr *addr, int port, void (*cb)(void *ctx, struct http_request *req), void *cb_ctx) http_server_init() argument
H A Dwps_common.c285 wps->event_cb(wps->cb_ctx, WPS_EV_FAIL, &data); in wps_fail_event()
298 wps->event_cb(wps->cb_ctx, WPS_EV_SUCCESS, &data); in wps_success_event()
314 wps->event_cb(wps->cb_ctx, WPS_EV_PWD_AUTH_FAIL, &data); in wps_pwd_auth_fail_event()
323 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_OVERLAP, NULL); in wps_pbc_overlap_event()
332 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_TIMEOUT, NULL); in wps_pbc_timeout_event()
341 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_ACTIVE, NULL); in wps_pbc_active_event()
350 wps->event_cb(wps->cb_ctx, WPS_EV_PBC_DISABLE, NULL); in wps_pbc_disable_event()
403 wps->cred_cb(wps->cb_ctx, &cred); in wps_get_oob_cred()
452 wps->cred_cb(wps->cb_ctx, &local_cred); in wps_oob_use_cred()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Ddpp_tcp.c29 void *cb_ctx; member
57 void *cb_ctx; member
75 void *cb_ctx; member
133 ctrl->cb_ctx = config->cb_ctx; in dpp_relay_add_controller()
160 dpp_relay_controller_get_ctx(struct dpp_global *dpp, void *cb_ctx) in dpp_relay_controller_get_ctx() argument
169 if (cb_ctx == ctrl->cb_ctx) in dpp_relay_controller_get_ctx()
411 conn->cb_ctx = ctrl->global->cb_ctx; in dpp_relay_new_conn()
496 dpp_relay_rx_action(struct dpp_global *dpp, const u8 *src, const u8 *hdr, const u8 *buf, size_t len, unsigned int freq, const u8 *i_bootstrap, const u8 *r_bootstrap, void *cb_ctx) dpp_relay_rx_action() argument
1566 dpp_tcp_init(struct dpp_global *dpp, struct dpp_authentication *auth, const struct hostapd_ip_addr *addr, int port, const char *name, enum dpp_netrole netrole, void *msg_ctx, void *cb_ctx, int (*process_conf_obj)(void *ctx, struct dpp_authentication *auth)) dpp_tcp_init() argument
1726 dpp_controller_stop_for_ctx(struct dpp_global *dpp, void *cb_ctx) dpp_controller_stop_for_ctx() argument
[all...]
H A Ddpp.h388 void *cb_ctx; member
402 void *cb_ctx; member
679 void *cb_ctx);
685 void dpp_controller_stop_for_ctx(struct dpp_global *dpp, void *cb_ctx);
693 void *cb_ctx,
702 void *cb_ctx; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
H A 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()
700 p2p->cfg->cb_ctx, dev->info.p2p_device_addr, in p2p_process_prov_disc_req()
735 conncap = p2p->cfg->p2ps_group_capability(p2p->cfg->cb_ctx, in p2p_process_prov_disc_req()
895 conncap = p2p->cfg->p2ps_group_capability(p2p->cfg->cb_ctx, in p2p_process_prov_disc_req()
1024 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, reject, in p2p_process_prov_disc_req()
1037 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, reject, in p2p_process_prov_disc_req()
1046 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, in p2p_process_prov_disc_req()
1060 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, *ms in p2p_process_prov_disc_req()
[all...]
H A 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...]
H A 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()
526 p2p->cfg->dev_found(p2p->cfg->cb_ctx, in p2p_add_group_clients()
901 p2p->cfg->dev_found(p2p->cfg->cb_ctx, addr, &dev->info, in p2p_add_device()
931 p2p->cfg->dev_lost(p2p->cfg->cb_ctx, in p2p_device_free()
1013 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_search()
1032 res = p2p->cfg->p2p_scan(p2p->cfg->cb_ctx, type, freq, in p2p_search()
1230 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_find()
[all...]
H A 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()
H A Dp2p_group.c69 group->cfg->idle_update(group->cfg->cb_ctx, 1); in p2p_group_init()
506 group->cfg->ie_update(group->cfg->cb_ctx, beacon_ie, probe_resp_ie); in p2p_group_update_ies()
640 group->cfg->idle_update(group->cfg->cb_ctx, 0); in p2p_group_notif_assoc()
701 group->cfg->idle_update(group->cfg->cb_ctx, 1); in p2p_group_notif_disassoc()
941 if (p2p->cfg->send_action(p2p->cfg->cb_ctx, freq, m->addr, in p2p_group_go_discover()
980 group->p2p->cfg->cb_ctx, group->cfg->interface_addr, in p2p_group_presence_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
H A 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()
700 p2p->cfg->cb_ctx, dev->info.p2p_device_addr, in p2p_process_prov_disc_req()
735 conncap = p2p->cfg->p2ps_group_capability(p2p->cfg->cb_ctx, in p2p_process_prov_disc_req()
895 conncap = p2p->cfg->p2ps_group_capability(p2p->cfg->cb_ctx, in p2p_process_prov_disc_req()
1024 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, reject, in p2p_process_prov_disc_req()
1037 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, reject, in p2p_process_prov_disc_req()
1046 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, in p2p_process_prov_disc_req()
1060 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, *ms in p2p_process_prov_disc_req()
[all...]
H A Dp2p_invitation.c269 p2p->cfg->cb_ctx, sa, msg.group_bssid, msg.group_id, in p2p_process_invitation_req()
497 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
504 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
509 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
517 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
545 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
546 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
556 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
604 p2p->cfg->invitation_result(p2p->cfg->cb_ctx, *msg.status, in p2p_process_invitation_resp()
688 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_invitation_resp_cb()
[all...]
H A Dp2p.c124 p2p->cfg->go_connected(p2p->cfg->cb_ctx, in p2p_expire_peers()
299 p2p->cfg->go_neg_completed(p2p->cfg->cb_ctx, &res); in p2p_go_neg_failed()
355 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq,
358 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, 1024 * tu / 1000,
406 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, timeout, ies) < 0) {
588 p2p->cfg->dev_found(p2p->cfg->cb_ctx,
969 p2p->cfg->dev_found(p2p->cfg->cb_ctx, addr, &dev->info,
1004 p2p->cfg->dev_lost(p2p->cfg->cb_ctx,
1089 p2p->cfg->stop_listen(p2p->cfg->cb_ctx);
1114 res = p2p->cfg->p2p_scan(p2p->cfg->cb_ctx, typ
[all...]
H A 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()
/third_party/mbedtls/library/
H A Dasn1parse.c312 asn1_get_sequence_of_cb_ctx_t *cb_ctx = in asn1_get_sequence_of_cb() local
315 cb_ctx->cur; in asn1_get_sequence_of_cb()
332 cb_ctx->cur = cur; in asn1_get_sequence_of_cb()
344 asn1_get_sequence_of_cb_ctx_t cb_ctx = { tag, cur }; in mbedtls_asn1_get_sequence_of() local
348 asn1_get_sequence_of_cb, &cb_ctx); in mbedtls_asn1_get_sequence_of()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwpa_auth_i.h227 void *cb_ctx; member
290 void *cb_ctx);
293 void *cb_ctx);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwpa_auth_i.h222 void *cb_ctx; member
283 void *cb_ctx);
286 void *cb_ctx);
/third_party/curl/lib/vquic/
H A Dcurl_quiche.c292 struct cb_ctx { struct
301 struct cb_ctx *x = argp; in cb_each_header()
340 struct cb_ctx *x = reader_ctx; in stream_resp_read()
367 struct cb_ctx cb_ctx; in cf_recv_body() local
380 cb_ctx.cf = cf; in cf_recv_body()
381 cb_ctx.data = data; in cf_recv_body()
383 stream_resp_read, &cb_ctx, &result); in cf_recv_body()
427 struct cb_ctx cb_ctx; in h3_process_event() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dtls_gnutls.c38 void *cb_ctx; member
123 global->cb_ctx = conf->cb_ctx; in tls_init()
949 global->event_cb(global->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in gnutls_tls_fail_event()
1323 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1408 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1493 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_handshake()
1513 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_handshake()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dtls_gnutls.c38 void *cb_ctx; member
123 global->cb_ctx = conf->cb_ctx; in tls_init()
949 global->event_cb(global->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); in gnutls_tls_fail_event()
1323 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1408 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_verify_peer()
1493 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_handshake()
1513 conn->global->event_cb(conn->global->cb_ctx, in tls_connection_handshake()

Completed in 29 milliseconds

12345