Searched refs:qbuf (Results 1 – 1 of 1) sorted by relevance
/system/netd/resolv/ |
D | gethnamaddr.cpp | 799 char qbuf[MAXDNAME + 1], *qp, *ep; in dns_gethtbyaddr() local 808 (void) snprintf(qbuf, sizeof(qbuf), "%u.%u.%u.%u.in-addr.arpa", (uaddr[3] & 0xff), in dns_gethtbyaddr() 813 qp = qbuf; in dns_gethtbyaddr() 814 ep = qbuf + sizeof(qbuf) - 1; in dns_gethtbyaddr() 828 if (strlcat(qbuf, "ip6.arpa", sizeof(qbuf)) >= sizeof(qbuf)) { in dns_gethtbyaddr() 847 n = res_nquery(res, qbuf, C_IN, T_PTR, buf->buf, (int)sizeof(buf->buf), &he); in dns_gethtbyaddr() 855 hostent* hp = getanswer(buf.get(), n, qbuf, T_PTR, res, info->hp, info->buf, info->buflen, &he); in dns_gethtbyaddr()
|