Home
last modified time | relevance | path

Searched refs:qtype (Results 1 – 25 of 108) sorted by relevance

12345

/freebsd-12.1/sys/dev/ath/
H A Dif_ath_rx_edma.c156 HAL_RX_QUEUE qtype, int dosched);
158 HAL_RX_QUEUE qtype, int dosched);
216 qtype, in ath_edma_reinit_fifo()
417 qtype); in ath_edma_recv_proc_queue()
799 qtype, in ath_edma_rxfifo_alloc()
816 qtype, in ath_edma_rxfifo_alloc()
828 qtype, in ath_edma_rxfifo_alloc()
842 qtype, in ath_edma_rxfifo_alloc()
892 qtype); in ath_edma_setup_rxfifo()
900 qtype, in ath_edma_setup_rxfifo()
[all …]
/freebsd-12.1/contrib/sendmail/contrib/
H A Dcidrexpand76 my $qtype='';
85 elsif ($qtype eq '' && $ch eq '#')
90 elsif ($qtype ne '' && $ch eq $qtype)
92 $qtype = '';
94 elsif ($qtype eq '' && $ch =~ /[\'\"]/)
96 $qtype = $ch;
H A Dbitdomain.c219 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-12.1/contrib/netbsd-tests/lib/libc/net/
H A Dh_dns_server.c77 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-12.1/contrib/unbound/services/cache/
H A Ddns.c123 k.qtype = qtype; in msg_cache_remove()
249 k.qtype = qtype; in msg_cache_lookup()
419 msg->qinfo.qtype = qtype; in dns_msg_create()
815 k.qtype = qtype; in dns_cache_lookup()
894 if((qtype == LDNS_RR_TYPE_DS || qtype == LDNS_RR_TYPE_DNSKEY || in dns_cache_lookup()
895 qtype == LDNS_RR_TYPE_DLV) && in dns_cache_lookup()
897 qtype, qclass, 0, now, 0))) { in dns_cache_lookup()
909 (qtype == LDNS_RR_TYPE_DS || in dns_cache_lookup()
932 k.qtype = LDNS_RR_TYPE_A; in dns_cache_lookup()
954 k.qtype = qtype; in dns_cache_lookup()
[all …]
H A Ddns.h135 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
172 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
198 struct dns_msg* dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype,
241 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
254 uint16_t qtype, uint16_t qclass, uint16_t flags);
H A Dinfra.c508 int dnsseclame, int reclame, uint16_t qtype) in infra_set_lame() argument
532 if(!dnsseclame && !reclame && qtype == LDNS_RR_TYPE_A) in infra_set_lame()
534 if(!dnsseclame && !reclame && qtype != LDNS_RR_TYPE_A) in infra_set_lame()
582 if(qtype == LDNS_RR_TYPE_A) { in infra_rtt_update()
585 } else if(qtype == LDNS_RR_TYPE_AAAA) { in infra_rtt_update()
600 if(qtype == LDNS_RR_TYPE_A) in infra_rtt_update()
602 else if(qtype == LDNS_RR_TYPE_AAAA) in infra_rtt_update()
674 uint8_t* name, size_t namelen, uint16_t qtype, in infra_get_lame_rtt() argument
688 if(qtype == LDNS_RR_TYPE_A) { in infra_get_lame_rtt()
692 } else if(qtype == LDNS_RR_TYPE_AAAA) { in infra_get_lame_rtt()
[all …]
/freebsd-12.1/contrib/sendmail/src/
H A Ddomain.c787 int qtype; local
866 qtype = initial;
870 if (qtype == initial)
878 qtype == T_A ? "A" :
933 qtype = T_A;
941 qtype = T_MX;
948 qtype = initial;
1107 if (qtype == T_AAAA)
1108 qtype = T_A;
1112 qtype = T_MX;
[all …]
/freebsd-12.1/contrib/unbound/ipsecmod/
H A Dipsecmod.c150 ask.qtype = qtype; in generate_request()
243 int w = 0, w_temp, qtype; in call_hook() local
290 qtype = ntohs(rrset_key->rk.type); in call_hook()
291 if(qtype != LDNS_RR_TYPE_AAAA && qtype != LDNS_RR_TYPE_A) { in call_hook()
306 rrset_data->rr_len[i] - 2, s, slen, qstate->qinfo.qtype); in call_hook()
389 if(qstate->qinfo.qtype == LDNS_RR_TYPE_A || in ipsecmod_handle_query()
390 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA) { in ipsecmod_handle_query()
392 sldns_wire2str_type_buf(qstate->qinfo.qtype, type, in ipsecmod_handle_query()
471 if((qstate->qinfo.qtype == LDNS_RR_TYPE_A || in ipsecmod_handle_response()
472 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA) && in ipsecmod_handle_response()
[all …]
/freebsd-12.1/contrib/unbound/util/data/
H A Dmsgencode.c428 if(qtype == LDNS_RR_TYPE_ANY || qtype == rrtype) in rrset_belongs_in_reply()
561 s, qtype, dnssec, rr_offset)) in insert_section()
574 s, qtype, dnssec, rr_offset)) in insert_section()
585 s, qtype, dnssec, rr_offset)) in insert_section()
614 sldns_buffer_write_u16(buffer, qinfo->qtype); in insert_query()
626 if(ntohs(rep->rrsets[i]->rk.type) == qtype) { in positive_answer()
721 qinfo->qtype, dnssec, rr_offset)) != RETVAL_OK) { in reply_info_encode()
753 LDNS_SECTION_AUTHORITY, qinfo->qtype, in reply_info_encode()
770 &tree, LDNS_SECTION_ADDITIONAL, qinfo->qtype, in reply_info_encode()
904 sldns_buffer_write_u16(pkt, qinfo->qtype); in qinfo_query_encode()
[all …]
/freebsd-12.1/contrib/unbound/iterator/
H A Diter_resptype.c58 if(request->qtype == LDNS_RR_TYPE_ANY) in response_type_from_cache()
79 if(ntohs(s->rk.type) == request->qtype && in response_type_from_cache()
161 if((request->qtype == LDNS_RR_TYPE_ANY || in response_type_from_server()
162 request->qtype == LDNS_RR_TYPE_NS) && in response_type_from_server()
177 if(ntohs(s->rk.type) == request->qtype && in response_type_from_server()
197 if(request->qtype == LDNS_RR_TYPE_ANY) in response_type_from_server()
H A Diterator.c230 if(qstate->qinfo.qtype == LDNS_RR_TYPE_A || in error_supers()
231 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA) { in error_supers()
259 if(qstate->qinfo.qtype == LDNS_RR_TYPE_NS) { in error_supers()
694 qinf.qtype = qtype; in generate_sub_request()
1097 if(qstate->qinfo.qtype == LDNS_RR_TYPE_DS) in generate_ns_check()
1411 (iq->qchase.qtype == LDNS_RR_TYPE_NS && in processInitRequest()
1725 uint16_t qtype, uint16_t qclass) in generate_parentside_target_query() argument
2224 iq->qinfo_out.qtype = LDNS_RR_TYPE_A; in processQueryTargets()
2310 iq->qinfo_out.qtype, in processQueryTargets()
2841 iq->response->qinfo.qtype, in processQueryResponse()
[all …]
/freebsd-12.1/lib/libc/net/
H A Dgethostbydns.c142 gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in gethostanswer() argument
160 switch (qtype) { in gethostanswer()
192 if (qtype == T_A || qtype == T_AAAA) { in gethostanswer()
228 if (qtype == T_A && type == T_A) in gethostanswer()
240 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) { in gethostanswer()
272 if (qtype == T_PTR && type == T_CNAME) { in gethostanswer()
294 if (type != qtype) { in gethostanswer()
298 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-12.1/contrib/unbound/contrib/
H A Dunbound-querycachedb.py15 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 Ddrop-tld.diff7 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) {
/freebsd-12.1/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_recv.c31 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-12.1/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_recv.c35 ar5211GetRxDP(struct ath_hal *ah, HAL_RX_QUEUE qtype) in ar5211GetRxDP() argument
38 HALASSERT(qtype == HAL_RX_QUEUE_HP); in ar5211GetRxDP()
46 ar5211SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype) in ar5211SetRxDP() argument
49 HALASSERT(qtype == HAL_RX_QUEUE_HP); in ar5211SetRxDP()
/freebsd-12.1/contrib/unbound/daemon/
H A Dworker.c581 if(qinfo->qtype != LDNS_RR_TYPE_A && in apply_respip_action()
582 qinfo->qtype != LDNS_RR_TYPE_AAAA && in apply_respip_action()
583 qinfo->qtype != LDNS_RR_TYPE_ANY) in apply_respip_action()
931 if(qinfo->qtype != LDNS_RR_TYPE_ANY && qinfo->qtype != LDNS_RR_TYPE_TXT) in answer_chaos()
1230 qinfo.qtype == LDNS_RR_TYPE_IXFR) { in worker_handle_request()
1238 worker->stats.qtype[qinfo.qtype]++; in worker_handle_request()
1244 qinfo.qtype == LDNS_RR_TYPE_TSIG || in worker_handle_request()
1248 (qinfo.qtype >= 128 && qinfo.qtype <= 248)) { in worker_handle_request()
1260 worker->stats.qtype[qinfo.qtype]++; in worker_handle_request()
1463 (qinfo.qtype == LDNS_RR_TYPE_A || in worker_handle_request()
[all …]
/freebsd-12.1/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_recv.c35 ar5210GetRxDP(struct ath_hal *ah, HAL_RX_QUEUE qtype) in ar5210GetRxDP() argument
38 HALASSERT(qtype == HAL_RX_QUEUE_HP); in ar5210GetRxDP()
46 ar5210SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype) in ar5210SetRxDP() argument
49 HALASSERT(qtype == HAL_RX_QUEUE_HP); in ar5210SetRxDP()
/freebsd-12.1/contrib/unbound/respip/
H A Drespip.c695 uint16_t qtype, const struct reply_info* rep, in respip_data_answer() argument
717 dataqinfo.qtype = ntohs(rep->rrsets[rrset_id]->rk.type); in respip_data_answer()
752 if(qtype == LDNS_RR_TYPE_ANY) in respip_data_answer()
808 if(qtype == LDNS_RR_TYPE_ANY) in respip_nodata_answer()
995 (data) ? data : raddr->data, qinfo->qtype, rep, in respip_rewrite_reply()
1025 qinfo->qtype != LDNS_RR_TYPE_ANY) in respip_rewrite_reply()
1049 subqi.qtype = qstate->qinfo.qtype; in generate_cname_request()
1085 if((qstate->qinfo.qtype == LDNS_RR_TYPE_A || in respip_operate()
1086 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA || in respip_operate()
1087 qstate->qinfo.qtype == LDNS_RR_TYPE_ANY) && in respip_operate()
[all …]
/freebsd-12.1/contrib/ntp/sntp/libevent/test/
H A Dregress_dns.c239 if (qtype == EVDNS_TYPE_A && in dns_server_request_cb()
254 } else if (qtype == EVDNS_TYPE_PTR && in dns_server_request_cb()
269 } else if (qtype == EVDNS_TYPE_A && in dns_server_request_cb()
277 qtype, qclass, qname); in dns_server_request_cb()
996 if (qtype == EVDNS_TYPE_A && in be_getaddrinfo_server_cb()
1008 if (qtype == EVDNS_TYPE_A) { in be_getaddrinfo_server_cb()
1027 if (qtype == EVDNS_TYPE_A) { in be_getaddrinfo_server_cb()
1039 if (qtype == EVDNS_TYPE_AAAA) { in be_getaddrinfo_server_cb()
1053 if (qtype == EVDNS_TYPE_A) { in be_getaddrinfo_server_cb()
1065 if (qtype == EVDNS_TYPE_AAAA) { in be_getaddrinfo_server_cb()
[all …]
/freebsd-12.1/contrib/unbound/validator/
H A Dval_nsec.c152 log_assert(qinfo->qtype == LDNS_RR_TYPE_DS); in val_nsec_proves_no_ds()
340 if(nsec_has_type(nsec, qinfo->qtype)) { in nsec_proves_nodata()
376 if(nsec_has_type(nsec, qinfo->qtype)) { in nsec_proves_nodata()
390 if(qinfo->qtype != LDNS_RR_TYPE_DS && in nsec_proves_nodata()
394 } else if(qinfo->qtype == LDNS_RR_TYPE_DS && in nsec_proves_nodata()
460 if(qinfo->qtype == LDNS_RR_TYPE_DS) { in val_nsec_proves_insecuredelegation()
/freebsd-12.1/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_recv.c35 ar5212GetRxDP(struct ath_hal *ath, HAL_RX_QUEUE qtype) in ar5212GetRxDP() argument
38 HALASSERT(qtype == HAL_RX_QUEUE_HP); in ar5212GetRxDP()
46 ar5212SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype) in ar5212SetRxDP() argument
49 HALASSERT(qtype == HAL_RX_QUEUE_HP); in ar5212SetRxDP()
/freebsd-12.1/contrib/libevent/test/
H A Dregress_dns.c241 if (qtype == EVDNS_TYPE_A && in dns_server_request_cb()
256 } else if (qtype == EVDNS_TYPE_PTR && in dns_server_request_cb()
271 } else if (qtype == EVDNS_TYPE_A && in dns_server_request_cb()
279 qtype, qclass, qname); in dns_server_request_cb()
1034 if (qtype == EVDNS_TYPE_A && in be_getaddrinfo_server_cb()
1046 if (qtype == EVDNS_TYPE_A) { in be_getaddrinfo_server_cb()
1065 if (qtype == EVDNS_TYPE_A) { in be_getaddrinfo_server_cb()
1077 if (qtype == EVDNS_TYPE_AAAA) { in be_getaddrinfo_server_cb()
1091 if (qtype == EVDNS_TYPE_A) { in be_getaddrinfo_server_cb()
1103 if (qtype == EVDNS_TYPE_AAAA) { in be_getaddrinfo_server_cb()
[all …]
/freebsd-12.1/contrib/ldns/drill/
H A Ddnssec.c289 ldns_nsec3_exact_match(ldns_rdf *qname, ldns_rr_type qtype, ldns_rr_list *nsec3s) { in ldns_nsec3_exact_match() argument
307 descriptor = ldns_rr_descript(qtype); in ldns_nsec3_exact_match()
311 printf("TYPE%d ", qtype); in ldns_nsec3_exact_match()
389 ldns_nsec3_closest_encloser(ldns_rdf *qname, ldns_rr_type qtype, ldns_rr_list *nsec3s) in ldns_nsec3_closest_encloser() argument
414 printf(";; finding closest encloser for type %d ", qtype); in ldns_nsec3_closest_encloser()

12345