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

/bionic/libc/dns/net/
H A Dgetaddrinfo.c213 int qclass, qtype; /* class and type of query */ member in struct:res_target
1303 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, argument
1330 switch (qtype) {
1358 if (qtype == T_A || qtype == T_AAAA || qtype == T_ANY) {
1393 if ((qtype == T_A || qtype == T_AAAA || qtype == T_ANY) &&
1412 if (qtype
[all...]
/bionic/libc/dns/
H A Dgethnamaddr.c182 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, argument
204 switch (qtype) {
235 if (qtype == T_A || qtype == T_AAAA) {
279 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) {
311 if (qtype == T_PTR && type == T_CNAME) {
333 if (type != qtype) {
337 qname, p_class(C_IN), p_type(qtype),
455 if (res->nsort && haveanswer > 1 && qtype
[all...]

Completed in 84 milliseconds