Home
last modified time | relevance | path

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

/bionic/libc/netbsd/net/
Dgetaddrinfo.c198 int qclass, qtype; /* class and type of query */ member
1098 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
1125 switch (qtype) { in getanswer()
1153 if (qtype == T_A || qtype == T_AAAA || qtype == T_ANY) { in getanswer()
1188 if ((qtype == T_A || qtype == T_AAAA || qtype == T_ANY) && in getanswer()
1207 if (qtype == T_ANY) { in getanswer()
1212 } else if (type != qtype) { in getanswer()
1216 qname, p_class(C_IN), p_type(qtype), in getanswer()
1716 q.qtype = T_AAAA; in _dns_getaddrinfo()
1721 q2.qtype = T_A; in _dns_getaddrinfo()
[all …]
/bionic/libc/netbsd/
Dgethnamaddr.c171 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
193 switch (qtype) { in getanswer()
224 if (qtype == T_A || qtype == T_AAAA) { in getanswer()
268 if ((qtype == T_A || qtype == T_AAAA) && type == T_CNAME) { in getanswer()
300 if (qtype == T_PTR && type == T_CNAME) { in getanswer()
322 if (type != qtype) { in getanswer()
326 qname, p_class(C_IN), p_type(qtype), in getanswer()
444 if (res->nsort && haveanswer > 1 && qtype == T_A) in getanswer()