/freebsd-13-stable/contrib/unbound/iterator/ |
H A D | iter_hints.h | 56 * first sorted on qclass. Then on dname in nsec-like order, so that 100 * @param qclass: class for which root hints are requested. host order. 103 struct delegpt* hints_lookup_root(struct iter_hints* hints, uint16_t qclass); 108 * @param qclass: class for which root hints are sought. 113 * false if not root hint class is found (qclass may have been changed). 115 int hints_next_root(struct iter_hints* hints, uint16_t* qclass); 118 * Given a qname/qclass combination, and the delegation point from the cache 119 * for this qname/qclass, determine if this combination indicates that a 124 * @param qclass: The qclass tha [all...] |
H A D | iter_fwd.h | 55 * first sorted on qclass. Then on dname in nsec-like order, so that 111 * @param qclass: The qclass of the query. 115 uint16_t qclass); 119 * For this qname/qclass find forward zone information, returns delegation 124 * @param qclass: The qclass of the query. 129 uint8_t* qname, uint16_t qclass); 134 * @param qclass: The qclass o [all...] |
H A D | iterator.c | 249 if(!cache_fill_missing(super->env, super_iq->qchase.qclass, 290 * message cache (so per qname, qtype, qclass). 317 qstate->qinfo.qtype, qstate->qinfo.qclass, 344 qstate->qinfo.qtype, qstate->qinfo.qclass, 591 uint16_t qclass, struct delegpt** retdp) 600 name_tree_find(&env->hints->tree, nm, nmlen, labs, qclass)) && 607 if((fwddp = forwards_find(env->fwds, nm, qclass)) && 624 iq->qchase.qclass) != NULL; 665 * @param qclass The query class for this request. 681 uint16_t qclass, struc 590 can_have_last_resort(struct module_env* env, uint8_t* nm, size_t nmlen, uint16_t qclass, struct delegpt** retdp) argument 680 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 777 prime_root(struct module_qstate* qstate, struct iter_qstate* iq, int id, uint16_t qclass) argument 838 prime_stub(struct module_qstate* qstate, struct iter_qstate* iq, int id, uint8_t* qname, uint16_t qclass) argument 1723 generate_parentside_target_query(struct module_qstate* qstate, struct iter_qstate* iq, int id, uint8_t* name, size_t namelen, uint16_t qtype, uint16_t qclass) argument 1775 generate_target_query(struct module_qstate* qstate, struct iter_qstate* iq, int id, uint8_t* name, size_t namelen, uint16_t qtype, uint16_t qclass) argument [all...] |
H A D | iter_fwd.c | 342 forwards_find(struct iter_forwards* fwd, uint8_t* qname, uint16_t qclass) argument 347 key.dclass = qclass; 356 forwards_lookup(struct iter_forwards* fwd, uint8_t* qname, uint16_t qclass) argument 363 key.dclass = qclass; 373 if(!result || result->dclass != qclass) 390 forwards_lookup_root(struct iter_forwards* fwd, uint16_t qclass) argument 393 return forwards_lookup(fwd, &root, qclass);
|
H A D | iter_hints.c | 460 hints_lookup_root(struct iter_hints* hints, uint16_t qclass) argument 465 &rootlab, 1, 1, qclass); 473 uint16_t qclass, struct delegpt* cache_dp) 482 len, labs, qclass); 508 int hints_next_root(struct iter_hints* hints, uint16_t* qclass) argument 510 return name_tree_next_root(&hints->tree, qclass); 472 hints_lookup_stub(struct iter_hints* hints, uint8_t* qname, uint16_t qclass, struct delegpt* cache_dp) argument
|
H A D | iter_resptype.c | 80 ntohs(s->rk.rrset_class) == request->qclass && 164 ntohs(s->rk.rrset_class) == request->qclass && 178 ntohs(s->rk.rrset_class) == request->qclass &&
|
H A D | iter_utils.c | 684 qinf.qclass = c; 702 LDNS_RR_TYPE_AAAA, qstate->qinfo.qclass) || 704 LDNS_RR_TYPE_A, qstate->qinfo.qclass)) { 709 qstate->qinfo.qclass); 724 LDNS_RR_TYPE_A, qstate->qinfo.qclass)) { 727 LDNS_RR_TYPE_A, qstate->qinfo.qclass); 731 LDNS_RR_TYPE_AAAA, qstate->qinfo.qclass)) { 734 LDNS_RR_TYPE_AAAA, qstate->qinfo.qclass); 785 qinfo->qclass))) { 1131 neg->rk.rrset_class = htons(qinfo->qclass); [all...] |
/freebsd-13-stable/contrib/unbound/ipsecmod/ |
H A D | ipsecmod-whitelist.h | 69 * @param qclass: query CLASS. 73 size_t dname_len, uint16_t qclass);
|
H A D | ipsecmod-whitelist.c | 141 size_t dname_len, uint16_t qclass) 145 dname_count_labels(dname), qclass) != NULL; 140 ipsecmod_domain_is_whitelisted(struct ipsecmod_env* ie, uint8_t* dname, size_t dname_len, uint16_t qclass) argument
|
H A D | ipsecmod.c | 114 qstate->qinfo.qname_len, qstate->qinfo.qclass); 138 * @param qclass: query class. 144 size_t namelen, uint16_t qtype, uint16_t qclass, uint16_t flags) 151 ask.qclass = qclass; 487 qstate->qinfo.qclass, 0)) { 143 generate_request(struct module_qstate* qstate, int id, uint8_t* name, size_t namelen, uint16_t qtype, uint16_t qclass, uint16_t flags) argument
|
/freebsd-13-stable/contrib/unbound/services/cache/ |
H A D | dns.h | 127 * @param qclass: query class. 135 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, 161 * @param qclass: query class. 172 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, 179 * @param qclass: which class to look in. 184 int cache_fill_missing(struct module_env* env, uint16_t qclass, 193 * @param qclass: query section class 199 uint16_t qclass, struct regional* region, size_t capacity); 241 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, 250 * @param qclass [all...] |
H A D | dns.c | 116 uint16_t qtype, uint16_t qclass, uint16_t flags) 124 k.qclass = qclass; 140 qinfo->qtype, qinfo->qclass, flags, 0, 0); 152 qinfo->qclass, flags); 200 uint16_t qclass, time_t now, uint16_t searchtype, int stripfront) 215 qnamelen, searchtype, qclass, 0, now, 0))) 241 uint16_t qtype, uint16_t qclass, uint16_t flags, time_t now, int wr) 250 k.qclass = qclass; 115 msg_cache_remove(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, uint16_t flags) argument 199 find_closest_of_type(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qclass, time_t now, uint16_t searchtype, int stripfront) argument 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 265 find_add_addrs(struct module_env* env, uint16_t qclass, struct regional* region, struct delegpt* dp, time_t now, struct dns_msg** msg) argument 319 cache_fill_missing(struct module_env* env, uint16_t qclass, struct regional* region, struct delegpt* dp) 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...] |
H A D | rrset.h | 161 * @param qclass: class of rrset to lookup (host order). 169 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
|
/freebsd-13-stable/contrib/unbound/edns-subnet/ |
H A D | subnet-whitelist.h | 97 * @param qclass: class in query 102 size_t qname_len, uint16_t qclass);
|
H A D | subnet-whitelist.c | 189 size_t qname_len, uint16_t qclass) 197 qclass) != NULL; 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-13-stable/contrib/unbound/daemon/ |
H A D | stats.h | 114 * @param qclass: query class 119 uint16_t qtype, uint16_t qclass, struct edns_data* edns,
|
H A D | stats.c | 450 total->svr.qclass[i] += a->svr.qclass[i]; 474 uint16_t qtype, uint16_t qclass, struct edns_data* edns, 481 if(qclass < UB_STATS_QCLASS_NUM) 482 stats->qclass[qclass]++; 473 server_stats_insquery(struct ub_server_stats* stats, struct comm_point* c, uint16_t qtype, uint16_t qclass, struct edns_data* edns, struct comm_reply* repinfo) argument
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_dns_server.c | 363 int qtype, qclass; local 383 qclass = *p++ << 8; 384 qclass |= *p++; 385 if (qclass != 1) { /* IN */ 386 DPRINTF("no match class %d != 1\n", qclass); 389 DPRINTF("match class %d\n", qclass);
|
/freebsd-13-stable/contrib/unbound/contrib/ |
H A D | unbound-querycachedb.py | 16 qclass = 'IN' # CLASS is fixed for simplicity 21 socket.htons(dns.rdataclass.from_text(qclass))))
|
/freebsd-13-stable/contrib/unbound/dynlibmod/examples/ |
H A D | helloworld.c | 67 sldns_lookup_by_id(sldns_rr_classes, qstate->qinfo.qclass)->name, 68 qstate->qinfo.qclass,
|
/freebsd-13-stable/contrib/unbound/libunbound/ |
H A D | unbound.h | 129 int qclass; member in struct:ub_result 651 /** number of qclass that is stored for in array */ 688 /** qclass stats */ 689 long long qclass[UB_STATS_QCLASS_NUM]; member in struct:ub_server_stats 690 /** bigger qclass values not in array */
|
/freebsd-13-stable/contrib/unbound/validator/ |
H A D | val_anchor.h | 154 * Given a qname/qclass combination, find the trust anchor closest above it. 160 * @param qclass: class to query for. 164 uint8_t* qname, size_t qname_len, uint16_t qclass);
|
H A D | val_neg.c | 367 * @param qclass: class. 371 uint8_t* nm, size_t nm_len, int labs, uint16_t qclass) 380 key.dclass = qclass; 388 if(!result || result->dclass != qclass) 1050 * @param qclass: class of rrset to lookup, host order 1060 uint16_t qtype, uint16_t qclass, uint32_t flags, 1065 qname, qname_len, qtype, qclass, flags, now, 0); 1101 * @param qclass: class of rrset to lookup, host order 1109 uint16_t qclass, struct rrset_cache* rrset_cache, time_t now, 1121 qclass); 370 neg_closest_zone_parent(struct val_neg_cache* neg, uint8_t* nm, size_t nm_len, int labs, uint16_t qclass) argument 1059 grab_nsec(struct rrset_cache* rrset_cache, uint8_t* qname, size_t qname_len, uint16_t qtype, uint16_t qclass, uint32_t flags, struct regional* region, int checkbit, uint16_t checktype, time_t now) 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 [all...] |
/freebsd-13-stable/contrib/unbound/util/data/ |
H A D | msgreply.c | 88 qinf->qclass = msg->qclass; 552 /* minimum size: header + \0 + qtype + qclass */ 564 return 0; /* need qtype, qclass */ 566 m->qclass = sldns_buffer_read_u16(query); 588 COMPARE_IT(msg1->qclass, msg2->qclass); 636 h = hashlittle(&q->qclass, sizeof(q->qclass), h); 656 lock_protect(&e->entry.lock, &e->key.qclass, sizeo [all...] |
/freebsd-13-stable/contrib/unbound/respip/ |
H A D | respip.h | 247 * @param qclass: query class, in host byte order. 254 uint8_t* qname, uint16_t qtype, uint16_t qclass,
|