Lines Matching defs:type
213 int qclass, qtype; /* class and type of query */
1306 int type, class, ancount, qdcount;
1373 type = _getshort(cp);
1374 cp += INT16SZ; /* type */
1385 type == T_CNAME) {
1404 if (!(type == T_A || type == T_AAAA)) {
1408 } else if (type != qtype) {
1409 if (type != T_KEY && type != T_SIG)
1411 "gethostby*.getanswer: asked for \"%s %s %s\", got type \"%s\"",
1413 p_type(type));
1417 switch (type) {
1426 if (type == T_A && n != INADDRSZ) {
1430 if (type == T_AAAA && n != IN6ADDRSZ) {
1434 if (type == T_AAAA) {
1452 ai.ai_family = (type == T_A) ? AF_INET : AF_INET6;
2154 int class, type;
2163 type = t->qtype;
2168 printf(";; res_nquery(%s, %d, %d)\n", name, class, type);
2171 n = res_nmkquery(res, QUERY, name, class, type, NULL, 0, NULL,
2318 * a wildcard entry of another type could keep us