| /freebsd-src/contrib/wpa/src/ap/ |
| H A D | gas_query_ap.c | 2 * Generic advertisement service (GAS) query (hostapd) 25 /** GAS query timeout in seconds */ 28 /* GAS query wait-time / duration in ms */ 35 * struct gas_query_pending - Pending GAS query 61 * struct gas_query_ap - Internal GAS query data 75 struct gas_query_pending *query); 90 * gas_query_ap_init - Initialize GAS query component 92 * Returns: Pointer to GAS query data or %NULL on failure in gas_query_ap_init() 132 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() 135 dl_list_del(&query in gas_query_free() 130 gas_query_free(struct gas_query_pending * query,int del_list) gas_query_free() argument 143 gas_query_done(struct gas_query_ap * gas,struct gas_query_pending * query,enum gas_query_ap_result result) gas_query_done() argument 168 struct gas_query_pending *query, *next; gas_query_ap_deinit() local 194 gas_query_append(struct gas_query_pending * query,const u8 * data,size_t len) gas_query_append() argument 209 struct gas_query_pending *query; gas_query_ap_tx_status() local 259 gas_query_tx(struct gas_query_ap * gas,struct gas_query_pending * query,struct wpabuf * req,unsigned int wait_time) gas_query_tx() argument 281 gas_query_tx_comeback_req(struct gas_query_ap * gas,struct gas_query_pending * query) gas_query_tx_comeback_req() argument 308 struct gas_query_pending *query = user_ctx; gas_query_rx_comeback_timeout() local 337 struct gas_query_pending *query = user_ctx; gas_query_tx_comeback_timeout() local 346 gas_query_tx_comeback_req_delay(struct gas_query_ap * gas,struct gas_query_pending * query,u16 comeback_delay) gas_query_tx_comeback_req_delay() argument 362 gas_query_rx_initial(struct gas_query_ap * gas,struct gas_query_pending * query,const u8 * adv_proto,const u8 * resp,size_t len,u16 comeback_delay) gas_query_rx_initial() argument 394 gas_query_rx_comeback(struct gas_query_ap * gas,struct gas_query_pending * query,const u8 * adv_proto,const u8 * resp,size_t len,u8 frag_id,u8 more_frags,u16 comeback_delay) gas_query_rx_comeback() argument 469 struct gas_query_pending *query; gas_query_ap_rx() local 603 struct gas_query_pending *query = user_ctx; gas_query_timeout() local 627 gas_query_tx_initial_req(struct gas_query_ap * gas,struct gas_query_pending * query) gas_query_tx_initial_req() argument 682 struct gas_query_pending *query; gas_query_ap_req() local [all...] |
| H A D | ieee802_11_auth.c | 103 static void hostapd_acl_query_free(struct hostapd_acl_query_data *query) 105 if (!query) 107 os_free(query->auth_msg); in hostapd_radius_acl_query() argument 108 os_free(query->anonce); in hostapd_radius_acl_query() 109 os_free(query->eapol); in hostapd_radius_acl_query() 110 os_free(query); in hostapd_radius_acl_query() 116 struct hostapd_acl_query_data *query) in hostapd_radius_acl_query() 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 96 hostapd_acl_query_free(struct hostapd_acl_query_data * query) hostapd_acl_query_free() argument 454 struct hostapd_acl_query_data *query, *prev; hostapd_acl_recv_radius() local 608 struct hostapd_acl_query_data *query, *prev; hostapd_acl_deinit() local [all...] |
| /freebsd-src/contrib/wpa/wpa_supplicant/ |
| H A D | gas_query.c | 2 * Generic advertisement service (GAS) query 26 /** GAS query timeout in seconds */ 29 /* GAS query wait-time / duration in ms */ 36 * struct gas_query_pending - Pending GAS query 64 * struct gas_query - Internal GAS query data 81 struct gas_query_pending *query); 96 * gas_query_init - Initialize GAS query component 98 * Returns: Pointer to GAS query data or %NULL on failure in gas_query_init() 138 static void gas_query_free(struct gas_query_pending *query, int del_list) in gas_query_free() 140 struct gas_query *gas = query in gas_query_free() 136 gas_query_free(struct gas_query_pending * query,int del_list) gas_query_free() argument 156 gas_query_done(struct gas_query * gas,struct gas_query_pending * query,enum gas_query_result result) gas_query_done() argument 183 struct gas_query_pending *query, *next; gas_query_deinit() local 209 gas_query_append(struct gas_query_pending * query,const u8 * data,size_t len) gas_query_append() argument 227 struct gas_query_pending *query; gas_query_tx_status() local 276 gas_query_tx(struct gas_query * gas,struct gas_query_pending * query,struct wpabuf * req,unsigned int wait_time) gas_query_tx() argument 318 gas_query_tx_comeback_req(struct gas_query * gas,struct gas_query_pending * query) gas_query_tx_comeback_req() argument 345 struct gas_query_pending *query = user_ctx; gas_query_rx_comeback_timeout() local 374 struct gas_query_pending *query = user_ctx; gas_query_tx_comeback_timeout() local 383 gas_query_tx_comeback_req_delay(struct gas_query * gas,struct gas_query_pending * query,u16 comeback_delay) gas_query_tx_comeback_req_delay() argument 404 gas_query_rx_initial(struct gas_query * gas,struct gas_query_pending * query,const u8 * adv_proto,const u8 * resp,size_t len,u16 comeback_delay) gas_query_rx_initial() argument 436 gas_query_rx_comeback(struct gas_query * gas,struct gas_query_pending * query,const u8 * adv_proto,const u8 * resp,size_t len,u8 frag_id,u8 more_frags,u16 comeback_delay) gas_query_rx_comeback() argument 513 struct gas_query_pending *query; gas_query_rx() local 647 struct gas_query_pending *query = user_ctx; gas_query_timeout() local 672 struct gas_query_pending *query = work->ctx; gas_query_start_cb() local 704 gas_query_tx_initial_req(struct gas_query * gas,struct gas_query_pending * query) gas_query_tx_initial_req() argument 746 gas_query_set_sa(struct gas_query * gas,struct gas_query_pending * query) gas_query_set_sa() argument 830 struct gas_query_pending *query; gas_query_req() local 878 struct gas_query_pending *query; gas_query_stop() local [all...] |
| H A D | p2p_supplicant_sd.c | 150 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 in match_bonjour_query() 290 wpas_sd_req_bonjour(struct wpa_supplicant * wpa_s,struct wpabuf * resp,u8 srv_trans_id,const u8 * query,size_t query_len) wpas_sd_req_bonjour() argument 397 wpas_sd_req_upnp(struct wpa_supplicant * wpa_s,struct wpabuf * resp,u8 srv_trans_id,const u8 * query,size_t query_len) wpas_sd_req_upnp() argument 479 wpas_sd_req_wfd(struct wpa_supplicant * wpa_s,struct wpabuf * resp,u8 srv_trans_id,const u8 * query,size_t query_len) wpas_sd_req_wfd() argument 559 wpas_sd_req_asp(struct wpa_supplicant * wpa_s,struct wpabuf * resp,u8 srv_trans_id,const u8 * query,size_t query_len) wpas_sd_req_asp() argument 968 wpas_p2p_sd_request_upnp(struct wpa_supplicant * wpa_s,const u8 * dst,u8 version,const char * query) wpas_p2p_sd_request_upnp() argument 1209 wpas_p2p_service_add_bonjour(struct wpa_supplicant * wpa_s,struct wpabuf * query,struct wpabuf * resp) wpas_p2p_service_add_bonjour() argument 1226 wpas_p2p_service_del_bonjour(struct wpa_supplicant * wpa_s,const struct wpabuf * query) wpas_p2p_service_del_bonjour() argument [all...] |
| /freebsd-src/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_sa_query.c | 487 static inline void ib_sa_disable_local_svc(struct ib_sa_query *query) in ib_sa_disable_local_svc() argument 489 query->flags &= ~IB_SA_ENABLE_LOCAL_SERVICE; in ib_sa_disable_local_svc() 609 void ib_sa_cancel_query(int id, struct ib_sa_query *query) in ib_sa_cancel_query() argument 616 if (idr_find(&query_idr, id) != query) { in ib_sa_cancel_query() 620 agent = query->port->agent; in ib_sa_cancel_query() 621 mad_buf = query->mad_buf; in ib_sa_cancel_query() 742 static int alloc_mad(struct ib_sa_query *query, gfp_t gfp_mask) in alloc_mad() argument 746 spin_lock_irqsave(&query->port->ah_lock, flags); in alloc_mad() 747 if (!query->port->sm_ah) { in alloc_mad() 748 spin_unlock_irqrestore(&query->port->ah_lock, flags); in alloc_mad() [all …]
|
| /freebsd-src/crypto/heimdal/lib/hx509/ |
| H A D | test_query.in | 62 ${hxtool} query \ 68 ${hxtool} query \ 74 ${hxtool} query \ 79 ${hxtool} query \ 84 ${hxtool} query \ 89 ${hxtool} query \ 95 ${hxtool} query \ 101 ${hxtool} query \ 108 ${hxtool} query \ 115 ${hxtool} query \ [all …]
|
| H A D | ks_p11.c | 520 CK_ATTRIBUTE *query, int num_query, in iterate_entries() argument 544 query[i].pValue = NULL; in iterate_entries() 547 (session, object, query, num_query)); in iterate_entries() 552 query[i].pValue = malloc(query[i].ulValueLen); in iterate_entries() 553 if (query[i].pValue == NULL) { in iterate_entries() 559 (session, object, query, num_query)); in iterate_entries() 565 ret = (*func)(context, p, slot, session, object, ptr, query, num_query); in iterate_entries() 570 if (query[i].pValue) in iterate_entries() 571 free(query[i].pValue); in iterate_entries() 572 query[i].pValue = NULL; in iterate_entries() [all …]
|
| /freebsd-src/contrib/ldns/ |
| H A D | update.c | 94 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 …]
|
| /freebsd-src/contrib/bmake/unit-tests/ |
| H A D | opt-query.exp | 3 commands: query status 1 6 opt-query-file.out-of-date in compat mode: query status 1 10 opt-query-file.up-to-date in compat mode: query status 0 13 phony in compat mode: query status 1 16 opt-query-file.out-of-date in jobs mode: query status 1 19 opt-query-file.up-to-date in jobs mode: query status 0 22 phony in jobs mode: query status 1
|
| H A D | opt-query.mk | 24 _!= touch -f opt-query-file.up-to-date 37 . for target in opt-query-file.out-of-date opt-query-file.up-to-date phony 57 @rm -f opt-query-file.up-to-date 79 opt-query-file.out-of-date: ${MAKEFILE} 80 opt-query-file.up-to-date: ${MAKEFILE}
|
| /freebsd-src/contrib/kyua/cli/ |
| H A D | cmd_db_exec_test.cpp | 67 sqlite::statement query = db.create_statement("SELECT * FROM test"); in do_format_cell_test() local 68 ATF_REQUIRE(query.step()); in do_format_cell_test() 69 ATF_REQUIRE_EQ(exp_value, cli::format_cell(query, 0)); in do_format_cell_test() 70 ATF_REQUIRE(!query.step()); in do_format_cell_test() 124 sqlite::statement query = db.create_statement( in ATF_TEST_CASE_BODY() local 126 ATF_REQUIRE_EQ("c1,c2,c3bis", cli::format_headers(query)); in ATF_TEST_CASE_BODY() 146 sqlite::statement query = db.create_statement("SELECT * FROM test"); in ATF_TEST_CASE_BODY() local 147 query.step(); in ATF_TEST_CASE_BODY() 150 cli::format_row(query)); in ATF_TEST_CASE_BODY()
|
| /freebsd-src/contrib/unbound/contrib/ |
| H A D | unbound_munin_ | 86 unbound_munin_histogram - histogram of query resolving times 300 tp=`echo $nm | sed -e s/num.query.type.//` 312 tp=`echo $nm | sed -e s/num.query.class.//` 324 tp=`echo $nm | sed -e s/num.query.opcode.//` 455 total.num.cachehits total.num.prefetch num.query.tcp \ 456 num.query.tcpout num.query.udpout num.query.tls num.query.tls.resume \ 457 num.query.ipv6 unwanted.queries \ 501 …query.flags.QR num.query.flags.AA num.query.flags.TC num.query.flags.RD num.query.flags.RA num.que…
|
| H A D | aaaa-filter-iterator.patch | 13 +This also causes an additional A query to be sent for each AAAA query. 84 + /* ASN: If this is not a AAAA query, then remove AAAA 85 + * records, no questions asked. If this IS a AAAA query 129 + * @param qstate: query state. 130 + * @param iq: iterator query state. 135 + * a SERVFAIL response because the query has hit a dead end. 145 + /* flag the query properly in order to not loop */ 148 + /* re-throw same query, but with a different type */ 164 + /* set this query a [all...] |
| H A D | metrics.awk | 75 if(x ~ /^num.query.type./) { 87 if(x ~ /^num.query.class./) { 99 if(x ~ /^num.query.opcode./) { 123 if(x ~ /^num.query.flags./) {
|
| /freebsd-src/contrib/kyua/store/ |
| H A D | dbtypes_test.cpp | 70 sqlite::statement query = db.create_statement("SELECT * FROM test"); in do_ok_test() local 71 ATF_REQUIRE(query.step()); in do_ok_test() 72 ATF_REQUIRE(column(query, "column") == value); in do_ok_test() 73 ATF_REQUIRE(!query.step()); in do_ok_test() 96 sqlite::statement query = db.create_statement("SELECT * FROM test"); in do_invalid_test() local 97 ATF_REQUIRE(query.step()); in do_invalid_test() 99 column(query, "column")); in do_invalid_test() 100 ATF_REQUIRE(!query.step()); in do_invalid_test()
|
| /freebsd-src/usr.bin/whois/ |
| H A D | whois.c | 433 whois(const char *query, const char *hostname, const char *hostport, int flags) in whois() argument 462 for (q = query; *q != '\0'; q++) in whois() 465 fprintf(fp, "-T dn%s %s\r\n", idn ? "" : ",ace", query); in whois() 469 fprintf(fp, "--show-handles %s\r\n", query); in whois() 471 strchr(query, ' ') != NULL) in whois() 472 fprintf(fp, "%s\r\n", query); in whois() 474 if (strncasecmp(query, "AS", 2) == 0 && in whois() 475 strspn(query+2, "0123456789") == strlen(query+2)) in whois() 476 fprintf(fp, "+ a %s\r\n", query+2); in whois() 478 fprintf(fp, "+ %s\r\n", query); in whois() [all …]
|
| /freebsd-src/crypto/openssl/doc/man7/ |
| H A D | property.pod | 63 A I<property query clause> is a single conditional test. 71 A I<property query> is a sequence of comma separated property query clauses. 72 It is an error if a property name appears in more than one query clause. 93 B<-> is a prefix operator that means any global query clause involving the 110 When an algorithm is looked up, a property query is used to determine 112 All mandatory query clauses B<must> be present and the implementation 113 that additionally has the largest number of matching optional query 127 Two levels of property query are supported. 128 A context based property query that applies to all fetch operations and a local 129 property query. [all …]
|
| /freebsd-src/crypto/openssh/.github/ |
| H A D | ci-status.md | 2 ….svg)](https://github.com/openssh/openssh-portable/actions/workflows/c-cpp.yml?query=branch:master) 3 …ithub.com/openssh/openssh-portable-selfhosted/actions/workflows/selfhosted.yml?query=branch:master) 4 …/github.com/openssh/openssh-portable-selfhosted/actions/workflows/upstream.yml?query=branch:master) 10 …V_9_4)](https://github.com/openssh/openssh-portable/actions/workflows/c-cpp.yml?query=branch:V_9_4) 11 …github.com/openssh/openssh-portable-selfhosted/actions/workflows/selfhosted.yml?query=branch:V_9_4) 14 …V_9_3)](https://github.com/openssh/openssh-portable/actions/workflows/c-cpp.yml?query=branch:V_9_3) 15 …github.com/openssh/openssh-portable-selfhosted/actions/workflows/selfhosted.yml?query=branch:V_9_3)
|
| /freebsd-src/contrib/wpa/src/drivers/ |
| H A D | ndis_events.c | 399 WCHAR query[256]; in notification_query() 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() 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() 525 wpa_printf(MSG_DEBUG, "ndis_events: Failed to query interface " in ndis_events_get_adapter() 555 _snwprintf(query, MAX_QUERY_LE in ndis_events_get_adapter() 398 WCHAR query[256]; notification_query() local 489 WCHAR query[MAX_QUERY_LEN]; ndis_events_get_adapter() local [all...] |
| /freebsd-src/sys/dev/bhnd/cores/pmu/ |
| H A D | bhnd_pmu.c | 142 error = bhnd_pmu_query_init(&sc->query, dev, sc->cid, &bhnd_pmu_res_io, in bhnd_pmu_attach() 146 sc->io = sc->query.io; in bhnd_pmu_attach() 147 sc->io_ctx = sc->query.io_ctx; in bhnd_pmu_attach() 204 bhnd_pmu_query_fini(&sc->query); in bhnd_pmu_attach() 232 bhnd_pmu_query_fini(&sc->query); in bhnd_pmu_detach() 277 freq = bhnd_pmu_si_clock(&sc->query); in bhnd_pmu_sysctl_bus_freq() 292 freq = bhnd_pmu_cpu_clock(&sc->query); in bhnd_pmu_sysctl_cpu_freq() 307 freq = bhnd_pmu_mem_clock(&sc->query); in bhnd_pmu_sysctl_mem_freq() 527 *freq = bhnd_pmu_si_clock(&sc->query); in bhnd_pmu_get_clock_freq_method() 531 *freq = bhnd_pmu_alp_clock(&sc->query); in bhnd_pmu_get_clock_freq_method() [all …]
|
| /freebsd-src/lib/libc/resolv/ |
| H A D | res_debug.h | 25 # define DprintQ(cond, args, query, size) /*empty*/ argument 30 # define DprintQ(cond, args, query, size) if (cond) {\ argument 32 res_pquery(statp, query, size, stdout);\
|
| /freebsd-src/usr.bin/resizewin/ |
| H A D | resizewin.c | 43 static const char query[] = variable 103 if (write(fd, query, sizeof(query) - 1) != sizeof(query) - 1) { in main()
|
| /freebsd-src/sys/dev/mlx5/mlx5_fpga/ |
| H A D | mlx5fpga_core.c | 149 struct mlx5_fpga_query query; in mlx5_fpga_device_load_check() local 153 err = mlx5_fpga_query(fdev->mdev, &query); in mlx5_fpga_device_load_check() 159 fdev->last_admin_image = query.admin_image; in mlx5_fpga_device_load_check() 160 fdev->last_oper_image = query.oper_image; in mlx5_fpga_device_load_check() 161 fdev->image_status = query.image_status; in mlx5_fpga_device_load_check() 164 query.image_status, query.admin_image, query.oper_image); in mlx5_fpga_device_load_check() 171 if (query.image_status != MLX5_FPGA_STATUS_SUCCESS) { in mlx5_fpga_device_load_check() 174 query.image_status); in mlx5_fpga_device_load_check()
|
| /freebsd-src/contrib/sendmail/src/ |
| H A D | sm_resolve.c | 536 gen_dns_reply(buf, buflen, bufpos, query, qtype, domain, class, type, ttl, size, data, txtlen, pref… in gen_dns_reply() argument 540 const char *query; 570 SM_REQUIRE(query != NULL); 580 query, domain, dns_type_to_string(type), size, ad); 598 n = dn_comp(query, cp, ep - cp - QFIXEDSZ, dnptrs, lastdnptr); 831 dnscrtrr(domain, query, qtype, value, rr_type, flags, herr, adp, answer, anslen, anspos) in dnscrtrr() argument 833 const char *query; 906 query, qtype, domain, C_IN, rr_type, ttl, 916 query, qtype, domain, C_IN, rr_type, ttl, 931 query, qtype, domain, C_IN, rr_type, ttl, [all …]
|
| /freebsd-src/contrib/blocklist/diff/ |
| H A D | named.diff | 61 main.c notify.c query.c server.c sortlist.c statschannel.c \ 119 Index: dist/bin/named/query.c 121 RCS file: /cvsroot/src/external/bsd/bind/dist/bin/named/query.c,v 123 diff -u -u -r1.17 query.c 124 --- dist/bin/named/query.c 10 Dec 2014 04:37:52 -0000 1.17 125 +++ dist/bin/named/query.c 23 Jan 2015 21:37:09 -0000 142 char msg[NS_CLIENT_ACLMSGSIZE("query")]; 152 * We were allowed by the "allow-query-cache" ACL.
|