Searched refs:qtype (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/netbsd/net/ |
D | getaddrinfo.c | 209 int qclass, qtype; /* class and type of query */ member 1295 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument 1322 switch (qtype) { in getanswer() 1350 if (qtype == T_A || qtype == T_AAAA || qtype == T_ANY) { in getanswer() 1385 if ((qtype == T_A || qtype == T_AAAA || qtype == T_ANY) && in getanswer() 1404 if (qtype == T_ANY) { in getanswer() 1409 } else if (type != qtype) { in getanswer() 1413 qname, p_class(C_IN), p_type(qtype), in getanswer() 1933 q.qtype = T_AAAA; in _dns_getaddrinfo() 1938 q2.qtype = T_A; in _dns_getaddrinfo() [all …]
|
/bionic/libc/netbsd/ |
D | gethnamaddr.c | 177 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument 199 switch (qtype) { in getanswer() 230 if (qtype == T_A || qtype == T_AAAA) { in getanswer() 274 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) { in getanswer() 306 if (qtype == T_PTR && type == T_CNAME) { in getanswer() 328 if (type != qtype) { in getanswer() 332 qname, p_class(C_IN), p_type(qtype), in getanswer() 450 if (res->nsort && haveanswer > 1 && qtype == T_A) in getanswer()
|