Home
last modified time | relevance | path

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

12345

/dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/
H A Dgas_query.c78 struct gas_query_pending *query);
135 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() argument
137 struct gas_query *gas = query->gas; in gas_query_free()
140 dl_list_del(&query->list); in gas_query_free()
142 if (gas->work && gas->work->ctx == query) { in gas_query_free()
147 wpabuf_free(query->req); in gas_query_free()
148 wpabuf_free(query->adv_proto); in gas_query_free()
149 wpabuf_free(query->resp); in gas_query_free()
150 os_free(query); in gas_query_free()
155 struct gas_query_pending *query, in gas_query_done() argument
[all …]
H A 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 …]
H A Dp2p_supplicant.h88 u8 version, const char *query);
98 struct wpabuf *query, struct wpabuf *resp);
100 const struct wpabuf *query);
H A 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 …]
H A Dinterworking.h23 const struct wpabuf *query);
/dflybsd-src/contrib/wpa_supplicant/src/ap/
H A Dgas_query_ap.c73 struct gas_query_pending *query);
130 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() argument
133 dl_list_del(&query->list); in gas_query_free()
135 wpabuf_free(query->req); in gas_query_free()
136 wpabuf_free(query->adv_proto); in gas_query_free()
137 wpabuf_free(query->resp); in gas_query_free()
138 os_free(query); in gas_query_free()
143 struct gas_query_pending *query, in gas_query_done() argument
148 MAC2STR(query->addr), query->dialog_token, query->freq, in gas_query_done()
149 query->status_code, gas_result_txt(result)); in gas_query_done()
[all …]
H A Dieee802_11_auth.c137 static void hostapd_acl_query_free(struct hostapd_acl_query_data *query) in hostapd_acl_query_free() argument
139 if (query == NULL) in hostapd_acl_query_free()
141 os_free(query->auth_msg); in hostapd_acl_query_free()
142 os_free(query); in hostapd_acl_query_free()
148 struct hostapd_acl_query_data *query) in hostapd_radius_acl_query() argument
153 query->radius_id = radius_client_get_id(hapd->radius); in hostapd_radius_acl_query()
154 msg = radius_msg_new(RADIUS_CODE_ACCESS_REQUEST, query->radius_id); in hostapd_radius_acl_query()
284 struct hostapd_acl_query_data *query; in hostapd_allowed_address()
305 query = hapd->acl_queries; in hostapd_allowed_address()
306 while (query) { in hostapd_allowed_address()
[all …]
/dflybsd-src/contrib/ldns/
H A Dupdate.c94 ldns_pkt *query, *resp; in ldns_update_soa_mname() local
97 query = ldns_pkt_query_new(ldns_rdf_clone(zone), LDNS_RR_TYPE_SOA, in ldns_update_soa_mname()
99 if (!query) { in ldns_update_soa_mname()
103 ldns_pkt_set_random_id(query); in ldns_update_soa_mname()
104 if (ldns_resolver_send_pkt(&resp, r, query) != LDNS_STATUS_OK) { in ldns_update_soa_mname()
105 ldns_pkt_free(query); in ldns_update_soa_mname()
108 ldns_pkt_free(query); in ldns_update_soa_mname()
137 ldns_pkt *query, *resp; in ldns_update_soa_zone_mname() local
148 query = ldns_pkt_query_new(fqdn_rdf, LDNS_RR_TYPE_SOA, c, LDNS_RD); in ldns_update_soa_zone_mname()
149 if (!query) { in ldns_update_soa_zone_mname()
[all …]
H A Dnet.c897 ldns_pkt *query; local
911 query = ldns_pkt_query_new(ldns_rdf_clone(domain), LDNS_RR_TYPE_AXFR, class, 0);
913 if (!query) {
961 ldns_pkt_free(query);
968 status = ldns_pkt_tsig_sign(query,
978 ldns_pkt_free(query);
991 ldns_pkt_free(query);
998 status = ldns_pkt2buffer_wire(query_wire, query);
1000 ldns_pkt_free(query);
1014 ldns_pkt_free(query);
[all …]
/dflybsd-src/lib/libc/resolv/
H A Dres_debug.h23 # define DprintQ(cond, args, query, size) /*empty*/ argument
28 # define DprintQ(cond, args, query, size) if (cond) {\ argument
30 res_pquery(statp, query, size, stdout);\
/dflybsd-src/games/hunt/huntd/
H A Ddriver.c1139 u_int16_t query; in handle_wkport() local
1146 if (recvfrom(fd, &query, sizeof query, 0, &fromaddr, &fromlen) == -1) in handle_wkport()
1153 fprintf(stderr, "query %d (%s) from %s:%d\n", query, in handle_wkport()
1154 query == C_MESSAGE ? "C_MESSAGE" : in handle_wkport()
1155 query == C_SCORES ? "C_SCORES" : in handle_wkport()
1156 query == C_PLAYER ? "C_PLAYER" : in handle_wkport()
1157 query == C_MONITOR ? "C_MONITOR" : "?", in handle_wkport()
1168 query = ntohs(query); in handle_wkport()
1170 switch (query) { in handle_wkport()
1185 if (query == C_MONITOR && Nplayer <= 0) in handle_wkport()
[all …]
/dflybsd-src/usr.bin/whois/
H A Dwhois.c258 whois(const char *query, const char *hostname, int flags) in whois() argument
284 fprintf(sfo, "-T dn,ace -C US-ASCII %s\r\n", query); in whois()
286 fprintf(sfo, "%s\r\n", query); in whois()
333 whois(query, nhost, 0); in whois()
/dflybsd-src/contrib/wpa_supplicant/src/p2p/
H A Dp2p_sd.c118 struct p2p_sd_query *query) in p2p_unlink_sd_query() argument
126 if (q == query) { in p2p_unlink_sd_query()
129 if (query->for_all_peers) in p2p_unlink_sd_query()
135 if (p2p->sd_query == query) in p2p_unlink_sd_query()
276 struct p2p_sd_query *query; in p2p_start_sd() local
288 query = p2p_pending_sd_req(p2p, dev); in p2p_start_sd()
289 if (query == NULL) in p2p_start_sd()
303 req = p2p_build_sd_query(p2p->srv_update_indic, query->tlvs); in p2p_start_sd()
309 p2p->sd_query = query; in p2p_start_sd()
/dflybsd-src/contrib/gdb-7/gdb/
H A Dmacrotab.c634 struct macro_key query; in find_definition() local
636 query.name = name; in find_definition()
637 query.start_file = file; in find_definition()
638 query.start_line = line; in find_definition()
639 query.end_file = NULL; in find_definition()
641 n = splay_tree_lookup (t->definitions, (splay_tree_key) &query); in find_definition()
651 (splay_tree_key) &query); in find_definition()
/dflybsd-src/crypto/libressl/apps/openssl/
H A Dts.c537 TS_REQ *query = NULL; in query_command() local
546 query = d2i_TS_REQ_bio(in_bio, NULL); in query_command()
553 query = create_query(data_bio, digest, md, in query_command()
557 if (query == NULL) in query_command()
565 if (!TS_REQ_print_bio(out_bio, query)) in query_command()
569 if (!i2d_TS_REQ_bio(out_bio, query)) in query_command()
582 TS_REQ_free(query); in query_command()
/dflybsd-src/usr.bin/whereis/
H A Dwhereis.c61 static char **query; variable
170 query = argv + optind; in scanopts()
392 for (; (name = *query) != NULL; query++) { in main()
/dflybsd-src/sbin/dump/
H A Dtape.c203 if (!query("Do you want to restart?")) in tperror()
368 while (!query("Is the new volume mounted and ready to go?")) in close_rewind()
369 if (query("Do you want to abort?")) { in close_rewind()
597 if (!query("Do you want to retry the open?")) in startnewtape()
H A Doptr.c71 query(const char *question) in query() function
144 if (query("Do you want to abort dump?")) in interrupt()
/dflybsd-src/games/robots/
H A Dquery.c41 query(const char *prompt) in query() function
H A DMakefile7 play_level.c query.c rnd_pos.c score.c flush_in.c
H A Drobots.h106 int query(const char *);
/dflybsd-src/contrib/file/magic/Magdir/
H A Dringdove16 0 regex/128l ha:pcb-rnd-drc-query-v[0-9]+[\ \t\r\n]*[{] pcb-rnd drc query string (lihata)
/dflybsd-src/usr.sbin/nscd/
H A DMakefile10 protocol.c query.c singletons.c
/dflybsd-src/contrib/wpa_supplicant/src/common/
H A Dgas_server.h26 const u8 *query, size_t query_len),
/dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/dbus/
H A Ddbus_new_handlers_p2p.c2602 struct wpabuf *query = NULL; in wpas_dbus_handler_p2p_add_service() local
2634 query = wpabuf_alloc_copy( in wpas_dbus_handler_p2p_add_service()
2655 if (query == NULL || resp == NULL) in wpas_dbus_handler_p2p_add_service()
2658 if (wpas_p2p_service_add_bonjour(wpa_s, query, resp) < 0) in wpas_dbus_handler_p2p_add_service()
2660 query = NULL; in wpas_dbus_handler_p2p_add_service()
2671 wpabuf_free(query); in wpas_dbus_handler_p2p_add_service()
2688 struct wpabuf *query = NULL; in wpas_dbus_handler_p2p_delete_service() local
2719 wpabuf_free(query); in wpas_dbus_handler_p2p_delete_service()
2720 query = wpabuf_alloc_copy(entry.bytearray_value, in wpas_dbus_handler_p2p_delete_service()
2736 if (query == NULL) in wpas_dbus_handler_p2p_delete_service()
[all …]

12345