Lines Matching defs:qtype
188 int qclass, qtype; /* class and type of query */
1106 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype,
1133 switch (qtype) {
1161 if (qtype == T_A || qtype == T_AAAA || qtype == T_ANY) {
1196 if ((qtype == T_A || qtype == T_AAAA || qtype == T_ANY) &&
1215 if (qtype == T_ANY) {
1220 } else if (type != qtype) {
1225 qname, p_class(C_IN), p_type(qtype),
1367 q.qtype = T_AAAA;
1373 q2.qtype = T_A;
1380 q.qtype = T_A;
1387 q.qtype = T_AAAA;
1410 ai = getanswer(buf, q.n, q.name, q.qtype, pai);
1417 ai = getanswer(buf2, q2.n, q2.name, q2.qtype, pai);
1740 type = t->qtype;