Searched refs:qtype (Results 1 - 25 of 103) sorted by relevance

12345

/freebsd-11-stable/contrib/sendmail/contrib/
H A Dcidrexpand106 my $qtype='';
115 elsif ($qtype eq '' && $ch eq '#')
120 elsif ($qtype ne '' && $ch eq $qtype)
122 $qtype = '';
124 elsif ($qtype eq '' && $ch =~ /[\'\"]/)
126 $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
[all...]
/freebsd-11-stable/contrib/unbound/services/cache/
H A Ddns.h126 * @param qtype: query type.
135 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
160 * @param qtype: query type.
172 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
192 * @param qtype: query section type
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,
249 * @param qtype: query type, host order.
254 uint16_t qtype, uint16_t qclass, uint16_t flags);
H A Ddns.c116 uint16_t qtype, uint16_t qclass, uint16_t flags)
123 k.qtype = qtype;
140 qinfo->qtype, qinfo->qclass, flags, 0, 0);
151 msg_cache_remove(env, qinfo->qname, qinfo->qname_len, qinfo->qtype,
241 uint16_t qtype, uint16_t qclass, uint16_t flags, time_t now, int wr)
249 k.qtype = qtype;
408 dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype, argument
419 msg->qinfo.qtype
115 msg_cache_remove(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, uint16_t flags) argument
240 msg_cache_lookup(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, uint16_t flags, time_t now, int wr) argument
462 dns_cache_find_delegation(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region, struct dns_msg** msg, time_t now) argument
736 fill_any(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region) argument
801 dns_cache_lookup(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, uint16_t flags, struct regional* region, struct regional* scratch, int no_partial) argument
[all...]
H A Dinfra.h266 * @param qtype: the query type for which it is lame.
272 int reclame, uint16_t qtype);
281 * @param qtype: query type.
290 socklen_t addrlen, uint8_t* name, size_t namelen, int qtype,
329 * @param qtype: the query to be made.
341 uint8_t* name, size_t namelen, uint16_t qtype,
H A Drrset.h160 * @param qtype: type of rrset to lookup (host order).
169 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/
H A Dh_dns_server.c77 int qtype; member in struct:dns_data
363 int qtype, qclass; local
375 qtype = *p++ << 8;
376 qtype |= *p++;
377 if (qtype != dp->qtype) {
379 qtype, dp->qtype);
382 DPRINTF("match type 0x%x\n", qtype);
400 *p++ = dp->qtype >>
[all...]
/freebsd-11-stable/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);
200 ath_edma_reinit_fifo(struct ath_softc *sc, HAL_RX_QUEUE qtype) argument
202 struct ath_rx_edma *re = &sc->sc_rxedma[qtype];
214 qtype,
217 ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype);
296 ath_edma_recv_sched_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype, argument
304 ath_edma_recv_proc_queue(sc, qtype, dosche
375 ath_edma_recv_proc_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype, int dosched) argument
512 ath_edma_recv_proc_deferred_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype, int dosched) argument
780 ath_edma_rxfifo_alloc(struct ath_softc *sc, HAL_RX_QUEUE qtype, int nbufs) argument
847 ath_edma_rxfifo_flush(struct ath_softc *sc, HAL_RX_QUEUE qtype) argument
881 ath_edma_setup_rxfifo(struct ath_softc *sc, HAL_RX_QUEUE qtype) argument
921 ath_edma_rxfifo_free(struct ath_softc *sc, HAL_RX_QUEUE qtype) argument
[all...]
H A Dif_ath_rx.h61 HAL_STATUS status, uint64_t tsf, int nf, HAL_RX_QUEUE qtype,
/freebsd-11-stable/contrib/unbound/contrib/
H A Dunbound-querycachedb.py15 def _calc_hashkey(qname, secret, qtype):
20 socket.htons(dns.rdatatype.from_text(qtype)),
30 print(';; query=%s/IN/%s' % (qname, options.qtype))
58 parser.add_option("-t", "--qtype", dest="qtype", action="store",
68 key = _calc_hashkey(args[0], options.secret, options.qtype)
/freebsd-11-stable/contrib/unbound/ipsecmod/
H A Dipsecmod.c137 * @param qtype: query type.
144 size_t namelen, uint16_t qtype, uint16_t qclass, uint16_t flags)
150 ask.qtype = qtype;
243 int w = 0, w_temp, qtype; local
290 qtype = ntohs(rrset_key->rk.type);
291 if(qtype != LDNS_RR_TYPE_AAAA && qtype != LDNS_RR_TYPE_A) {
306 rrset_data->rr_len[i] - 2, s, slen, qstate->qinfo.qtype);
389 if(qstate->qinfo.qtype
143 generate_request(struct module_qstate* qstate, int id, uint8_t* name, size_t namelen, uint16_t qtype, uint16_t qclass, uint16_t flags) argument
[all...]
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_recv.c33 ar5211GetRxDP(struct ath_hal *ah, HAL_RX_QUEUE qtype) argument
36 HALASSERT(qtype == HAL_RX_QUEUE_HP);
44 ar5211SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype) argument
47 HALASSERT(qtype == HAL_RX_QUEUE_HP);
/freebsd-11-stable/contrib/unbound/daemon/
H A Dstats.h113 * @param qtype: query type
119 uint16_t qtype, uint16_t qclass, struct edns_data* edns,
/freebsd-11-stable/contrib/ldns/drill/
H A Ddrill.h71 ldns_rr_type qtype,
75 ldns_rr_type qtype,
/freebsd-11-stable/contrib/unbound/iterator/
H A Diter_resptype.c58 if(request->qtype == LDNS_RR_TYPE_ANY)
76 * if qtype == CNAME then this will be noted as
79 if(ntohs(s->rk.type) == request->qtype &&
158 /* if the answer section has NS rrset, and qtype ANY
161 if((request->qtype == LDNS_RR_TYPE_ANY ||
162 request->qtype == LDNS_RR_TYPE_NS) &&
174 * if qtype == CNAME then this will be noted as an
177 if(ntohs(s->rk.type) == request->qtype &&
196 /* not a referral, and qtype any, thus an answer */
197 if(request->qtype
[all...]
/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_recv.c31 ar9300_get_rx_dp(struct ath_hal *ath, HAL_RX_QUEUE qtype) argument
33 if (qtype == HAL_RX_QUEUE_HP) {
44 ar9300_set_rx_dp(struct ath_hal *ah, u_int32_t rxdp, HAL_RX_QUEUE qtype) argument
46 HALASSERT((qtype == HAL_RX_QUEUE_HP) || (qtype == HAL_RX_QUEUE_LP));
48 if (qtype == HAL_RX_QUEUE_HP) {
/freebsd-11-stable/lib/libc/net/
H A Dgethostbydns.c140 gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype, argument
158 switch (qtype) {
190 if (qtype == T_A || qtype == T_AAAA) {
226 if (qtype == T_A && type == T_A)
238 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) {
270 if (qtype == T_PTR && type == T_CNAME) {
292 if (type != qtype) {
296 qname, p_class(C_IN), p_type(qtype),
433 __dns_getanswer(const char *answer, int anslen, const char *qname, int qtype) argument
[all...]
/freebsd-11-stable/contrib/unbound/util/data/
H A Dmsgencode.c421 rrset_belongs_in_reply(sldns_pkt_section s, uint16_t rrtype, uint16_t qtype, argument
428 if(qtype == LDNS_RR_TYPE_ANY || qtype == rrtype)
452 sldns_pkt_section s, uint16_t qtype, int dnssec, size_t rr_offset)
462 if(!rrset_belongs_in_reply(s, ntohs(key->rk.type), qtype, dnssec))
547 sldns_pkt_section s, uint16_t qtype, int dnssec, size_t rr_offset)
557 if(s == LDNS_SECTION_ANSWER && qtype == LDNS_RR_TYPE_ANY)
563 s, qtype, dnssec, rr_offset))
576 s, qtype, dnssec, rr_offset))
587 s, qtype, dnsse
449 packed_rrset_encode(struct ub_packed_rrset_key* key, sldns_buffer* pkt, uint16_t* num_rrs, time_t timenow, struct regional* region, int do_data, int do_sig, struct compress_tree_node** tree, sldns_pkt_section s, uint16_t qtype, int dnssec, size_t rr_offset) argument
544 insert_section(struct reply_info* rep, size_t num_rrsets, uint16_t* num_rrs, sldns_buffer* pkt, size_t rrsets_before, time_t timenow, struct regional* region, struct compress_tree_node** tree, sldns_pkt_section s, uint16_t qtype, int dnssec, size_t rr_offset) argument
622 positive_answer(struct reply_info* rep, uint16_t qtype) argument
[all...]
/freebsd-11-stable/contrib/unbound/dynlibmod/examples/
H A Dhelloworld.c69 sldns_rr_descript(qstate->qinfo.qtype)->_name,
70 qstate->qinfo.qtype);
/freebsd-11-stable/contrib/sendmail/src/
H A Ddomain.c1261 int ancount, qdcount, ret, type, qtype, initial, loopcnt, ttl, sli; local
1375 qtype = initial;
1382 if (qtype == initial)
1388 qtype == T_AAAA ? "AAAA" :
1390 qtype == T_A ? "A" :
1391 qtype == T_MX ? "MX" :
1395 ret = (*resqdomain)(host, dp, C_IN, qtype,
1424 ** attempt with a different qtype may
1444 if (qtype == T_AAAA)
1446 qtype
[all...]
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_recv.c33 ar5210GetRxDP(struct ath_hal *ah, HAL_RX_QUEUE qtype) argument
36 HALASSERT(qtype == HAL_RX_QUEUE_HP);
44 ar5210SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype) argument
47 HALASSERT(qtype == HAL_RX_QUEUE_HP);
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_recv.c33 ar5212GetRxDP(struct ath_hal *ath, HAL_RX_QUEUE qtype) argument
36 HALASSERT(qtype == HAL_RX_QUEUE_HP);
44 ar5212SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype) argument
47 HALASSERT(qtype == HAL_RX_QUEUE_HP);
/freebsd-11-stable/contrib/unbound/validator/
H A Dval_nsec.c152 log_assert(qinfo->qtype == LDNS_RR_TYPE_DS);
316 * b) the type map does not contain qtype. Note that this
340 if(nsec_has_type(nsec, qinfo->qtype)) {
375 /* If the qtype exists, then we should have gotten it. */
376 if(nsec_has_type(nsec, qinfo->qtype)) {
388 * The reverse of this check is used when qtype is DS, since that
390 if(qinfo->qtype != LDNS_RR_TYPE_DS &&
394 } else if(qinfo->qtype == LDNS_RR_TYPE_DS &&
460 if(qinfo->qtype == LDNS_RR_TYPE_DS) {
/freebsd-11-stable/contrib/unbound/libunbound/
H A Dunbound.h127 int qtype; member in struct:ub_result
649 /** number of qtype that is stored for in array */
684 /** qtype stats */
685 long long qtype[UB_STATS_QTYPE_NUM]; member in struct:ub_server_stats
686 /** bigger qtype values not in array */
/freebsd-11-stable/sys/net/altq/
H A Daltq_fairq.h80 int qtype; member in struct:fairq_classstats

Completed in 360 milliseconds

12345