Searched refs:qname (Results 51 - 75 of 93) sorted by relevance

1234

/freebsd-11-stable/contrib/unbound/daemon/
H A Dcachedump.c175 nm = sldns_wire2str_dname(k->qname, k->qname_len);
242 (*k)->qname = regional_alloc_init(region,
243 (*k)->qname, (*k)->qname_len);
244 return (*k)->qname != NULL;
566 qinfo->qname = (uint8_t*)regional_alloc_init(region, rr, dname_len);
568 if(!qinfo->qname) {
605 k = rrset_cache_lookup(worker->env.rrset_cache, qinfo.qname,
828 qinfo.qname = nm;
H A Dworker.c492 dp = dns_cache_find_delegation(&worker->env, qinfo->qname,
604 respip_inform_print(&actinfo, qinfo->qname,
832 (void)query_dname_len(pkt); /* skip qname */
941 if(query_dname_compare(qinfo->qname,
943 query_dname_compare(qinfo->qname,
961 if(query_dname_compare(qinfo->qname,
963 query_dname_compare(qinfo->qname,
973 if(query_dname_compare(qinfo->qname,
1005 if(auth_zones_notify(w->env.auth_zones, &w->env, qinfo->qname,
1019 dname_str(qinfo->qname, znam
[all...]
/freebsd-11-stable/contrib/unbound/services/
H A Drpz.c99 case RPZ_QNAME_TRIGGER: return "qname";
495 log_err("malloc error while inserting RPZ qname "
522 log_err("malloc error while inserting RPZ qname "
655 * Find RPZ local-zone by qname.
657 * @param qname: qname
658 * @param qname_len: length of qname
667 rpz_find_zone(struct rpz* r, uint8_t* qname, size_t qname_len, uint16_t qclass, argument
681 z = local_zones_find_le(r->local_zones, qname, qname_len,
682 dname_count_labels(qname),
[all...]
H A Dmesh.c41 * It consists of query states (per qname, qtype, qclass) and connections
339 m->s.qinfo.qname, m->s.qinfo.qtype,
805 mstate->s.qinfo.qname = regional_alloc_init(region, qinfo->qname,
807 if(!mstate->s.qinfo.qname) {
1251 sldns_buffer_write_at(r_buffer, 12, r->qname,
1257 m->s.qinfo.qname = r->qname;
1279 m->s.qinfo.qname = r->qname;
[all...]
H A Dauthzone.c116 msg->qinfo.qname = regional_alloc_init(region, qinfo->qname,
118 if(!msg->qinfo.qname)
626 key.name = qinfo->qname;
2164 /** find wildcard between qname and cename */
2169 uint8_t* nm = qinfo->qname;
2188 * a part of qname) in tree */
2196 nm = dname_get_shared_topdomain(qinfo->qname, n->name);
2198 nm = qinfo->qname;
2227 * qname
2398 synth_cname_buf(uint8_t* qname, size_t qname_len, size_t dname_len, uint8_t* dtarg, size_t dtarglen, uint8_t* buf, size_t buflen) argument
2416 create_synth_cname(uint8_t* qname, size_t qname_len, struct regional* region, struct auth_data* node, struct auth_rrset* dname, uint16_t dclass, struct ub_packed_rrset_key** cname) argument
2484 add_synth_cname(struct auth_zone* z, uint8_t* qname, size_t qname_len, struct regional* region, struct dns_msg* msg, struct auth_data* dname, struct auth_rrset* rrset) argument
2754 az_nsec3_get_nextcloser(uint8_t* cenm, uint8_t* qname, size_t qname_len, uint8_t** nx, size_t* nxlen) argument
2814 az_add_nsec3_proof(struct auth_zone* z, struct regional* region, struct dns_msg* msg, uint8_t* cenm, size_t cenmlen, uint8_t* qname, size_t qname_len, int nodataproof, int ceproof, int nxproof, int wcproof) argument
3210 char zname[256], qname[256], nname[256], cename[256], local
[all...]
H A Dlocalzone.c1165 while(result) { /* go up until qname is zone or subdomain of zone */
1323 r->rk.dname = qinfo->qname;
1414 key.name = qinfo->qname;
1465 qinfo->local_alias->rrset->rk.dname = qinfo->qname;
1473 /* -3 for wildcard label and root label from qname */
1509 /* write qname */
1510 memmove(d->rr_data[0] + sizeof(uint16_t), qinfo->qname,
1523 r.rk.dname = qinfo->qname;
1549 key.name = qinfo->qname;
1619 lrr.rk.dname = qinfo->qname;
[all...]
H A Dmesh.h41 * It consists of query states (per qname, qtype, qclass) and connections
160 * Unique per qname, qtype, qclass (from the qstate).
229 /** qname from this query. len same as mesh qinfo. */
230 uint8_t* qname; member in struct:mesh_reply
/freebsd-11-stable/contrib/unbound/dns64/
H A Ddns64.c470 if (!ptr_to_ipv6((char*)qstate->qinfo.qname, sin6.sin6_addr.s6_addr,
491 if (!(qinfo.qname = regional_alloc(qstate->region, MAX_PTR_QNAME_IPV4)))
495 (char*)qinfo.qname, MAX_PTR_QNAME_IPV4);
552 int labs = dname_count_labels(qstate->qinfo.qname);
554 qstate->qinfo.qname, qstate->qinfo.qname_len, labs,
579 && !strcmp((char*)&qstate->qinfo.qname[64], "\03ip6\04arpa"))
925 answer->rk.dname = super->qinfo.qname;
/freebsd-11-stable/contrib/unbound/iterator/
H A Diter_hints.c472 hints_lookup_stub(struct iter_hints* hints, uint8_t* qname, argument
480 labs = dname_count_size_labels(qname, &len);
481 r = (struct iter_hints_stub*)name_tree_lookup(&hints->tree, qname,
/freebsd-11-stable/sbin/pfctl/
H A Dparse.y212 char *qname;
504 %type <v.qassign> qname
1529 if (strlcpy(a.qname, $2, sizeof(a.qname)) >=
1530 sizeof(a.qname)) {
2383 if ($9.queues.qname != NULL) {
2384 if (strlcpy(r.qname, $9.queues.qname,
2385 sizeof(r.qname)) >= sizeof(r.qname)) {
3841 qname : QUEUE STRING { label
[all...]
/freebsd-11-stable/contrib/unbound/libunbound/
H A Dunbound.h125 char* qname; member in struct:ub_result
/freebsd-11-stable/contrib/unbound/edns-subnet/
H A Dsubnetmod.c160 addr, addrlen, qinfo->qname, qinfo->qname_len,
346 qinf.qname = memdup(qstate->qinfo.qname,
348 if(!qinf.qname) {
354 free(qinf.qname); /* if qname 'consumed', it is set to NULL */
656 query_dname_compare(qstate->qinfo.qname,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp181 std::string qname = parent.asTag().getUniqueName(); local
182 if (qname.size() < 4 || child.asTag().getUniqueName().size() < 4)
185 // qname[3] is the tag type identifier (struct, class, union, etc). Since the
188 qname[3] = child.asTag().getUniqueName()[3];
190 if (qname[3] == 'W')
194 qname.insert(4, std::move(piece));
195 if (qname != child.asTag().UniqueName)
555 std::string qname = RenderScopeList(name_components); local
556 std::vector<TypeIndex> matches = m_index.tpi().findRecordsByName(qname);
1325 std::string qname local
[all...]
/freebsd-11-stable/contrib/unbound/respip/
H A Drespip.c721 dataqinfo.qname = rep->rrsets[rrset_id]->rk.dname;
1067 get_cname_target(alias_rrset, &subqi.qname, &subqi.qname_len);
1068 if(!subqi.qname)
1305 respip_inform_print(struct respip_action_info* respip_actinfo, uint8_t* qname, argument
1316 qname = local_alias->rrset->rk.dname;
1341 log_nametypeclass(NO_VERBOSE, txt, qname, qtype, qclass);
/freebsd-11-stable/contrib/unbound/smallapp/
H A Dunbound-host.c310 result->canonname != result->qname) {
311 printf("%s is an alias for %s", result->qname,
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf_ioctl.c501 pf_qname2qid(char *qname) argument
503 return ((u_int32_t)tagname2tag(&V_pf_qids, qname));
523 if (altq->qname[0] == 0 &&
551 if (altq->qname[0] == 0 &&
583 if (altq->qname[0] == 0 &&
597 if (altq->qname[0] == 0 &&
693 if (a2->qname[0] != 0) {
694 if ((a2->qid = pf_qname2qid(a2->qname)) == 0) {
702 IFNAMSIZ) == 0 && a3->qname[0] == 0) {
1224 if (rule->qname[
[all...]
/freebsd-11-stable/contrib/unbound/services/cache/
H A Drrset.c253 /* ce has at least one label less then qname, we can therefore safely
276 rrset_cache_lookup(struct rrset_cache* r, uint8_t* qname, size_t qnamelen, argument
285 key.rk.dname = qname;
/freebsd-11-stable/contrib/ldns/ldns/
H A Ddnssec.h93 ldns_dnssec_nsec3_closest_encloser(ldns_rdf *qname,
/freebsd-11-stable/contrib/pf/ftp-proxy/
H A Dftp-proxy.c128 *qname, *tagname; variable
619 qname = NULL;
666 qname = optarg;
759 init_filter(qname, tagname, verbose);
/freebsd-11-stable/contrib/unbound/util/data/
H A Dmsgreply.h71 * Salient data on the query: qname, in wireformat.
75 uint8_t* qname; member in struct:query_info
76 /** length of qname (including last 0 octet) */
83 * Alias local answer(s) for the qname. If 'qname' is an alias defined
342 /** calculate hash value of query_info, lowercases the qname,
/freebsd-11-stable/contrib/unbound/cachedb/
H A Dcachedb.c342 memmove(clear+clen, qstate->qinfo.qname,
621 msg = dns_cache_lookup(qstate->env, qstate->qinfo.qname,
/freebsd-11-stable/contrib/tcsh/
H A Dsh.dir.c1364 struct Strbuf qname = Strbuf_INIT; local
1394 cleanup_push(&qname, Strbuf_cleanup);
1402 xprintf("cd %S\n", quote_meta(&qname, dp->di_name));
1405 xprintf("pushd %S\n", quote_meta(&qname, dp->di_name));
/freebsd-11-stable/contrib/ldns/
H A Ddnssec.c97 ldns_dnssec_nsec3_closest_encloser(ldns_rdf *qname, argument
120 if (!qname || !nsec3s || ldns_rr_list_rr_count(nsec3s) < 1) {
130 sname = ldns_rdf_clone(qname);
/freebsd-11-stable/contrib/unbound/validator/
H A Dval_anchor.c1130 uint8_t* qname, size_t qname_len, uint16_t qclass)
1136 key.name = qname;
1137 key.namelabs = dname_count_labels(qname);
1155 while(result) { /* go up until qname is subdomain of stub */
1129 anchors_lookup(struct val_anchors* anchors, uint8_t* qname, size_t qname_len, uint16_t qclass) argument
/freebsd-11-stable/include/arpa/
H A Dnameser.h658 int ns_newmsg_q(ns_newmsg *handle, ns_nname_ct qname,

Completed in 384 milliseconds

1234