Searched refs:qname (Results 1 - 25 of 93) sorted by relevance

1234

/freebsd-11-stable/contrib/unbound/validator/
H A Dval_nsec.h104 * must still be provided proof that qname did not directly exist and that
112 * nextcloser of qname.
120 * qname.
123 * @param qname: what was queried.
127 uint8_t* qname);
143 * @param qname: the name queried for.
147 uint8_t* nsec_closest_encloser(uint8_t* qname,
154 * @param qname: the name queried for.
155 * @param qnamelen: length of qname.
158 int val_nsec_proves_no_wc(struct ub_packed_rrset_key* nsec, uint8_t* qname,
[all...]
H A Dval_nsec.c204 rep, qinfo->qname, qinfo->qname_len, LDNS_RR_TYPE_NSEC,
239 /* Otherwise, there is no NSEC at qname. This could be an ENT.
261 if(val_nsec_proves_name_error(rep->rrsets[i], qinfo->qname)) {
262 ce = nsec_closest_encloser(qinfo->qname,
293 if(query_dname_compare(nsec->rk.dname, qinfo->qname) != 0) {
301 /* If the nsec is proving that qname is an ENT, the nsec owner
302 * will be less than qname, and the next name will be a child
303 * domain of the qname. */
306 if(dname_strict_subdomain_c(nm, qinfo->qname) &&
308 qinfo->qname) <
404 val_nsec_proves_name_error(struct ub_packed_rrset_key* nsec, uint8_t* qname) argument
475 nsec_closest_encloser(uint8_t* qname, struct ub_packed_rrset_key* nsec) argument
510 val_nsec_proves_no_wc(struct ub_packed_rrset_key* nsec, uint8_t* qname, size_t qnamelen) argument
[all...]
H A Dval_neg.c393 while(result) { /* go up until qname is subdomain of stub */
432 while(result) { /* go up until qname is subdomain of stub */
942 * @param qname: name to look for.
949 uint8_t* qname, size_t len, int labs, struct val_neg_data** data)
954 key.name = qname;
1047 * @param qname: to lookup rrset name
1048 * @param qname_len: length of qname.
1059 grab_nsec(struct rrset_cache* rrset_cache, uint8_t* qname, size_t qname_len, argument
1065 qname, qname_len, qtype, qclass, flags, now, 0);
1096 * Get best NSEC record for qname
948 neg_closest_data(struct val_neg_zone* zone, uint8_t* qname, size_t len, int labs, struct val_neg_data** data) argument
1108 neg_find_nsec(struct val_neg_cache* neg_cache, uint8_t* qname, size_t qname_len, uint16_t qclass, struct rrset_cache* rrset_cache, time_t now, struct regional* region) argument
1164 neg_find_nsec3_ce(struct val_neg_zone* zone, uint8_t* qname, size_t qname_len, int qlabs, sldns_buffer* buf, uint8_t* hashnc, size_t* nclen) argument
1247 neg_nsec3_proof_ds(struct val_neg_zone* zone, uint8_t* qname, size_t qname_len, int qlabs, sldns_buffer* buf, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* topname) argument
[all...]
/freebsd-11-stable/contrib/ldns/drill/
H A Ddrill.c103 ldns_rdf *qname, *qname_tmp; local
163 qname = NULL; src = NULL;
596 qname = ldns_dname_new_frm_str(name);
597 if (!qname) {
601 (void)do_trace(res, qname, type, clas);
609 qname = ldns_dname_new_frm_str(name);
610 if (!qname) {
611 error("%s", "making qname");
615 result = do_secure_trace(res, qname, type, clas, key_list, trace_start_name);
620 qname
[all...]
H A Ddrill.h70 ldns_rr *ldns_nsec3_exact_match(ldns_rdf *qname,
74 ldns_rdf *ldns_nsec3_closest_encloser(ldns_rdf *qname,
H A Ddnssec.c289 ldns_nsec3_exact_match(ldns_rdf *qname, ldns_rr_type qtype, ldns_rr_list *nsec3s) { argument
313 ldns_rdf_print(stdout, qname);
317 if (!qname || !nsec3s || ldns_rr_list_rr_count(nsec3s) < 1) {
319 printf("no qname, nsec3s or list empty\n");
333 sname = ldns_rdf_clone(qname);
389 ldns_nsec3_closest_encloser(ldns_rdf *qname, ldns_rr_type qtype, ldns_rr_list *nsec3s) argument
409 if (!qname || !nsec3s || ldns_rr_list_rr_count(nsec3s) < 1) {
415 ldns_rdf_print(stdout, qname);
428 sname = ldns_rdf_clone(qname);
/freebsd-11-stable/sbin/ipfw/
H A Daltq.c118 if (strcmp(name, altq->qname) == 0)
136 return altq->qname;
143 const char *qname; local
145 qname = altq_qid_to_name(altqptr->qid);
146 if (qname == NULL)
149 bprintf(bp, " altq %s", qname);
/freebsd-11-stable/contrib/unbound/edns-subnet/
H A Dsubnet-whitelist.h95 * @param qname: dname in query
101 struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* qname,
H A Dsubnet-whitelist.c188 struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* qname,
195 labs = dname_count_labels(qname);
196 return name_tree_lookup(&whitelist->dname, qname, qname_len, labs,
187 ecs_is_whitelisted(struct ecs_whitelist* whitelist, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* qname, size_t qname_len, uint16_t qclass) argument
/freebsd-11-stable/contrib/unbound/services/cache/
H A Ddns.h124 * @param qname: query name.
125 * @param qnamelen: length of qname.
135 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
142 * @param q: query info, contains qname that will make up the dns message.
143 * @param r: reply info that, together with qname, will make up the dns message.
158 * @param qname: query name.
159 * @param qnamelen: length of qname.
172 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
190 * @param qname: query section name
191 * @param qnamelen: len of qname
[all...]
H A Ddns.c115 msg_cache_remove(struct module_env* env, uint8_t* qname, size_t qnamelen, argument
121 k.qname = qname;
139 e = msg_cache_lookup(env, qinfo->qname, qinfo->qname_len,
151 msg_cache_remove(env, qinfo->qname, qinfo->qname_len, qinfo->qtype,
199 find_closest_of_type(struct module_env* env, uint8_t* qname, size_t qnamelen, argument
207 lablen = *qname;
208 qname += lablen + 1;
212 /* snip off front part of qname until the type is found */
214 if((rrset = rrset_cache_lookup(env->rrset_cache, qname,
240 msg_cache_lookup(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, uint16_t flags, time_t now, int wr) argument
408 dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region, size_t capacity) argument
462 dns_cache_find_delegation(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region, struct dns_msg** msg, time_t now) argument
736 fill_any(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region) argument
801 dns_cache_lookup(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, uint16_t flags, struct regional* region, struct regional* scratch, int no_partial) argument
[all...]
/freebsd-11-stable/contrib/unbound/contrib/
H A Dunbound-querycachedb.py15 def _calc_hashkey(qname, secret, qtype):
18 hobj.update(dns.name.from_text(qname).to_wire())
29 def _dump_value(options, qname, key, value):
30 print(';; query=%s/IN/%s' % (qname, options.qtype))
63 parser.error('qname is missing')
/freebsd-11-stable/sys/dev/twe/
H A Dtwevar.h178 #define TWEQ_ADD(sc, qname) \
180 struct twe_qstat *qs = &(sc)->twe_qstat[qname]; \
187 #define TWEQ_REMOVE(sc, qname) \
189 struct twe_qstat *qs = &(sc)->twe_qstat[qname]; \
196 #define TWEQ_INIT(sc, qname) \
198 sc->twe_qstat[qname].q_length = 0; \
199 sc->twe_qstat[qname].q_max = 0; \
200 sc->twe_qstat[qname].q_min = 0xFFFFFFFF; \
/freebsd-11-stable/contrib/unbound/iterator/
H A Diter_fwd.h110 * @param qname: The qname of the query.
114 struct delegpt* forwards_find(struct iter_forwards* fwd, uint8_t* qname,
119 * For this qname/qclass find forward zone information, returns delegation
123 * @param qname: The qname of the query.
129 uint8_t* qname, uint16_t qclass);
H A Diter_hints.h118 * Given a qname/qclass combination, and the delegation point from the cache
119 * for this qname/qclass, determine if this combination indicates that a
123 * @param qname: The qname that generated the delegation point.
130 uint8_t* qname, uint16_t qclass, struct delegpt* dp);
H A Diter_resptype.c68 uint8_t* mname = request->qname;
96 if(mname != request->qname) {
127 query_dname_compare(request->qname,
149 uint8_t* mname = request->qname;
202 if(mname != request->qname) {
215 dname_subdomain_c(request->qname, s->rk.dname)) {
H A Diter_utils.c645 if(!(m->qinfo.qname = regional_alloc_init(region, from->qinfo.qname,
681 qinf.qname = name;
764 dname_subdomain_c(qinfo->qname, dp->name) &&
765 delegpt_find_ns(dp, qinfo->qname, qinfo->qname_len))
781 if(!env || !env->anchors || !qinfo || !qinfo->qname)
784 if((a=anchors_lookup(env->anchors, qinfo->qname, qinfo->qname_len,
1133 neg->rk.dname = regional_alloc_init(env->scratch, qinfo->qname,
1358 if(dname_subdomain_c(s->rk.dname, msg->qinfo.qname))
1383 /* see if dp equals the qname, the
1416 char qname[255+1]; local
1428 char qname[255+1]; local
[all...]
/freebsd-11-stable/usr.sbin/ctm/ctm_smail/
H A Dctm_smail.c213 char qname[PATH_MAX]; local
260 mk_queue_name(qname, queue_dir, delta, pce, npieces);
261 if (rename(tname, qname) < 0)
263 err("*rename: '%s' to '%s'", tname, qname);
413 char qname[PATH_MAX]; local
423 mk_queue_name(qname, queue_dir, delta, 1, 1);
424 sfp = fopen(qname, "w");
427 err("cannot open '%s' for writing", qname);
450 err("error writing '%s'", qname);
451 unlink(qname);
[all...]
/freebsd-11-stable/sys/dev/ciss/
H A Dcissvar.h300 #define CISSQ_ADD(sc, qname) \
302 struct ciss_qstat *qs = &(sc)->ciss_qstat[qname]; \
309 #define CISSQ_REMOVE(sc, qname) (sc)->ciss_qstat[qname].q_length--
310 #define CISSQ_INIT(sc, qname) \
312 sc->ciss_qstat[qname].q_length = 0; \
313 sc->ciss_qstat[qname].q_max = 0; \
/freebsd-11-stable/sbin/pfctl/
H A Dpfctl_altq.c122 altq->qname[0] == 0)
129 qname_to_pfaltq(const char *qname, const char *ifname) argument
135 strncmp(qname, altq->qname, PF_QNAME_SIZE) == 0)
142 qname_to_qid(const char *qname) argument
153 if (strncmp(qname, altq->qname, PF_QNAME_SIZE) == 0)
163 if (a->qname[0] != 0) {
223 printf("%s ", a->qname);
310 if (altq->qname[
[all...]
/freebsd-11-stable/lib/libc/sparc64/fpu/
H A Dfpu_qp.c57 #define _QP_TTOQ(qname, fname, ntype, signpos, atype, ...) \
58 void _Qp_ ## qname ## toq(u_int *c, ntype n); \
60 _Qp_ ## qname ## toq(u_int *c, ntype n) \
74 #define _QP_QTOT(qname, fname, type, ...) \
75 type _Qp_qto ## qname(u_int *c); \
77 _Qp_qto ## qname(u_int *c) \
/freebsd-11-stable/sys/dev/mly/
H A Dmlyvar.h294 #define MLYQ_ADD(sc, qname) \
296 struct mly_qstat *qs = &(sc)->mly_qstat[qname]; \
303 #define MLYQ_REMOVE(sc, qname) (sc)->mly_qstat[qname].q_length--
304 #define MLYQ_INIT(sc, qname) \
306 sc->mly_qstat[qname].q_length = 0; \
307 sc->mly_qstat[qname].q_max = 0; \
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_dns.c235 const char *qname = req->questions[i]->name; local
241 !evutil_ascii_strcasecmp(qname, "zz.example.com")) {
242 r = evdns_server_request_add_a_reply(req, qname,
248 !evutil_ascii_strcasecmp(qname, "zz.example.com")) {
251 qname, 1, addr6, 123);
256 !evutil_ascii_strcasecmp(qname, TEST_ARPA)) {
258 qname, "ZZ.EXAMPLE.COM", 54321);
263 !evutil_ascii_strcasecmp(qname, TEST_IN6)){
265 qname,
271 !evutil_ascii_strcasecmp(qname, "dro
989 const char *qname = req->questions[i]->name; local
[all...]
/freebsd-11-stable/contrib/unbound/util/data/
H A Dmsgreply.c78 if(msg->qname) {
80 qinf->qname = (uint8_t*)regional_alloc(region,
82 else qinf->qname = (uint8_t*)malloc(msg->qname_len);
83 if(!qinf->qname) return 0;
84 dname_pkt_copy(pkt, qinf->qname, msg->qname);
85 } else qinf->qname = 0;
471 qinf->qname = NULL;
560 m->qname = sldns_buffer_current(query);
585 if((mc = query_dname_compare(msg1->qname, msg
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/
H A Dh_dns_server.c76 const char *qname; /* Wire-encode question name */ member in struct:dns_data
365 int n = name_eq(p, (const unsigned char *) dp->qname);
369 name2str(dp->qname, buf2, sizeof(buf2)));
398 memcpy(p, dp->qname, dp->qname_size);

Completed in 215 milliseconds

1234