| /freebsd-14.2/sys/dev/ath/ |
| H A D | if_ath_rx_edma.c | 154 HAL_RX_QUEUE qtype, int dosched); 221 qtype, in ath_edma_reinit_fifo() 316 __func__, qtype, dosched); in ath_edma_recv_sched_queue() 451 qtype); in ath_edma_recv_proc_queue() 832 qtype, in ath_edma_rxfifo_alloc() 849 qtype, in ath_edma_rxfifo_alloc() 861 qtype, in ath_edma_rxfifo_alloc() 875 qtype, in ath_edma_rxfifo_alloc() 925 qtype); in ath_edma_setup_rxfifo() 933 qtype, in ath_edma_setup_rxfifo() [all …]
|
| /freebsd-14.2/contrib/sendmail/contrib/ |
| H A D | cidrexpand | 117 my $qtype=''; 126 elsif ($qtype eq '' && $ch eq '#') 131 elsif ($qtype ne '' && $ch eq $qtype) 133 $qtype = ''; 135 elsif ($qtype eq '' && $ch =~ /[\'\"]/) 137 $qtype = $ch;
|
| H A D | bitdomain.c | 219 int qtype; local 229 qtype = T_ANY; 233 ret = res_querydomain(host, "", C_IN, qtype, 247 if (qtype == T_ANY) 249 qtype = T_A; 252 else if (qtype == T_A) 254 qtype = T_MX; 318 if (qtype == T_ANY) 319 qtype = T_A; 320 else if (qtype == T_A) [all …]
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/net/ |
| H A D | h_dns_server.c | 77 int qtype; member 363 int qtype, qclass; in main() local 375 qtype = *p++ << 8; in main() 376 qtype |= *p++; in main() 377 if (qtype != dp->qtype) { in main() 379 qtype, dp->qtype); in main() 382 DPRINTF("match type 0x%x\n", qtype); in main() 400 *p++ = dp->qtype >> 8; in main() 401 *p++ = dp->qtype & 0xFF; in main()
|
| /freebsd-14.2/contrib/unbound/ipsecmod/ |
| H A D | ipsecmod.c | 150 ask.qtype = qtype; in generate_request() 254 int w = 0, w_temp, qtype; in call_hook() local 301 qtype = ntohs(rrset_key->rk.type); in call_hook() 302 if(qtype != LDNS_RR_TYPE_AAAA && qtype != LDNS_RR_TYPE_A) { in call_hook() 317 rrset_data->rr_len[i] - 2, s, slen, qstate->qinfo.qtype); in call_hook() 400 if(qstate->qinfo.qtype == LDNS_RR_TYPE_A || in ipsecmod_handle_query() 401 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA) { in ipsecmod_handle_query() 403 sldns_wire2str_type_buf(qstate->qinfo.qtype, type, in ipsecmod_handle_query() 484 if((qstate->qinfo.qtype == LDNS_RR_TYPE_A || in ipsecmod_handle_response() 485 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA) && in ipsecmod_handle_response() [all …]
|
| /freebsd-14.2/contrib/unbound/services/cache/ |
| H A D | dns.c | 147 k.qtype = qtype; in msg_cache_remove() 192 qinfo->qtype, qinfo->qclass, flags); in dns_cache_store_msg() 291 k.qtype = qtype; in msg_cache_lookup() 478 msg->qinfo.qtype = qtype; in dns_msg_create() 904 k.qtype = qtype; in dns_cache_lookup() 983 if((qtype == LDNS_RR_TYPE_DS || qtype == LDNS_RR_TYPE_DNSKEY) && in dns_cache_lookup() 985 qtype, qclass, 0, now, 0))) { in dns_cache_lookup() 997 (qtype == LDNS_RR_TYPE_DS || in dns_cache_lookup() 1023 k.qtype = LDNS_RR_TYPE_A; in dns_cache_lookup() 1045 k.qtype = qtype; in dns_cache_lookup() [all …]
|
| H A D | dns.h | 146 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, 195 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, 222 struct dns_msg* dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype, 265 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, 278 uint16_t qtype, uint16_t qclass, uint16_t flags);
|
| H A D | infra.c | 622 int dnsseclame, int reclame, uint16_t qtype) in infra_set_lame() argument 646 if(!dnsseclame && !reclame && qtype == LDNS_RR_TYPE_A) in infra_set_lame() 648 if(!dnsseclame && !reclame && qtype != LDNS_RR_TYPE_A) in infra_set_lame() 705 if(qtype == LDNS_RR_TYPE_A) { in infra_rtt_update() 708 } else if(qtype == LDNS_RR_TYPE_AAAA) { in infra_rtt_update() 723 if(qtype == LDNS_RR_TYPE_A) in infra_rtt_update() 725 else if(qtype == LDNS_RR_TYPE_AAAA) in infra_rtt_update() 797 uint8_t* name, size_t namelen, uint16_t qtype, in infra_get_lame_rtt() argument 816 if(qtype == LDNS_RR_TYPE_A) { in infra_get_lame_rtt() 820 } else if(qtype == LDNS_RR_TYPE_AAAA) { in infra_get_lame_rtt() [all …]
|
| /freebsd-14.2/contrib/unbound/iterator/ |
| H A D | iter_resptype.c | 59 if(request->qtype == LDNS_RR_TYPE_ANY) in response_type_from_cache() 80 if(ntohs(s->rk.type) == request->qtype && in response_type_from_cache() 167 if((request->qtype == LDNS_RR_TYPE_ANY || in response_type_from_server() 168 request->qtype == LDNS_RR_TYPE_NS) && in response_type_from_server() 183 if(ntohs(s->rk.type) == request->qtype && in response_type_from_server() 203 if(request->qtype == LDNS_RR_TYPE_ANY) in response_type_from_server()
|
| H A D | iterator.c | 237 if(qstate->qinfo.qtype == LDNS_RR_TYPE_A || in error_supers() 238 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA) { in error_supers() 323 qstate->qinfo.qtype, qstate->qinfo.qclass, in error_response_cache() 822 qinf.qtype = qtype; in generate_sub_request() 1637 (iq->qchase.qtype == LDNS_RR_TYPE_NS && in processInitRequest() 1929 uint16_t qtype, uint16_t qclass) in generate_parentside_target_query() argument 2598 iq->qinfo_out.qtype = LDNS_RR_TYPE_A; in processQueryTargets() 2685 iq->qinfo_out.qtype, in processQueryTargets() 3302 iq->qchase.qtype != iq->response->qinfo.qtype, in processQueryResponse() 3359 iq->response->qinfo.qtype, in processQueryResponse() [all …]
|
| /freebsd-14.2/lib/libc/net/ |
| H A D | gethostbydns.c | 139 gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in gethostanswer() argument 157 switch (qtype) { in gethostanswer() 189 if (qtype == T_A || qtype == T_AAAA) { in gethostanswer() 225 if (qtype == T_A && type == T_A) in gethostanswer() 237 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) { in gethostanswer() 269 if (qtype == T_PTR && type == T_CNAME) { in gethostanswer() 291 if (type != qtype) { in gethostanswer() 297 qname, p_class(C_IN), p_type(qtype), in gethostanswer() 412 if (statp->nsort && haveanswer > 1 && qtype == T_A) in gethostanswer() 448 switch (qtype) { in __dns_getanswer() [all …]
|
| /freebsd-14.2/contrib/unbound/contrib/ |
| H A D | unbound-querycachedb.py | 15 def _calc_hashkey(qname, secret, qtype): argument 20 socket.htons(dns.rdatatype.from_text(qtype)), 30 print(';; query=%s/IN/%s' % (qname, options.qtype)) 68 key = _calc_hashkey(args[0], options.secret, options.qtype)
|
| H A D | drop-tld.diff | 7 log_query_in(ip, qinfo.qname, qinfo.qtype, qinfo.qclass); 18 if(qinfo.qtype == LDNS_RR_TYPE_AXFR || 19 qinfo.qtype == LDNS_RR_TYPE_IXFR) {
|
| H A D | redirect-bogus.patch | 11 + if (qinfo->qtype == LDNS_RR_TYPE_A && 17 + } else if (qinfo->qtype == LDNS_RR_TYPE_AAAA && 84 + if(bogus_override && m->s.qinfo.qtype == LDNS_RR_TYPE_A && 91 + m->s.qinfo.qtype == LDNS_RR_TYPE_AAAA && 268 + if (qinfo->qtype == LDNS_RR_TYPE_A) { 270 + } else if (qinfo->qtype == LDNS_RR_TYPE_AAAA) { 292 + sldns_buffer_write_u16(buf, qinfo->qtype); 298 + sldns_buffer_write_u16(buf, qinfo->qtype);
|
| /freebsd-14.2/contrib/unbound/util/data/ |
| H A D | msgencode.c | 440 if(qtype == LDNS_RR_TYPE_ANY || qtype == rrtype) in rrset_belongs_in_reply() 577 s, qtype, dnssec, rr_offset, compress_count)) in insert_section() 590 s, qtype, dnssec, rr_offset, compress_count)) in insert_section() 601 s, qtype, dnssec, rr_offset, compress_count)) in insert_section() 630 sldns_buffer_write_u16(buffer, qinfo->qtype); in insert_query() 642 if(ntohs(rep->rrsets[i]->rk.type) == qtype) { in positive_answer() 644 if(qtype == LDNS_RR_TYPE_NS) in positive_answer() 773 LDNS_SECTION_AUTHORITY, qinfo->qtype, in reply_info_encode() 790 &tree, LDNS_SECTION_ADDITIONAL, qinfo->qtype, in reply_info_encode() 1080 sldns_buffer_write_u16(pkt, qinfo->qtype); in qinfo_query_encode() [all …]
|
| /freebsd-14.2/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_recv.c | 31 ar9300_get_rx_dp(struct ath_hal *ath, HAL_RX_QUEUE qtype) in ar9300_get_rx_dp() argument 33 if (qtype == HAL_RX_QUEUE_HP) { in ar9300_get_rx_dp() 44 ar9300_set_rx_dp(struct ath_hal *ah, u_int32_t rxdp, HAL_RX_QUEUE qtype) in ar9300_set_rx_dp() argument 46 HALASSERT((qtype == HAL_RX_QUEUE_HP) || (qtype == HAL_RX_QUEUE_LP)); in ar9300_set_rx_dp() 48 if (qtype == HAL_RX_QUEUE_HP) { in ar9300_set_rx_dp()
|
| /freebsd-14.2/contrib/sendmail/src/ |
| H A D | domain.c | 1743 qtype = initial; 1750 if (qtype == initial) 1758 qtype == T_A ? "A" : 1812 if (qtype == T_AAAA) 1814 qtype = T_A; 1822 qtype = T_MX; 1829 qtype = initial; 1990 if (qtype == T_AAAA) 1991 qtype = T_A; 1995 qtype = T_MX; [all …]
|
| /freebsd-14.2/sys/dev/ath/ath_hal/ar5211/ |
| H A D | ar5211_recv.c | 33 ar5211GetRxDP(struct ath_hal *ah, HAL_RX_QUEUE qtype) in ar5211GetRxDP() argument 36 HALASSERT(qtype == HAL_RX_QUEUE_HP); in ar5211GetRxDP() 44 ar5211SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype) in ar5211SetRxDP() argument 47 HALASSERT(qtype == HAL_RX_QUEUE_HP); in ar5211SetRxDP()
|
| /freebsd-14.2/sys/dev/ath/ath_hal/ar5210/ |
| H A D | ar5210_recv.c | 33 ar5210GetRxDP(struct ath_hal *ah, HAL_RX_QUEUE qtype) in ar5210GetRxDP() argument 36 HALASSERT(qtype == HAL_RX_QUEUE_HP); in ar5210GetRxDP() 44 ar5210SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype) in ar5210SetRxDP() argument 47 HALASSERT(qtype == HAL_RX_QUEUE_HP); in ar5210SetRxDP()
|
| /freebsd-14.2/contrib/unbound/validator/ |
| H A D | val_nsec.c | 152 log_assert(qinfo->qtype == LDNS_RR_TYPE_DS); in val_nsec_proves_no_ds() 349 if(nsec_has_type(nsec, qinfo->qtype)) { in nsec_proves_nodata() 385 if(nsec_has_type(nsec, qinfo->qtype)) { in nsec_proves_nodata() 399 if(qinfo->qtype != LDNS_RR_TYPE_DS && in nsec_proves_nodata() 403 } else if(qinfo->qtype == LDNS_RR_TYPE_DS && in nsec_proves_nodata() 469 if(qinfo->qtype == LDNS_RR_TYPE_DS) { in val_nsec_proves_insecuredelegation()
|
| /freebsd-14.2/contrib/unbound/respip/ |
| H A D | respip.c | 666 uint16_t qtype, const struct reply_info* rep, in respip_data_answer() argument 688 dataqinfo.qtype = ntohs(rep->rrsets[rrset_id]->rk.type); in respip_data_answer() 723 if(qtype == LDNS_RR_TYPE_ANY) in respip_data_answer() 778 if(qtype == LDNS_RR_TYPE_ANY) in respip_nodata_answer() 998 (data) ? data : raddr->data, qinfo->qtype, rep, in respip_rewrite_reply() 1028 qinfo->qtype != LDNS_RR_TYPE_ANY) in respip_rewrite_reply() 1055 subqi.qtype = qstate->qinfo.qtype; in generate_cname_request() 1091 if((qstate->qinfo.qtype == LDNS_RR_TYPE_A || in respip_operate() 1092 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA || in respip_operate() 1093 qstate->qinfo.qtype == LDNS_RR_TYPE_ANY) && in respip_operate() [all …]
|
| /freebsd-14.2/contrib/unbound/daemon/ |
| H A D | worker.c | 597 if(qinfo->qtype != LDNS_RR_TYPE_A && in apply_respip_action() 598 qinfo->qtype != LDNS_RR_TYPE_AAAA && in apply_respip_action() 599 qinfo->qtype != LDNS_RR_TYPE_ANY) in apply_respip_action() 1005 if(qinfo->qtype != LDNS_RR_TYPE_ANY && qinfo->qtype != LDNS_RR_TYPE_TXT) in answer_chaos() 1534 qinfo.qtype == LDNS_RR_TYPE_IXFR) { in worker_handle_request() 1543 worker->stats.qtype[qinfo.qtype]++; in worker_handle_request() 1548 qinfo.qtype == LDNS_RR_TYPE_TSIG || in worker_handle_request() 1552 (qinfo.qtype >= 128 && qinfo.qtype <= 248)) { in worker_handle_request() 1565 worker->stats.qtype[qinfo.qtype]++; in worker_handle_request() 1806 (qinfo.qtype == LDNS_RR_TYPE_A || in worker_handle_request() [all …]
|
| /freebsd-14.2/sys/dev/ath/ath_hal/ar5212/ |
| H A D | ar5212_recv.c | 33 ar5212GetRxDP(struct ath_hal *ath, HAL_RX_QUEUE qtype) in ar5212GetRxDP() argument 36 HALASSERT(qtype == HAL_RX_QUEUE_HP); in ar5212GetRxDP() 44 ar5212SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype) in ar5212SetRxDP() argument 47 HALASSERT(qtype == HAL_RX_QUEUE_HP); in ar5212SetRxDP()
|
| /freebsd-14.2/sys/net/altq/ |
| H A D | altq_priq.c | 314 qtype(cl->cl_q) = Q_DROPTAIL; in priq_class_create() 346 qtype(cl->cl_q) = Q_RIO; in priq_class_create() 356 qtype(cl->cl_q) = Q_RED; in priq_class_create() 364 qtype(cl->cl_q) = Q_CODEL; in priq_class_create() 607 sp->qtype = qtype(cl->cl_q); in get_class_stats()
|
| /freebsd-14.2/contrib/ldns/drill/ |
| H A D | dnssec.c | 302 ldns_nsec3_exact_match(ldns_rdf *qname, ldns_rr_type qtype, ldns_rr_list *nsec3s) { in ldns_nsec3_exact_match() argument 320 descriptor = ldns_rr_descript(qtype); in ldns_nsec3_exact_match() 324 printf("TYPE%d ", qtype); in ldns_nsec3_exact_match() 402 ldns_nsec3_closest_encloser(ldns_rdf *qname, ldns_rr_type qtype, ldns_rr_list *nsec3s) in ldns_nsec3_closest_encloser() argument 427 printf(";; finding closest encloser for type %d ", qtype); in ldns_nsec3_closest_encloser()
|