Lines Matching refs:qtype
209 int qclass, qtype; /* class and type of query */
1304 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
1331 switch (qtype) {
1359 if (qtype == T_A || qtype == T_AAAA || qtype == T_ANY) {
1394 if ((qtype == T_A || qtype == T_AAAA || qtype == T_ANY) &&
1413 if (qtype == T_ANY) {
1418 } else if (type != qtype) {
1422 qname, p_class(C_IN), p_type(qtype),
1940 q.qtype = T_AAAA;
1945 q2.qtype = T_A;
1950 qtype = T_A;
1960 q.qtype = T_A;
1967 q.qtype = T_AAAA;
1990 ai = getanswer(buf, q.n, q.name, q.qtype, pai);
1997 ai = getanswer(buf2, q2.n, q2.name, q2.qtype, pai);
2179 type = t->qtype;