Home
last modified time | relevance | path

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

12345

/freebsd/sys/dev/ath/
H A Dif_ath_rx_edma.c149 static int ath_edma_rxfifo_alloc(struct ath_softc *sc, HAL_RX_QUEUE qtype,
151 static int ath_edma_rxfifo_flush(struct ath_softc *sc, HAL_RX_QUEUE qtype);
154 HAL_RX_QUEUE qtype, int dosched);
156 HAL_RX_QUEUE qtype, int dosched);
205 ath_edma_reinit_fifo(struct ath_softc *sc, HAL_RX_QUEUE qtype) in ath_edma_reinit_fifo() argument
207 struct ath_rx_edma *re = &sc->sc_rxedma[qtype]; in ath_edma_reinit_fifo()
221 qtype, in ath_edma_reinit_fifo()
224 ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype); in ath_edma_reinit_fifo()
312 ath_edma_recv_sched_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype, in ath_edma_recv_sched_queue() argument
316 __func__, qtype, dosched); in ath_edma_recv_sched_queue()
[all …]
/freebsd/contrib/sendmail/contrib/
H A Dcidrexpand117 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 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/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/contrib/unbound/ipsecmod/
H A Dipsecmod.c144 size_t namelen, uint16_t qtype, uint16_t qclass, uint16_t flags) in generate_request() argument
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()
[all …]
/freebsd/contrib/unbound/services/cache/
H A Ddns.c140 uint16_t qtype, uint16_t qclass, uint16_t flags) in msg_cache_remove() argument
147 k.qtype = qtype; in msg_cache_remove()
192 qinfo->qtype, qinfo->qclass, flags); in dns_cache_store_msg()
283 uint16_t qtype, uint16_t qclass, uint16_t flags, time_t now, int wr) in msg_cache_lookup() argument
291 k.qtype = qtype; in msg_cache_lookup()
467 dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype, in dns_msg_create() argument
478 msg->qinfo.qtype = qtype; in dns_msg_create()
523 size_t qnamelen, uint16_t qtype, uint16_t qclass, in dns_cache_find_delegation() argument
551 *msg = dns_msg_create(qname, qnamelen, qtype, qclass, region, in dns_cache_find_delegation()
826 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, in fill_any() argument
[all …]
H A Ddns.h146 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 Dinfra.c622 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()
677 socklen_t addrlen, uint8_t* nm, size_t nmlen, int qtype, in infra_rtt_update() argument
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()
[all …]
/freebsd/contrib/unbound/iterator/
H A Diter_resptype.c59 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 Diterator.c237 if(qstate->qinfo.qtype == LDNS_RR_TYPE_A || in error_supers()
238 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA) { in error_supers()
260 delegpt_mark_neg(dpns, qstate->qinfo.qtype); in error_supers()
267 if(qstate->qinfo.qtype == LDNS_RR_TYPE_NS) { in error_supers()
323 qstate->qinfo.qtype, qstate->qinfo.qclass, in error_response_cache()
808 generate_sub_request(uint8_t* qname, size_t qnamelen, uint16_t qtype, in generate_sub_request() argument
822 qinf.qtype = qtype; in generate_sub_request()
1188 if(qstate->qinfo.qtype == ntohs(s->rk.type) && in generate_a_aaaa_check()
1232 if(qstate->qinfo.qtype == LDNS_RR_TYPE_NS && in generate_ns_check()
1240 if(qstate->qinfo.qtype == LDNS_RR_TYPE_DS) in generate_ns_check()
[all …]
/freebsd/lib/libc/net/
H A Dgethostbydns.c135 gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in gethostanswer() argument
153 switch (qtype) { in gethostanswer()
185 if (qtype == T_A || qtype == T_AAAA) { in gethostanswer()
221 if (qtype == T_A && type == T_A) in gethostanswer()
233 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) { in gethostanswer()
265 if (qtype == T_PTR && type == T_CNAME) { in gethostanswer()
287 if (type != qtype) { in gethostanswer()
293 qname, p_class(C_IN), p_type(qtype), in gethostanswer()
408 if (statp->nsort && haveanswer > 1 && qtype == T_A) in gethostanswer()
431 __dns_getanswer(const char *answer, int anslen, const char *qname, int qtype) in __dns_getanswer() argument
[all …]
/freebsd/contrib/unbound/util/data/
H A Dmsgencode.c433 rrset_belongs_in_reply(sldns_pkt_section s, uint16_t rrtype, uint16_t qtype, in rrset_belongs_in_reply() argument
440 if(qtype == LDNS_RR_TYPE_ANY || qtype == rrtype) in rrset_belongs_in_reply()
464 sldns_pkt_section s, uint16_t qtype, int dnssec, size_t rr_offset, in packed_rrset_encode() argument
475 if(!rrset_belongs_in_reply(s, ntohs(key->rk.type), qtype, dnssec)) in packed_rrset_encode()
560 sldns_pkt_section s, uint16_t qtype, int dnssec, size_t rr_offset, in insert_section() argument
571 if(s == LDNS_SECTION_ANSWER && qtype == LDNS_RR_TYPE_ANY) in insert_section()
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()
[all …]
/freebsd/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) {
H A Dredirect-bogus.patch11 + 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/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/contrib/sendmail/src/
H A Ddomain.c1629 int ancount, qdcount, ret, type, qtype, initial, loopcnt, ttl, sli; local
1743 qtype = initial;
1750 if (qtype == initial)
1756 qtype == T_AAAA ? "AAAA" :
1758 qtype == T_A ? "A" :
1759 qtype == T_MX ? "MX" :
1763 ret = (*resqdomain)(host, dp, C_IN, qtype,
1812 if (qtype == T_AAAA)
1814 qtype = T_A;
1819 if (qtype == T_A && !gotmx &&
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_recv.c33 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/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_recv.c33 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/contrib/unbound/validator/
H A Dval_nsec.c152 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/contrib/unbound/respip/
H A Drespip.c666 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()
753 respip_nodata_answer(uint16_t qtype, enum respip_action action, in respip_nodata_answer() argument
778 if(qtype == LDNS_RR_TYPE_ANY) in respip_nodata_answer()
998 (data) ? data : raddr->data, qinfo->qtype, rep, in respip_rewrite_reply()
1008 if(!result && !respip_nodata_answer(qinfo->qtype, action, 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()
[all …]
/freebsd/contrib/unbound/daemon/
H A Dworker.c488 qinfo->qname_len, qinfo->qtype, qinfo->qclass, in answer_norec_from_cache()
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()
618 qinfo->qtype, qinfo->qclass, qinfo->local_alias, in apply_respip_action()
1005 if(qinfo->qtype != LDNS_RR_TYPE_ANY && qinfo->qtype != LDNS_RR_TYPE_TXT) in answer_chaos()
1436 if(!(qinfo.qtype == LDNS_RR_TYPE_TXT && in worker_handle_request()
1442 sldns_rr_descript(qinfo.qtype)->_name, in worker_handle_request()
1531 log_query_in(ip, qinfo.qname, qinfo.qtype, qinfo.qclass); in worker_handle_request()
1533 if(qinfo.qtype == LDNS_RR_TYPE_AXFR || in worker_handle_request()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_recv.c33 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/sys/net/altq/
H A Daltq_priq.c314 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/contrib/ldns/drill/
H A Ddnssec.c302 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()

12345