Home
last modified time | relevance | path

Searched refs:query (Results 1 – 25 of 42) sorted by relevance

12

/hostap-latest/src/ap/
Dgas_query_ap.c75 struct gas_query_pending *query);
132 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() argument
135 dl_list_del(&query->list); in gas_query_free()
137 wpabuf_free(query->req); in gas_query_free()
138 wpabuf_free(query->adv_proto); in gas_query_free()
139 wpabuf_free(query->resp); in gas_query_free()
140 os_free(query); in gas_query_free()
145 struct gas_query_pending *query, in gas_query_done() argument
150 MAC2STR(query->addr), query->dialog_token, query->freq, in gas_query_done()
151 query->status_code, gas_result_txt(result)); in gas_query_done()
[all …]
Dieee802_11_auth.c103 static void hostapd_acl_query_free(struct hostapd_acl_query_data *query) in hostapd_acl_query_free() argument
105 if (!query) in hostapd_acl_query_free()
107 os_free(query->auth_msg); in hostapd_acl_query_free()
108 os_free(query->anonce); in hostapd_acl_query_free()
109 os_free(query->eapol); in hostapd_acl_query_free()
110 os_free(query); in hostapd_acl_query_free()
116 struct hostapd_acl_query_data *query) in hostapd_radius_acl_query() argument
121 query->radius_id = radius_client_get_id(hapd->radius); in hostapd_radius_acl_query()
122 msg = radius_msg_new(RADIUS_CODE_ACCESS_REQUEST, query->radius_id); in hostapd_radius_acl_query()
168 if (query->akm && in hostapd_radius_acl_query()
[all …]
Ddpp_hostapd.h28 const u8 *query, size_t query_len,
/hostap-latest/wpa_supplicant/
Dgas_query.c81 struct gas_query_pending *query);
138 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() argument
140 struct gas_query *gas = query->gas; in gas_query_free()
143 dl_list_del(&query->list); in gas_query_free()
145 if (gas->work && gas->work->ctx == query) { in gas_query_free()
150 wpabuf_free(query->req); in gas_query_free()
151 wpabuf_free(query->adv_proto); in gas_query_free()
152 wpabuf_free(query->resp); in gas_query_free()
153 os_free(query); in gas_query_free()
158 struct gas_query_pending *query, in gas_query_done() argument
[all …]
Dp2p_supplicant_sd.c150 const struct wpabuf *query) in wpas_p2p_service_get_bonjour() argument
155 len = wpabuf_len(query); in wpas_p2p_service_get_bonjour()
158 if (len == wpabuf_len(bsrv->query) && in wpas_p2p_service_get_bonjour()
159 os_memcmp(wpabuf_head(query), wpabuf_head(bsrv->query), in wpas_p2p_service_get_bonjour()
241 5 + wpabuf_len(bsrv->query) + wpabuf_len(bsrv->resp)) in wpas_sd_all_bonjour()
253 wpabuf_put_buf(resp, bsrv->query); /* Key */ in wpas_sd_all_bonjour()
261 static int match_bonjour_query(struct p2p_srv_bonjour *bsrv, const u8 *query, in match_bonjour_query() argument
266 if (query_len < 3 || wpabuf_len(bsrv->query) < 3) in match_bonjour_query()
268 if (os_memcmp(query + query_len - 3, in match_bonjour_query()
269 wpabuf_head_u8(bsrv->query) + wpabuf_len(bsrv->query) - 3, in match_bonjour_query()
[all …]
Dp2p_supplicant.h92 u8 version, const char *query);
102 struct wpabuf *query, struct wpabuf *resp);
104 const struct wpabuf *query);
DREADME-P2P376 for wildcard query that is sent to every discovered P2P peer that
390 This command returns an identifier for the pending query (e.g.,
409 single query TLV (i.e., a service discovery for a specific UPnP
474 p2p_serv_disc_cancel_req <query identifier>
477 single parameter: identifier for the pending query (the value returned
482 Reply to a service discovery query. This command takes following
509 p2p_service_add bonjour <query hexdump> <RDATA hexdump>
511 Add a local Bonjour service for internal SD query processing.
529 p2p_service_del bonjour <query hexdump>
531 Remove a local Bonjour service from internal SD query processing.
[all …]
Dinterworking.h23 const struct wpabuf *query);
/hostap-latest/tests/hwsim/
Dtest_gas.py552 query = gas_rx(hapd)
553 gas = parse_gas(query['payload'])
554 resp = action_response(query)
574 query = gas_rx(hapd)
575 gas = parse_gas(query['payload'])
576 resp = action_response(query)
647 query = hapd.mgmt_rx()
648 if query is None:
650 if query['subtype'] != MGMT_SUBTYPE_ACTION:
652 payload = query['payload']
[all …]
Dtest_dscp.py103 def handle_dscp_query(hapd, query): argument
105 if msg['payload'] != query:
147 query = b'\x7e\x50\x6f\x9a\x1a\x00\x01'
148 handle_dscp_query(hapd, query)
154query = b'\x7e\x50\x6f\x9a\x1a\x00\x02\xdd\x11\x50\x6f\x9a\x22\x04\x0b\x65\x78\x61\x6d\x70\x6c\x65…
155 handle_dscp_query(hapd, query)
Dtest_p2p_service.py33 def run_sd(dev, dst, query, exp_query=None, fragment=False, query2=None): argument
43 dev[1].global_request("P2P_SERV_DISC_REQ " + dst + " " + query)
55 exp_query = query
285 query = dev[0].global_request("P2P_SERV_DISC_REQ " + dev[1].p2p_dev_addr() + " 02000001")
286 if "OK" not in dev[0].global_request("P2P_SERV_DISC_CANCEL_REQ " + query):
298 query = dev[0].global_request("P2P_SERV_DISC_REQ 00:00:00:00:00:00 02000001")
299 if "OK" not in dev[0].global_request("P2P_SERV_DISC_CANCEL_REQ " + query):
/hostap-latest/hs20/server/www/
Dusers.php22 $row = $db->query("SELECT dump FROM eventlog WHERE rowid=$id")->fetch();
41 $row = $db->query("SELECT $mo FROM users WHERE rowid=$id")->fetch();
49 $row = $db->query("SELECT cert_pem FROM users WHERE rowid=$id")->fetch();
135 $row = $db->query("SELECT rowid,* FROM users WHERE rowid=$id")->fetch();
291 $res = $db->query("SELECT rowid,* FROM eventlog ORDER BY timestamp DESC LIMIT $limit");
293 …$res = $db->query("SELECT rowid,* FROM eventlog WHERE (user='$user' OR user='$osu_user') AND realm…
295 …$res = $db->query("SELECT rowid,* FROM eventlog WHERE user='$user' AND realm='$realm' ORDER BY tim…
332 $res = $db->query('SELECT rowid,* FROM users WHERE (phase2=1 OR methods=\'TLS\') ORDER BY identity'…
Dadd-free.php17 $row = $db->query("SELECT rowid,* FROM sessions WHERE id='$id'")->fetch();
26 $row = $db->query("SELECT value FROM osu_config WHERE realm='$realm' AND field='free_account'")->fe…
33 $row = $db->query("SELECT password FROM users WHERE identity='$user' AND realm='$realm'")->fetch();
Dspp.php58 $row = $db->query("SELECT password FROM users " .
61 $row = $db->query("SELECT osu_password FROM users " .
98 $row = $db->query("SELECT * FROM sim_provisioning " .
109 $row = $db->query("SELECT COUNT(*) FROM osu_config " .
Dsignup.php18 $row = $db->query("SELECT realm,test FROM sessions WHERE id='$id'")->fetch();
35 $row = $db->query("SELECT value FROM osu_config WHERE realm='$realm' AND field='free_account'")->fe…
Dremediation.php22 $row = $db->query("SELECT * FROM sessions WHERE id='$id'")->fetch();
30 $user = $db->query("SELECT machine_managed,methods FROM users WHERE identity='$username'")->fetch();
Dadd-mo.php28 $row = $db->query("SELECT rowid,* FROM sessions WHERE id='$id'")->fetch();
34 $userrow = $db->query("SELECT identity FROM users WHERE identity='$user' AND realm='$realm'")->fetc…
Dest.php42 $q = $db->query($sql);
79 $q = $db->query($sql);
Dredirect.php15 $row = $db->query("SELECT rowid,* FROM sessions WHERE id='$id'")->fetch();
Dcert-enroll.php17 $row = $db->query("SELECT rowid,* FROM sessions WHERE id='$id'")->fetch();
Dremediation-pw.php20 $row = $db->query("SELECT rowid,* FROM sessions WHERE id='$id'")->fetch();
/hostap-latest/src/drivers/
Dndis_events.c399 WCHAR query[256]; in notification_query() local
401 _snwprintf(query, 256, in notification_query()
403 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); in notification_query()
405 pSvc, L"WQL", query, 0, 0, pDestSink); in notification_query()
490 WCHAR query[MAX_QUERY_LEN]; in ndis_events_get_adapter() local
515 _snwprintf(query, MAX_QUERY_LEN, in ndis_events_get_adapter()
518 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); in ndis_events_get_adapter()
521 pSvc, L"WQL", query, in ndis_events_get_adapter()
555 _snwprintf(query, MAX_QUERY_LEN, in ndis_events_get_adapter()
559 wpa_printf(MSG_DEBUG, "ndis_events: WMI: %S", query); in ndis_events_get_adapter()
[all …]
/hostap-latest/src/p2p/
Dp2p_sd.c117 struct p2p_sd_query *query) in p2p_unlink_sd_query() argument
125 if (q == query) { in p2p_unlink_sd_query()
128 if (query->for_all_peers) in p2p_unlink_sd_query()
134 if (p2p->sd_query == query) in p2p_unlink_sd_query()
275 struct p2p_sd_query *query; in p2p_start_sd() local
287 query = p2p_pending_sd_req(p2p, dev); in p2p_start_sd()
288 if (query == NULL) in p2p_start_sd()
301 req = p2p_build_sd_query(p2p->srv_update_indic, query->tlvs); in p2p_start_sd()
307 p2p->sd_query = query; in p2p_start_sd()
/hostap-latest/src/common/
Dgas_server.h28 const u8 *query, size_t query_len,
/hostap-latest/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c2723 struct wpabuf *query = NULL; in wpas_dbus_handler_p2p_add_service() local
2755 query = wpabuf_alloc_copy( in wpas_dbus_handler_p2p_add_service()
2776 if (query == NULL || resp == NULL) in wpas_dbus_handler_p2p_add_service()
2779 if (wpas_p2p_service_add_bonjour(wpa_s, query, resp) < 0) in wpas_dbus_handler_p2p_add_service()
2786 wpabuf_free(query); in wpas_dbus_handler_p2p_add_service()
2809 struct wpabuf *query = NULL; in wpas_dbus_handler_p2p_delete_service() local
2840 wpabuf_free(query); in wpas_dbus_handler_p2p_delete_service()
2841 query = wpabuf_alloc_copy(entry.bytearray_value, in wpas_dbus_handler_p2p_delete_service()
2857 if (query == NULL) in wpas_dbus_handler_p2p_delete_service()
2860 ret = wpas_p2p_service_del_bonjour(wpa_s, query); in wpas_dbus_handler_p2p_delete_service()
[all …]

12