Home
last modified time | relevance | path

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

/bionic/libc/netbsd/net/
Dgetaddrinfo.c206 int qclass, qtype; /* class and type of query */ member
1298 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
1325 switch (qtype) { in getanswer()
1353 if (qtype == T_A || qtype == T_AAAA || qtype == T_ANY) { in getanswer()
1388 if ((qtype == T_A || qtype == T_AAAA || qtype == T_ANY) && in getanswer()
1407 if (qtype == T_ANY) { in getanswer()
1412 } else if (type != qtype) { in getanswer()
1416 qname, p_class(C_IN), p_type(qtype), in getanswer()
1923 q.qtype = T_AAAA; in _dns_getaddrinfo()
1928 q2.qtype = T_A; in _dns_getaddrinfo()
[all …]
/bionic/libc/netbsd/
Dgethnamaddr.c172 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
194 switch (qtype) { in getanswer()
225 if (qtype == T_A || qtype == T_AAAA) { in getanswer()
269 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) { in getanswer()
301 if (qtype == T_PTR && type == T_CNAME) { in getanswer()
323 if (type != qtype) { in getanswer()
327 qname, p_class(C_IN), p_type(qtype), in getanswer()
445 if (res->nsort && haveanswer > 1 && qtype == T_A) in getanswer()