Home
last modified time | relevance | path

Searched refs:qtype (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/dns/net/
Dgetaddrinfo.c212 int qclass, qtype; /* class and type of query */ member
1310 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
1337 switch (qtype) { in getanswer()
1366 if (qtype == T_A || qtype == T_AAAA || qtype == T_ANY) { in getanswer()
1403 if ((qtype == T_A || qtype == T_AAAA || qtype == T_ANY) && in getanswer()
1422 if (qtype == T_ANY) { in getanswer()
1427 } else if (type != qtype) { in getanswer()
1431 qname, p_class(C_IN), p_type(qtype), in getanswer()
1940 q.qtype = T_AAAA; in _dns_getaddrinfo()
1945 q2.qtype = T_A; in _dns_getaddrinfo()
[all …]
Dgethnamaddr.c216 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
241 switch (qtype) { in getanswer()
273 if (qtype == T_A || qtype == T_AAAA) { in getanswer()
313 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) { in getanswer()
342 if (qtype == T_PTR && type == T_CNAME) { in getanswer()
363 if (type != qtype) { in getanswer()
367 qname, p_class(C_IN), p_type(qtype), in getanswer()
479 if (res->nsort && haveanswer > 1 && qtype == T_A) in getanswer()