/freebsd-11-stable/sys/netpfil/pf/ |
H A D | pf_altq.h | 100 char qname[PF_QNAME_SIZE]; /* queue name */ member in struct:pf_altq
|
/freebsd-11-stable/contrib/unbound/services/cache/ |
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,
|
/freebsd-11-stable/contrib/unbound/iterator/ |
H A D | iterator.c | 161 /* Start with the (current) qname. */ 237 qstate->qinfo.qname, qstate->qinfo.qname_len); 240 /* this can happen, for eg. qname minimisation asked 290 * message cache (so per qname, qtype, qclass). 316 qstate->qinfo.qname, qstate->qinfo.qname_len, 343 qstate->qinfo.qname, qstate->qinfo.qname_len, 543 /* Start with the (current) qname. */ 544 *mname = iq->qchase.qname; 622 return name_tree_lookup(ie->caps_white, iq->qchase.qname, 623 iq->qchase.qname_len, dname_count_labels(iq->qchase.qname), 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 838 prime_stub(struct module_qstate* qstate, struct iter_qstate* iq, int id, uint8_t* qname, 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 348 key.name = qname; 349 key.namelabs = dname_count_size_labels(qname, &key.namelen); 356 forwards_lookup(struct iter_forwards* fwd, uint8_t* qname, uint16_t qclass) argument 364 key.name = qname; 365 key.namelabs = dname_count_size_labels(qname, &key.namelen); 378 while(result) { /* go up until qname is subdomain of stub */
|
H A D | iter_scrub.c | 226 synth_cname(uint8_t* qname, size_t qnamelen, struct rrset_parse* dname_rrset, argument 239 /* DNAME from com. to net. with qname example.com. -> example.net. */ 240 /* so: \3com\0 to \3net\0 and qname \7example\3com\0 */ 245 dname_pkt_copy(pkt, alias, qname); 364 uint8_t* sname = qinfo->qname; 505 if(dname_pkt_compare(pkt, qinfo->qname, rrset->dname) == 0) 525 if(!sub_of_pkt(pkt, qinfo->qname, rrset->dname)) { 555 dname_pkt_compare(pkt, qinfo->qname, rrset->dname) == 0) { 700 pkt_strict_sub(pkt, qinfo->qname, rrset->dname) && 714 if(dname_pkt_compare(pkt, qinfo->qname, rrse [all...] |
/freebsd-11-stable/lib/libc/net/ |
H A D | gethostbydns.c | 140 gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype, argument 155 tname = qname; 202 /* The qname can be abbreviated, but h_name is now absolute. */ 203 qname = he->h_name; 296 qname, p_class(C_IN), p_type(qtype), 305 AskedForGot, qname, bp); 414 n = strlen(qname) + 1; /* for the \0 */ 417 strcpy(bp, qname); 433 __dns_getanswer(const char *answer, int anslen, const char *qname, int qtype) argument 458 error = gethostanswer((const querybuf *)answer, anslen, qname, qtyp [all...] |
/freebsd-11-stable/contrib/pf/ftp-proxy/ |
H A D | filter.c | 56 static const char *qname, *tagname; variable 166 qname = opt_qname; 286 * (max 1) [queue qname] [tag tagname] 295 if (qname != NULL) 296 strlcpy(pfr.rule.qname, qname, sizeof pfr.rule.qname);
|
/freebsd-11-stable/contrib/pf/tftp-proxy/ |
H A D | filter.c | 60 static char *qname; variable 170 qname = opt_qname; 295 * (max 1) [queue qname] 311 if (qname != NULL) 312 strlcpy(pfr.rule.qname, qname, sizeof pfr.rule.qname);
|
/freebsd-11-stable/contrib/unbound/libunbound/ |
H A D | context.c | 164 q->res->qname = strdup(name); 165 if(!q->res->qname) { 235 size_t slen = strlen(q->res->qname) + 1/*end of string*/; 243 memmove(p+4*sizeof(uint32_t), q->res->qname, slen); 267 q->res->qname = strdup((char*)(p+4*sizeof(uint32_t))); 268 if(!q->res->qname) {
|
H A D | libworker.c | 461 if(query_dname_compare(rq->qname, answer->rk.dname) != 0) { 571 qinfo->qname = sldns_str2wire_dname(q->res->qname, &qinfo->qname_len); 572 if(!qinfo->qname) { 613 free(qinfo.qname); 622 free(qinfo.qname); 628 free(qinfo.qname); 631 free(qinfo.qname); 690 free(qinfo.qname); 698 free(qinfo.qname); [all...] |
/freebsd-11-stable/contrib/unbound/util/data/ |
H A D | msgencode.c | 602 uint8_t* qname = qinfo->local_alias ? local 603 qinfo->local_alias->rrset->rk.dname : qinfo->qname; 610 if(!compress_tree_store(qname, dname_count_labels(qname), 613 if(sldns_buffer_current(buffer) == qname) 615 else sldns_buffer_write(buffer, qname, qname_len); 933 const uint8_t* qname = qinfo->local_alias ? local 934 qinfo->local_alias->rrset->rk.dname : qinfo->qname; 943 sldns_buffer_write(pkt, qname, qname_len); 968 const uint8_t* qname local [all...] |
H A D | msgparse.h | 120 uint8_t* qname; member in struct:msg_parse
|
/freebsd-11-stable/contrib/unbound/validator/ |
H A D | val_anchor.h | 154 * Given a qname/qclass combination, find the trust anchor closest above it. 158 * @param qname: query name, uncompressed wireformat. 159 * @param qname_len: length of qname. 164 uint8_t* qname, size_t qname_len, uint16_t qclass);
|
H A D | validator.c | 386 ask.qname = name; 824 * that qname doesn't exist and 2) that the correct wildcard 873 * certain that the authority section NSEC/NSEC3s proves that the qname 917 if(val_nsec_proves_name_error(s, qchase->qname)) { 918 ce = nsec_closest_encloser(qchase->qname, s); 932 /* The wildcard NODATA is 1 NSEC proving that qname does not exist 972 * that the qname doesn't exist and the covering wildcard also doesn't exist.. 1002 if(val_nsec_proves_name_error(s, qchase->qname)) 1004 ce = nsec_closest_encloser(qchase->qname, s); 1010 if(val_nsec_proves_no_wc(s, qchase->qname, [all...] |
H A D | val_nsec3.c | 431 /* if we find a domain that can prove about the qname, 432 * and if this domain is closer to the qname */ 433 if(dname_subdomain_c(qinfo->qname, nm) && (!filter->zone || 435 /* for a type DS do not accept a zone equal to qname*/ 437 query_dname_compare(qinfo->qname, nm) == 0 && 438 !dname_is_root(qinfo->qname)) 878 uint8_t* nm = qinfo->qname; 903 * Given a qname and its proven closest encloser, calculate the "next 905 * the closest encloser that is still a subdomain of qname. 907 * @param qname 914 next_closer(uint8_t* qname, size_t qnamelen, uint8_t* ce, uint8_t** nm, size_t* nmlen) argument [all...] |
H A D | val_utils.c | 96 origqinf->qname) != 0) 198 * and have a signer name that is a superdomain of qname, 202 dname_subdomain_c(qinf->qname, sign)) { 203 (void)dname_lab_cmp(qinf->qname, 204 dname_count_labels(qinf->qname), 226 if(query_dname_compare(qinf->qname, 277 * or potentially a DNAME is in use with a different qname */ 279 if(query_dname_compare(qinf->qname, 287 /* no answer RRSIGs with qname, try a DNAME */ 817 query_dname_compare(qchase->qname, re [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_types.c | 202 const char *qname) 257 if (qname != NULL) 258 ctf_decl_sprintf(&cd, "%s`", qname); 273 if (qname != NULL) 274 ctf_decl_sprintf(&cd, "%s`", qname); 279 if (qname != NULL) 280 ctf_decl_sprintf(&cd, "%s`", qname); 285 if (qname != NULL) 286 ctf_decl_sprintf(&cd, "%s`", qname); 333 const char *qname) 201 ctf_type_qlname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len, const char *qname) argument 332 ctf_type_qname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len, const char *qname) argument [all...] |
/freebsd-11-stable/sys/dev/aac/ |
H A D | aacvar.h | 513 #define AACQ_ADD(sc, qname) \ 517 qs = &(sc)->aac_qstat[qname]; \ 524 #define AACQ_REMOVE(sc, qname) (sc)->aac_qstat[qname].q_length-- 525 #define AACQ_INIT(sc, qname) \ 527 sc->aac_qstat[qname].q_length = 0; \ 528 sc->aac_qstat[qname].q_max = 0; \
|
/freebsd-11-stable/sbin/pfctl/ |
H A D | pfctl_qstats.c | 184 if ((node = pfctl_find_altq_node(*root, pa.altq.qname, 196 if ((node = pfctl_find_altq_node(*root, pa.altq.qname, 251 pfctl_find_altq_node(struct pf_altq_node *root, const char *qname, argument 257 if (!strcmp(node->altq.qname, qname) 261 child = pfctl_find_altq_node(node->children, qname, 285 printf("%s", child->altq.qname);
|
/freebsd-11-stable/sys/dev/mfi/ |
H A D | mfivar.h | 458 #define MFIQ_ADD(sc, qname) \ 462 qs = &(sc)->mfi_qstat[qname]; \ 468 #define MFIQ_REMOVE(sc, qname) (sc)->mfi_qstat[qname].q_length-- 470 #define MFIQ_INIT(sc, qname) \ 472 sc->mfi_qstat[qname].q_length = 0; \ 473 sc->mfi_qstat[qname].q_max = 0; \
|
/freebsd-11-stable/sys/dev/aacraid/ |
H A D | aacraid_var.h | 566 #define AACQ_ADD(sc, qname) \ 570 qs = &(sc)->aac_qstat[qname]; \ 577 #define AACQ_REMOVE(sc, qname) (sc)->aac_qstat[qname].q_length-- 578 #define AACQ_INIT(sc, qname) \ 580 sc->aac_qstat[qname].q_length = 0; \ 581 sc->aac_qstat[qname].q_max = 0; \
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | domain.c | 560 char qname[MAXNAME]; local 575 qname[0] = '\0'; 605 (void) sm_strlcpy(qname, host, sizeof(qname)); 794 /* Only check qname if no TLSA RRs were found */ 795 if (0 == nrr && cname2mx && '\0' != qname[0] && 796 strcmp(qname, bp)) 797 gettlsa(qname, bp, NULL, flags, ttl, port); 1023 ** Only check qname if no TLSA RRs were found 1027 if (0 == nrr && '\0' != qname[ [all...] |
/freebsd-11-stable/contrib/unbound/ipsecmod/ |
H A D | ipsecmod.c | 113 (struct ipsecmod_env*)qstate->env->modinfo[id], qstate->qinfo.qname, 148 ask.qname = name; 263 /* Copy the qname into the buffer. */ 264 tempstring = sldns_wire2str_dname(qstate->qinfo.qname, 271 log_err("ipsecmod: qname has unsafe characters"); 485 if(!generate_request(qstate, id, qstate->qinfo.qname,
|
/freebsd-11-stable/contrib/unbound/respip/ |
H A D | respip.h | 244 * @param qname: query name in the context, will be ignored if local_alias is 254 uint8_t* qname, uint16_t qtype, uint16_t qclass,
|
/freebsd-11-stable/contrib/unbound/dynlibmod/examples/ |
H A D | helloworld.c | 66 qstate->qinfo.qname,
|