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

1234

/freebsd-10.2-release/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
[all...]
/freebsd-10.2-release/contrib/unbound/services/cache/
H A Ddns.h117 * @param qtype: query type.
126 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
134 * @param qtype: query type.
144 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
163 * @param qtype: query section type
169 struct dns_msg* dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype,
H A Dinfra.h190 * @param qtype: the query type for which it is lame.
196 int reclame, uint16_t qtype);
205 * @param qtype: query type.
214 socklen_t addrlen, uint8_t* name, size_t namelen, int qtype,
253 * @param qtype: the query to be made.
265 uint8_t* name, size_t namelen, uint16_t qtype,
H A Dinfra.c321 int dnsseclame, int reclame, uint16_t qtype)
345 if(!dnsseclame && !reclame && qtype == LDNS_RR_TYPE_A)
347 if(!dnsseclame && !reclame && qtype != LDNS_RR_TYPE_A)
376 socklen_t addrlen, uint8_t* nm, size_t nmlen, int qtype,
395 if(qtype == LDNS_RR_TYPE_A) {
398 } else if(qtype == LDNS_RR_TYPE_AAAA) {
413 if(qtype == LDNS_RR_TYPE_A)
415 else if(qtype == LDNS_RR_TYPE_AAAA)
487 uint8_t* name, size_t namelen, uint16_t qtype,
501 if(qtype
319 infra_set_lame(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, time_t timenow, int dnsseclame, int reclame, uint16_t qtype) argument
375 infra_rtt_update(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* nm, size_t nmlen, int qtype, int roundtrip, int orig_rtt, time_t timenow) argument
485 infra_get_lame_rtt(struct infra_cache* infra, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* name, size_t namelen, uint16_t qtype, int* lame, int* dnsseclame, int* reclame, int* rtt, time_t timenow) argument
[all...]
H A Ddns.c187 uint16_t qtype, uint16_t qclass, uint16_t flags, time_t now, int wr)
195 k.qtype = qtype;
351 dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype, argument
362 msg->qinfo.qtype = qtype;
392 size_t qnamelen, uint16_t qtype, uint16_t qclass,
419 *msg = dns_msg_create(qname, qnamelen, qtype, qclass, region,
636 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
648 k.qtype
186 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
391 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
635 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) argument
[all...]
H A Drrset.h142 * @param qtype: type of rrset to lookup (host order).
151 uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass,
/freebsd-10.2-release/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-10.2-release/sys/dev/ath/
H A Dif_ath_rx_edma.c147 static int ath_edma_rxfifo_alloc(struct ath_softc *sc, HAL_RX_QUEUE qtype,
149 static int ath_edma_rxfifo_flush(struct ath_softc *sc, HAL_RX_QUEUE qtype);
152 HAL_RX_QUEUE qtype, int dosched);
154 HAL_RX_QUEUE qtype, int dosched);
188 ath_edma_reinit_fifo(struct ath_softc *sc, HAL_RX_QUEUE qtype) argument
190 struct ath_rx_edma *re = &sc->sc_rxedma[qtype];
202 qtype,
205 ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype);
284 ath_edma_recv_sched_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype, argument
288 ath_edma_recv_proc_queue(sc, qtype, dosche
332 ath_edma_recv_proc_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype, int dosched) argument
470 ath_edma_recv_proc_deferred_queue(struct ath_softc *sc, HAL_RX_QUEUE qtype, int dosched) argument
725 ath_edma_rxfifo_alloc(struct ath_softc *sc, HAL_RX_QUEUE qtype, int nbufs) argument
792 ath_edma_rxfifo_flush(struct ath_softc *sc, HAL_RX_QUEUE qtype) argument
826 ath_edma_setup_rxfifo(struct ath_softc *sc, HAL_RX_QUEUE qtype) argument
863 ath_edma_rxfifo_free(struct ath_softc *sc, HAL_RX_QUEUE qtype) argument
[all...]
H A Dif_ath_rx.h60 HAL_STATUS status, uint64_t tsf, int nf, HAL_RX_QUEUE qtype,
/freebsd-10.2-release/contrib/sendmail/src/
H A Ddomain.c787 int qtype; local
866 qtype = initial;
870 if (qtype == initial)
876 qtype == T_AAAA ? "AAAA" :
878 qtype == T_A ? "A" :
879 qtype == T_MX ? "MX" :
882 ret = res_querydomain(host, *dp, C_IN, qtype,
911 ** attempt with a different qtype may
931 if (qtype == T_AAAA)
933 qtype
[all...]
/freebsd-10.2-release/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-10.2-release/contrib/unbound/daemon/
H A Dstats.h53 /** number of qtype that is stored for in array */
82 /** qtype stats */
83 size_t qtype[STATS_QTYPE_NUM]; member in struct:server_stats
84 /** bigger qtype values not in array */
230 * @param qtype: query type
236 uint16_t qtype, uint16_t qclass, struct edns_data* edns,
H A Dstats.c251 total->svr.qtype[i] += a->svr.qtype[i];
275 uint16_t qtype, uint16_t qclass, struct edns_data* edns,
279 if(qtype < STATS_QTYPE_NUM)
280 stats->qtype[qtype]++;
274 server_stats_insquery(struct server_stats* stats, struct comm_point* c, uint16_t qtype, uint16_t qclass, struct edns_data* edns, struct comm_reply* repinfo) argument
/freebsd-10.2-release/contrib/unbound/libunbound/
H A Dworker.h56 * @param qtype: query type. (host order)
71 uint16_t qtype, uint16_t qclass, uint16_t flags, int dnssec,
111 * @param qtype: query type. (host order)
126 uint16_t qtype, uint16_t qclass, uint16_t flags, int dnssec,
/freebsd-10.2-release/contrib/ldns/drill/
H A Ddrill.h71 ldns_rr_type qtype,
75 ldns_rr_type qtype,
/freebsd-10.2-release/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...]
H A Diterator.c189 if(qstate->qinfo.qtype == LDNS_RR_TYPE_A ||
190 qstate->qinfo.qtype == LDNS_RR_TYPE_AAAA) {
214 if(qstate->qinfo.qtype == LDNS_RR_TYPE_NS) {
245 * message cache (so per qname, qtype, qclass).
486 * @param qtype The query type for this request.
501 generate_sub_request(uint8_t* qname, size_t qnamelen, uint16_t qtype, argument
514 qinf.qtype = qtype;
746 if(qstate->qinfo.qtype == ntohs(s->rk.type) &&
787 if(qstate->qinfo.qtype
1296 generate_parentside_target_query(struct module_qstate* qstate, struct iter_qstate* iq, int id, uint8_t* name, size_t namelen, uint16_t qtype, uint16_t qclass) argument
1348 generate_target_query(struct module_qstate* qstate, struct iter_qstate* iq, int id, uint8_t* name, size_t namelen, uint16_t qtype, uint16_t qclass) argument
[all...]
/freebsd-10.2-release/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-10.2-release/lib/libc/net/
H A Dgethostbydns.c144 gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype, argument
162 switch (qtype) {
194 if (qtype == T_A || qtype == T_AAAA) {
230 if (qtype == T_A && type == T_A)
242 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) {
274 if (qtype == T_PTR && type == T_CNAME) {
296 if (type != qtype) {
300 qname, p_class(C_IN), p_type(qtype),
437 __dns_getanswer(const char *answer, int anslen, const char *qname, int qtype) argument
[all...]
/freebsd-10.2-release/contrib/unbound/util/data/
H A Dmsgencode.c415 rrset_belongs_in_reply(sldns_pkt_section s, uint16_t rrtype, uint16_t qtype, argument
422 if(qtype == LDNS_RR_TYPE_ANY || qtype == rrtype)
446 sldns_pkt_section s, uint16_t qtype, int dnssec, size_t rr_offset)
455 if(!rrset_belongs_in_reply(s, ntohs(key->rk.type), qtype, dnssec))
533 sldns_pkt_section s, uint16_t qtype, int dnssec, size_t rr_offset)
539 if(s == LDNS_SECTION_ANSWER && qtype == LDNS_RR_TYPE_ANY)
545 s, qtype, dnssec, rr_offset))
558 s, qtype, dnssec, rr_offset))
569 s, qtype, dnsse
443 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
530 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
601 positive_answer(struct reply_info* rep, uint16_t qtype) argument
[all...]
/freebsd-10.2-release/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-10.2-release/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-10.2-release/contrib/unbound/validator/
H A Dval_nsec.c152 log_assert(qinfo->qtype == LDNS_RR_TYPE_DS);
313 * b) the type map does not contain qtype. Note that this
337 if(nsec_has_type(nsec, qinfo->qtype)) {
350 /* If the qtype exists, then we should have gotten it. */
351 if(nsec_has_type(nsec, qinfo->qtype)) {
363 * The reverse of this check is used when qtype is DS, since that
365 if(qinfo->qtype != LDNS_RR_TYPE_DS &&
369 } else if(qinfo->qtype == LDNS_RR_TYPE_DS &&
435 if(qinfo->qtype == LDNS_RR_TYPE_DS) {
/freebsd-10.2-release/contrib/unbound/smallapp/
H A Dworker_cb.c103 size_t ATTR_UNUSED(qnamelen), uint16_t ATTR_UNUSED(qtype),
135 size_t ATTR_UNUSED(qnamelen), uint16_t ATTR_UNUSED(qtype),

Completed in 113 milliseconds

1234