Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/wpa/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()
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
146 c->cb_ctx = cb_ctx; in http_client_addr()
[all …]
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() argument
241 srv->cb_ctx = cb_ctx; in http_server_init()
H A Dhttp_client.h28 void *cb_ctx);
34 void *cb_ctx);
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()
H A Dhttp_server.h29 void *cb_ctx);
/freebsd-14.2/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_alias_GUID.c308 dev = cb_ctx->dev; in aliasguid_query_handler()
315 cb_ctx->port, status); in aliasguid_query_handler()
393 cb_ctx->port); in aliasguid_query_handler()
434 cb_ctx->port, in aliasguid_query_handler()
446 if (cb_ctx->sa_query) { in aliasguid_query_handler()
447 list_del(&cb_ctx->list); in aliasguid_query_handler()
448 kfree(cb_ctx); in aliasguid_query_handler()
450 complete(&cb_ctx->done); in aliasguid_query_handler()
819 cb_ctx->sa_query = NULL; in mlx4_ib_destroy_alias_guid_service()
820 list_del(&cb_ctx->list); in mlx4_ib_destroy_alias_guid_service()
[all …]
/freebsd-14.2/contrib/wpa/src/common/
H A Ddpp_tcp.c31 void *cb_ctx; member
64 void *cb_ctx; member
85 void *cb_ctx; member
155 ctrl->cb_ctx = config->cb_ctx; in dpp_relay_add_controller()
193 if (cb_ctx == ctrl->cb_ctx) in dpp_relay_controller_get_ctx()
474 conn->cb_ctx = ctrl->global->cb_ctx; in dpp_relay_new_conn()
1886 conn->cb_ctx = ctrl->cb_ctx; in dpp_controller_tcp_cb()
1941 conn->cb_ctx = cb_ctx; in dpp_tcp_pkex_init()
2040 conn->cb_ctx = cb_ctx; in dpp_tcp_init()
2153 ctrl->cb_ctx = config->cb_ctx; in dpp_controller_start()
[all …]
H A Ddpp.h434 void *cb_ctx; member
448 void *cb_ctx; member
760 void *cb_ctx);
769 void dpp_controller_stop_for_ctx(struct dpp_global *dpp, void *cb_ctx);
776 void *msg_ctx, void *cb_ctx,
785 void *msg_ctx, void *cb_ctx,
816 void *cb_ctx; member
/freebsd-14.2/contrib/wpa/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()
334 p2p->cfg->cb_ctx, in p2p_build_prov_disc_resp()
714 p2p->cfg->cb_ctx, dev->info.p2p_device_addr, in p2p_process_prov_disc_req()
1122 p2p->cfg->cb_ctx, P2P_SC_SUCCESS, sa, in p2p_process_prov_disc_req()
1168 p2p->cfg->prov_disc_req(p2p->cfg->cb_ctx, sa, in p2p_process_prov_disc_req()
1492 p2p->cfg->cb_ctx, status, sa, adv_mac, in p2p_process_prov_disc_resp()
1507 p2p->cfg->cb_ctx, status, sa, adv_mac, in p2p_process_prov_disc_resp()
1535 p2p->cfg->cb_ctx, sa, in p2p_process_prov_disc_resp()
1543 p2p->cfg->cb_ctx, sa, in p2p_process_prov_disc_resp()
[all …]
H A Dp2p_invitation.c268 p2p->cfg->cb_ctx, sa, msg.group_bssid, msg.group_id, in p2p_process_invitation_req()
455 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
462 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
467 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
475 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
503 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
504 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
514 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
562 p2p->cfg->invitation_result(p2p->cfg->cb_ctx, *msg.status, in p2p_process_invitation_resp()
646 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_invitation_resp_cb()
[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.c74 p2p->cfg->go_connected(p2p->cfg->cb_ctx, in p2p_expire_peers()
531 p2p->cfg->dev_found(p2p->cfg->cb_ctx, in p2p_add_group_clients()
949 p2p->cfg->dev_lost(p2p->cfg->cb_ctx, in p2p_device_free()
1031 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_search()
1249 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_find()
1375 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_stop_listen_for_freq()
2039 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_go_neg_start()
2060 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_invite_start()
3469 p2p->cfg->cb_ctx, in p2p_prov_disc_cb()
4038 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_timeout_wait_peer_idle()
[all …]
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()
H A Dp2p_sd.c416 p2p->cfg->sd_request(p2p->cfg->cb_ctx, freq, sa, dialog_token, in p2p_rx_gas_initial_req()
507 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_rx_gas_initial_resp()
622 p2p->cfg->sd_response(p2p->cfg->cb_ctx, sa, update_indic, in p2p_rx_gas_initial_resp()
722 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_rx_gas_comeback_resp()
868 p2p->cfg->sd_response(p2p->cfg->cb_ctx, sa, in p2p_rx_gas_comeback_resp()
/freebsd-14.2/contrib/wpa/src/pasn/
H A Dpasn_common.c35 void pasn_register_callbacks(struct pasn_data *pasn, void *cb_ctx, in pasn_register_callbacks() argument
47 pasn->cb_ctx = cb_ctx; in pasn_register_callbacks()
H A Dpasn_common.h46 void *cb_ctx; member
187 void pasn_register_callbacks(struct pasn_data *pasn, void *cb_ctx,
/freebsd-14.2/contrib/wpa/src/ap/
H A Dwpa_auth_i.h247 void *cb_ctx; member
319 void *cb_ctx);
322 void *cb_ctx);
H A Dwpa_auth.c241 wpa_auth->cb->psk_failure_report(wpa_auth->cb_ctx, addr); in wpa_auth_psk_failure_report()
365 return wpa_auth->cb->start_ampe(wpa_auth->cb_ctx, addr); in wpa_auth_start_ampe()
372 void *cb_ctx) in wpa_auth_for_each_sta() argument
376 return wpa_auth->cb->for_each_sta(wpa_auth->cb_ctx, cb, cb_ctx); in wpa_auth_for_each_sta()
382 void *cb_ctx) in wpa_auth_for_each_auth() argument
386 return wpa_auth->cb->for_each_auth(wpa_auth->cb_ctx, cb, cb_ctx); in wpa_auth_for_each_auth()
413 wpa_auth->cb->logger(wpa_auth->cb_ctx, addr, level, txt); in wpa_auth_logger()
459 return wpa_auth->cb->channel_info(wpa_auth->cb_ctx, ci); in wpa_channel_info()
734 void *cb_ctx) argument
755 wpa_auth->cb_ctx = cb_ctx;
[all …]
/freebsd-14.2/sys/dev/usb/input/
H A Dusbhid.c115 void *cb_ctx; member
271 struct usbhid_softc *sc = xfer_ctx->cb_ctx; in usbhid_intr_handler_cb()
284 wakeup(xfer_ctx->cb_ctx); in usbhid_sync_wakeup_cb()
432 .cb_ctx = sc, in usbhid_intr_start()
439 .cb_ctx = sc, in usbhid_intr_start()
502 xfer_ctx->cb_ctx = xfer_ctx; in usbhid_sync_xfer()
/freebsd-14.2/contrib/wpa/src/crypto/
H A 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()
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()
/freebsd-14.2/contrib/wpa/src/utils/
H A Dhttp-utils.h60 void *cb_ctx);
/freebsd-14.2/contrib/wpa/src/eap_server/
H A Dikev2.h51 void *cb_ctx; member
/freebsd-14.2/sys/dev/oce/
H A Doce_user.h86 void *cb_ctx; member
/freebsd-14.2/contrib/wpa/src/tls/
H A Dtlsv1_client.h58 void *cb_ctx,

123