Home
last modified time | relevance | path

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

/bionic/libc/dns/net/
Dgetaddrinfo.c213 int qclass, qtype; /* class and type of query */ member
1294 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
1321 switch (qtype) { in getanswer()
1349 if (qtype == T_A || qtype == T_AAAA || qtype == T_ANY) { in getanswer()
1384 if ((qtype == T_A || qtype == T_AAAA || qtype == T_ANY) && in getanswer()
1403 if (qtype == T_ANY) { in getanswer()
1408 } else if (type != qtype) { in getanswer()
1412 qname, p_class(C_IN), p_type(qtype), in getanswer()
1917 q.qtype = T_AAAA; in _dns_getaddrinfo()
1922 q2.qtype = T_A; in _dns_getaddrinfo()
[all …]
Dgethnamaddr.c201 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
226 switch (qtype) { in getanswer()
258 if (qtype == T_A || qtype == T_AAAA) { in getanswer()
298 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) { in getanswer()
327 if (qtype == T_PTR && type == T_CNAME) { in getanswer()
348 if (type != qtype) { in getanswer()
352 qname, p_class(C_IN), p_type(qtype), in getanswer()
464 if (res->nsort && haveanswer > 1 && qtype == T_A) in getanswer()