/freebsd-current/contrib/unbound/validator/ |
H A D | val_nsec.h | 107 * must still be provided proof that qname did not directly exist and that 115 * nextcloser of qname. 123 * qname. 126 * @param qname: what was queried. 130 uint8_t* qname); 146 * @param qname: the name queried for. 150 uint8_t* nsec_closest_encloser(uint8_t* qname, 157 * @param qname: the name queried for. 158 * @param qnamelen: length of qname. 161 int val_nsec_proves_no_wc(struct ub_packed_rrset_key* nsec, uint8_t* qname, [all...] |
H A D | val_nsec.c | 207 rep, qinfo->qname, qinfo->qname_len, LDNS_RR_TYPE_NSEC, 244 /* Otherwise, there is no NSEC at qname. This could be an ENT. 268 if(val_nsec_proves_name_error(rep->rrsets[i], qinfo->qname)) { 269 ce = nsec_closest_encloser(qinfo->qname, 300 if(query_dname_compare(nsec->rk.dname, qinfo->qname) != 0) { 308 /* If the nsec is proving that qname is an ENT, the nsec owner 309 * will be less than qname, and the next name will be a child 310 * domain of the qname. */ 313 if(dname_strict_subdomain_c(nm, qinfo->qname) && 315 qinfo->qname) < 411 val_nsec_proves_name_error(struct ub_packed_rrset_key* nsec, uint8_t* qname) argument 482 nsec_closest_encloser(uint8_t* qname, struct ub_packed_rrset_key* nsec) argument 517 val_nsec_proves_no_wc(struct ub_packed_rrset_key* nsec, uint8_t* qname, size_t qnamelen) argument [all...] |
H A D | val_neg.c | 393 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-current/sbin/ipfw/ |
H A D | altq.c | 119 if (strcmp(name, altq->qname) == 0) 137 return altq->qname; 144 const char *qname; local 146 qname = altq_qid_to_name(altqptr->qid); 147 if (qname == NULL) 150 bprintf(bp, " altq %s", qname);
|
/freebsd-current/contrib/unbound/iterator/ |
H A D | iter_hints.h | 110 * @param qname: the qname that generated the delegation point. 115 struct delegpt* hints_find(struct iter_hints* hints, uint8_t* qname, 144 * Given a qname/qclass combination, and the delegation point from the cache 145 * for this qname/qclass, determine if this combination indicates that a 154 * @param qname: The qname that generated the delegation point. 162 uint8_t* qname, uint16_t qclass, struct delegpt* dp, int nolock);
|
H A D | iter_fwd.h | 121 * @param qname: The qname of the query. 126 struct delegpt* forwards_find(struct iter_forwards* fwd, uint8_t* qname, 131 * For this qname/qclass find forward zone information, returns delegation 140 * @param qname: The qname of the query. 147 uint8_t* qname, uint16_t qclass, int nolock);
|
H A D | iter_resptype.c | 69 uint8_t* mname = request->qname; 97 if(mname != request->qname) { 133 query_dname_compare(request->qname, 155 uint8_t* mname = request->qname; 208 if(mname != request->qname) { 221 dname_subdomain_c(request->qname, s->rk.dname)) {
|
H A D | iterator.c | 166 /* Start with the (current) qname. */ 242 qstate->qinfo.qname, qstate->qinfo.qname_len); 245 /* this can happen, for eg. qname minimisation asked 296 * message cache (so per qname, qtype, qclass). 320 qstate->qinfo.qname, qstate->qinfo.qname_len, 533 /* Start with the (current) qname. */ 534 *mname = iq->qchase.qname; 724 return name_tree_lookup(ie->caps_white, iq->qchase.qname, 725 iq->qchase.qname_len, dname_count_labels(iq->qchase.qname), 769 * @param qname Th 787 generate_sub_request(uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct module_qstate* qstate, int id, struct iter_qstate* iq, enum iter_state initial_state, enum iter_state finalstate, struct module_qstate** subq_ret, int v, int detached) argument 952 prime_stub(struct module_qstate* qstate, struct iter_qstate* iq, int id, uint8_t* qname, uint16_t qclass) argument 3363 uint8_t* qname = iq->dp->name; local [all...] |
/freebsd-current/contrib/unbound/edns-subnet/ |
H A D | subnet-whitelist.h | 95 * @param qname: dname in query 101 struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* qname,
|
H A D | subnet-whitelist.c | 188 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-current/contrib/unbound/services/cache/ |
H A D | dns.h | 129 * @param qname: query name. 130 * @param qnamelen: length of qname. 146 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, 154 * @param q: query info, contains qname that will make up the dns message. 155 * @param r: reply info that, together with qname, will make up the dns message. 179 * @param qname: query name. 180 * @param qnamelen: length of qname. 195 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, 213 * @param qname: query section name 214 * @param qnamelen: len of qname [all...] |
H A D | dns.c | 130 msg_cache_remove(struct module_env* env, uint8_t* qname, size_t qnamelen, argument 136 k.qname = qname; 182 msg_cache_remove(env, qinfo->qname, qinfo->qname_len, 198 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, 216 uint8_t* origqname = qname; 272 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 443 dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region, size_t capacity) argument 498 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, int noexpiredabove, uint8_t* expiretop, size_t expiretoplen) argument 812 fill_any(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region) argument 877 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, uint8_t* dpname, size_t dpnamelen) argument [all...] |
H A D | rrset.h | 158 * @param qname: name of rrset to lookup. 169 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, 235 * Removes rrsets above the qname, returns upper qname. 237 * @param qname: the start qname, also used as the output. 238 * @param qnamelen: length of qname, updated when it returns. 242 * @param qnametop: the top qname to stop removal (it is not removed). 245 void rrset_cache_remove_above(struct rrset_cache* r, uint8_t** qname, 250 * Sees if an rrset is expired above the qname, return [all...] |
H A D | rrset.c | 257 /* ce has at least one label less then qname, we can therefore safely 280 rrset_cache_lookup(struct rrset_cache* r, uint8_t* qname, size_t qnamelen, argument 289 key.rk.dname = qname; 448 rrset_cache_remove_above(struct rrset_cache* r, uint8_t** qname, size_t* argument 457 lablen = **qname; 458 *qname += lablen + 1; 465 query_dname_compare(*qname, qnametop)==0) 470 if((rrset = rrset_cache_lookup(r, *qname, 480 *qname, searchtype, qclass); 484 *qname, searchtyp 492 rrset_cache_expired_above(struct rrset_cache* r, uint8_t** qname, size_t* qnamelen, uint16_t searchtype, uint16_t qclass, time_t now, uint8_t* qnametop, size_t qnametoplen) argument [all...] |
/freebsd-current/contrib/unbound/contrib/ |
H A D | unbound-querycachedb.py | 15 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-current/contrib/unbound/testdata/cachedb_no_store.tdir/ |
H A D | cachedb_no_store.conf | 12 qname-minimisation: no
|
/freebsd-current/sys/dev/ciss/ |
H A D | cissvar.h | 300 #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-current/sys/netpfil/pf/ |
H A D | pf_altq.h | 137 char qname[PF_QNAME_SIZE]; /* queue name */ member in struct:pf_altq_v0 169 char qname[PF_QNAME_SIZE]; /* queue name */ member in struct:pf_altq_v1 205 char qname[PF_QNAME_SIZE]; /* queue name */ member in struct:pf_kaltq
|
/freebsd-current/contrib/ldns/drill/ |
H A D | drill.h | 67 ldns_rr *ldns_nsec3_exact_match(ldns_rdf *qname, 71 ldns_rdf *ldns_nsec3_closest_encloser(ldns_rdf *qname,
|
H A D | drill.c | 114 ldns_rdf *qname; local 181 qname = NULL; src = NULL; 735 qname = ldns_dname_new_frm_str(name); 736 if (!qname) { 740 do_trace(res, qname, type, clas); 748 qname = ldns_dname_new_frm_str(name); 749 if (!qname) { 750 error("%s", "making qname"); 754 result = do_secure_trace(res, qname, type, clas, key_list, trace_start_name); 759 qname [all...] |
H A D | dnssec.c | 302 ldns_nsec3_exact_match(ldns_rdf *qname, ldns_rr_type qtype, ldns_rr_list *nsec3s) { argument 326 ldns_rdf_print(stdout, qname); 330 if (!qname || !nsec3s || ldns_rr_list_rr_count(nsec3s) < 1) { 332 printf("no qname, nsec3s or list empty\n"); 346 sname = ldns_rdf_clone(qname); 402 ldns_nsec3_closest_encloser(ldns_rdf *qname, ldns_rr_type qtype, ldns_rr_list *nsec3s) argument 422 if (!qname || !nsec3s || ldns_rr_list_rr_count(nsec3s) < 1) { 428 ldns_rdf_print(stdout, qname); 441 sname = ldns_rdf_clone(qname);
|
/freebsd-current/contrib/unbound/ipset/ |
H A D | ipset.c | 141 const char *qname, const int qlen, const char *setname, int af) 164 if (qlen == plen || (qlen > plen && qname[qlen - plen - 1] == '.' )) { 165 qs = qname + (qlen - plen); 186 static char qname[BUFF_LEN]; local 199 qlen = sldns_wire2str_dname_buf(qinfo.qname, qinfo.qname_len, 200 qname, BUFF_LEN); 221 qname, qlen, setname, af) == -1) 139 ipset_check_zones_for_rrset(struct module_env *env, struct ipset_env *ie, struct mnl_socket *mnl, struct ub_packed_rrset_key *rrset, const char *qname, const int qlen, const char *setname, int af) argument
|
/freebsd-current/sbin/pfctl/ |
H A D | pfctl_altq.c | 138 if (a->qname[0] == 0) { 145 key_size = sizeof(a->ifname) + sizeof(a->qname); 148 snprintf(item.key, key_size, "%s:%s", a->ifname, a->qname); 153 item.key = altq->pa.qname; 174 qname_to_pfaltq(const char *qname, const char *ifname) argument 181 snprintf(item.key, sizeof(key), "%s:%s", ifname, qname); 189 qname_to_qid(char *qname) argument 199 item.key = qname; 211 if (a->qname[0] != 0) { 271 printf("%s ", a->qname); [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_dns_server.c | 76 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);
|
/freebsd-current/lib/libc/net/ |
H A D | gethostbydns.c | 135 gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype, argument 150 tname = qname; 197 /* The qname can be abbreviated, but h_name is now absolute. */ 198 qname = he->h_name; 293 qname, p_class(C_IN), p_type(qtype), 303 AskedForGot, qname, bp); 412 n = strlen(qname) + 1; /* for the \0 */ 415 strcpy(bp, qname); 431 __dns_getanswer(const char *answer, int anslen, const char *qname, int qtype) argument 456 error = gethostanswer((const querybuf *)answer, anslen, qname, qtyp [all...] |