Searched refs:query (Results 1 - 25 of 576) sorted by relevance

1234567891011>>

/netbsd-current/external/mpl/bind/dist/bin/tests/system/isctest/
H A D__init__.py13 from . import query namespace
/netbsd-current/external/bsd/nsd/dist/
H A Daxfr.c22 query_axfr(struct nsd *nsd, struct query *query, int wstats) argument
30 if (query->axfr_is_done)
33 if (query->maxlen > AXFR_MAX_MESSAGE_LEN)
34 query->maxlen = AXFR_MAX_MESSAGE_LEN;
36 assert(!query_overflow(query));
38 query->tsig_prepare_it = 0;
39 query->tsig_update_it = 1;
40 if(query->tsig_sign_it) {
42 query
[all...]
H A Daxfr.h14 #include "query.h"
22 query_state_type answer_axfr_ixfr(struct nsd *nsd, struct query *q);
23 query_state_type query_axfr(struct nsd *nsd, struct query *query, int wstats);
H A Dquery.h2 * query.h -- manipulation with the queries
31 typedef struct query query_type;
32 struct query { struct
34 * Memory region freed whenever the query is reset.
39 * The address the query was received from.
60 * Maximum supported query size.
72 /* TSIG record information and running hash for query-response */
82 /* Normalized query domain name. */
89 /* The zone used to answer the query. */
116 * query nam
174 query_get_dname_offset(struct query *query, domain_type *domain) argument
[all...]
H A Drrl.c148 /** return the source netblock of the query, this is the genuine source
150 static uint64_t rrl_get_source(query_type* query, uint16_t* c2) argument
156 if( ((struct sockaddr_in*)&query->client_addr)->sin_family == AF_INET) {
158 return ((struct sockaddr_in*)&query->client_addr)->
163 memmove(&s, &((struct sockaddr_in6*)&query->client_addr)->sin6_addr,
169 return query->client_addr.sin_addr.s_addr & htonl(0xffffffff << (32-rrl_ipv4_prefixlen));
240 /** classify the query in a number of different types, each has separate
242 static uint16_t rrl_classify(query_type* query, const uint8_t** d, argument
245 if(RCODE(query->packet) == RCODE_NXDOMAIN) {
246 if(query
306 examine_query(query_type* query, uint32_t* hash, uint64_t* source, uint16_t* flags, uint32_t* lm) argument
354 rrl_msg(query_type* query, const char* str) argument
382 rrl_update(query_type* query, uint32_t hash, uint64_t source, uint16_t flags, int32_t now, uint32_t lm) argument
456 rrl_process_query(query_type* query) argument
477 rrl_slip(query_type* query) argument
[all...]
/netbsd-current/external/bsd/wpa/dist/src/ap/
H A Dgas_query_ap.c2 * Generic advertisement service (GAS) query (hostapd)
25 /** GAS query timeout in seconds */
28 /* GAS query wait-time / duration in ms */
33 * struct gas_query_pending - Pending GAS query
59 * struct gas_query_ap - Internal GAS query data
73 struct gas_query_pending *query);
88 * gas_query_ap_init - Initialize GAS query component
90 * Returns: Pointer to GAS query data or %NULL on failure
130 static void gas_query_free(struct gas_query_pending *query, int del_list) argument
133 dl_list_del(&query
142 gas_query_done(struct gas_query_ap *gas, struct gas_query_pending *query, enum gas_query_ap_result result) argument
168 struct gas_query_pending *query, *next; local
194 gas_query_append(struct gas_query_pending *query, const u8 *data, size_t len) argument
209 struct gas_query_pending *query; local
258 gas_query_tx(struct gas_query_ap *gas, struct gas_query_pending *query, struct wpabuf *req, unsigned int wait_time) argument
280 gas_query_tx_comeback_req(struct gas_query_ap *gas, struct gas_query_pending *query) argument
308 struct gas_query_pending *query = user_ctx; local
337 struct gas_query_pending *query = user_ctx; local
345 gas_query_tx_comeback_req_delay(struct gas_query_ap *gas, struct gas_query_pending *query, u16 comeback_delay) argument
361 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) argument
393 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) argument
469 struct gas_query_pending *query; local
603 struct gas_query_pending *query = user_ctx; local
626 gas_query_tx_initial_req(struct gas_query_ap *gas, struct gas_query_pending *query) argument
682 struct gas_query_pending *query; local
[all...]
/netbsd-current/usr.bin/make/unit-tests/
H A Dopt-query.exp3 commands: query status 1
5 Making opt-query-file.out-of-date in compat mode:
6 opt-query-file.out-of-date in compat mode: query status 1
8 Making opt-query-file.up-to-date in compat mode:
9 `opt-query-file.up-to-date' is up to date.
10 opt-query-file.up-to-date in compat mode: query status 0
13 phony in compat mode: query status 1
15 Making opt-query
[all...]
/netbsd-current/external/bsd/wpa/dist/wpa_supplicant/
H A Dgas_query.c2 * Generic advertisement service (GAS) query
26 /** GAS query timeout in seconds */
29 /* GAS query wait-time / duration in ms */
34 * struct gas_query_pending - Pending GAS query
61 * struct gas_query - Internal GAS query data
78 struct gas_query_pending *query);
93 * gas_query_init - Initialize GAS query component
95 * Returns: Pointer to GAS query data or %NULL on failure
135 static void gas_query_free(struct gas_query_pending *query, int del_list) argument
137 struct gas_query *gas = query
154 gas_query_done(struct gas_query *gas, struct gas_query_pending *query, enum gas_query_result result) argument
182 struct gas_query_pending *query, *next; local
208 gas_query_append(struct gas_query_pending *query, const u8 *data, size_t len) argument
226 struct gas_query_pending *query; local
285 gas_query_tx(struct gas_query *gas, struct gas_query_pending *query, struct wpabuf *req, unsigned int wait_time) argument
326 gas_query_tx_comeback_req(struct gas_query *gas, struct gas_query_pending *query) argument
354 struct gas_query_pending *query = user_ctx; local
383 struct gas_query_pending *query = user_ctx; local
391 gas_query_tx_comeback_req_delay(struct gas_query *gas, struct gas_query_pending *query, u16 comeback_delay) argument
412 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) argument
444 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) argument
522 struct gas_query_pending *query; local
656 struct gas_query_pending *query = user_ctx; local
681 struct gas_query_pending *query = work->ctx; local
709 gas_query_tx_initial_req(struct gas_query *gas, struct gas_query_pending *query) argument
746 gas_query_set_sa(struct gas_query *gas, struct gas_query_pending *query) argument
817 struct gas_query_pending *query; local
864 struct gas_query_pending *query; local
[all...]
/netbsd-current/external/bsd/libbind/dist/resolv/
H A Dres_debug.h25 # define DprintQ(cond, args, query, size) /*empty*/
30 # define DprintQ(cond, args, query, size) if (cond) {\
32 res_pquery(statp, query, size, stdout);\
/netbsd-current/lib/libc/resolv/
H A Dres_debug.h25 # define DprintQ(cond, args, query, size) /*empty*/
30 # define DprintQ(cond, args, query, size) if (cond) {\
32 res_pquery(statp, (query), (int)(size), stdout);\
/netbsd-current/external/bsd/unbound/dist/testdata/10-unbound-anchor.tdir/
H A D10-unbound-anchor.conf3 do-not-query-localhost: no
/netbsd-current/external/mpl/bind/dist/bin/tests/system/hooks/
H A Dtests_async_plugin.py16 import dns.query namespace
25 ans = dns.query.udp(msg, "10.53.0.1", timeout=10, port=named_port)
/netbsd-current/external/mpl/bind/dist/bin/tests/system/dispatch/
H A Dtests_connreset.py18 import dns.query namespace
26 ans = dns.query.udp(msg, "10.53.0.2", timeout=10, port=named_port)
/netbsd-current/external/mpl/bind/dist/bin/tests/system/tcp/
H A Dtests_tcp.py24 import dns.query namespace
48 (sbytes, stime) = dns.query.send_tcp(sock, msg, timeout())
49 (response, rtime) = dns.query.receive_tcp(sock, timeout())
61 (sbytes, stime) = dns.query.send_tcp(sock, msg, timeout())
62 (response, rtime) = dns.query.receive_tcp(sock, timeout())
70 (sbytes, stime) = dns.query.send_tcp(sock, msg, timeout())
71 (response, rtime) = dns.query.receive_tcp(sock, timeout())
76 # Send DNS response instead of DNS query, this should cause
80 (sbytes, stime) = dns.query.send_tcp(sock, rmsg, timeout())
84 (response, rtime) = dns.query
[all...]
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hx509/
H A Dtest_query.in62 ${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...]
/netbsd-current/external/mpl/bind/dist/bin/tests/system/timeouts/
H A Dtests_tcp_timeouts.py25 import dns.query namespace
59 (sbytes, stime) = dns.query.send_tcp(sock, msg, timeout())
60 (response, rtime) = dns.query.receive_tcp(sock, timeout())
75 (sbytes, stime) = dns.query.send_tcp(sock, msg, timeout())
76 (response, rtime) = dns.query.receive_tcp(sock, timeout())
80 (sbytes, stime) = dns.query.send_tcp(sock, msg, timeout())
81 (response, rtime) = dns.query.receive_tcp(sock, timeout())
87 (sbytes, stime) = dns.query.send_tcp(sock, msg, timeout())
88 (response, rtime) = dns.query.receive_tcp(sock, timeout())
106 (sbytes, stime) = dns.query
[all...]
/netbsd-current/external/mpl/bind/dist/bin/tools/
H A Dmdig.c125 struct query { struct
149 ISC_LINK(struct query) link;
151 static struct query default_query;
152 static ISC_LIST(struct query) queries;
194 dns_message_t *query = NULL, *response = NULL; local
205 query = reqev->ev_arg;
540 if (query != NULL) {
541 dns_message_detach(&query);
581 sendquery(struct query *query, isc_task_ argument
769 struct query *query = (struct query *)event->ev_arg; local
938 newopts(struct query *query) argument
952 save_opt(struct query *query, char *code, char *value) argument
1132 plus_option(char *option, struct query *query, bool global) argument
1658 dash_option(const char *option, char *next, struct query *query, bool global, bool *setname) argument
1814 struct query *query; local
1897 struct query *query = NULL; local
2095 struct query *query = NULL; local
[all...]
/netbsd-current/external/mpl/bind/dist/bin/tests/system/qmin/
H A Dclean.sh19 rm -f ans*/query.log*
20 rm -f query*.log
H A Dtests.sh20 CLEANQL="rm -f ans*/query.log"
25 echo_i "query for .good is not minimized when qname-minimization is off ($n)"
33 cat <<__EOF | diff ans2/query.log - >/dev/null || ret=1
40 echo "ADDR icky.icky.icky.ptang.zoop.boing.good." | diff ans3/query.log - >/dev/null || ret=1
41 echo "ADDR icky.icky.icky.ptang.zoop.boing.good." | diff ans4/query.log - >/dev/null || ret=1
42 for ans in ans2 ans3 ans4; do mv -f $ans/query.log query-$ans-$n.log 2>/dev/null || true; done
47 echo_i "query for .bad is not minimized when qname-minimization is off ($n)"
55 cat <<__EOF | diff ans2/query.log - >/dev/null || ret=1
62 echo "ADDR icky.icky.icky.ptang.zoop.boing.bad." | diff ans3/query
[all...]
/netbsd-current/lib/libc/locale/
H A Dgeneric_lc_all.c91 strlcpy(&locale->query[0], s, sizeof(locale->query));
105 strlcat(&locale->query[0], "/",
106 sizeof(locale->query));
107 strlcat(&locale->query[0], s,
108 sizeof(locale->query));
111 strlcat(&locale->query[0], "/", sizeof(locale->query));
112 strlcat(&locale->query[0], t, sizeof(locale->query));
[all...]
/netbsd-current/external/bsd/unbound/dist/testdata/tcp_sigpipe.tdir/
H A Dtcp_sigpipe.conf11 do-not-query-localhost: no
/netbsd-current/external/bsd/unbound/dist/testdata/fwd_zero.tdir/
H A Dfwd_zero.conf11 do-not-query-localhost: no
/netbsd-current/external/bsd/unbound/dist/testdata/fwd_no_edns.tdir/
H A Dfwd_no_edns.conf11 do-not-query-localhost: no
/netbsd-current/external/bsd/unbound/dist/testdata/fwd_ttlexpire.tdir/
H A Dfwd_ttlexpire.conf11 do-not-query-localhost: no
/netbsd-current/external/bsd/unbound/dist/testdata/fwd_tcp_tc.tdir/
H A Dfwd_tcp_tc.conf11 do-not-query-localhost: no

Completed in 214 milliseconds

1234567891011>>