Home
last modified time | relevance | path

Searched refs:anslen (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/dns/resolv/
Dres_query.c132 int anslen) /* size of answer buffer */ in res_nquery() argument
154 n = res_nopt(statp, n, buf, sizeof(buf), anslen); in res_nquery()
164 n = res_nsend(statp, buf, n, answer, anslen); in res_nquery()
226 int anslen) /* size of answer */ in res_nsearch() argument
249 return (res_nquery(statp, cp, class, type, answer, anslen)); in res_nsearch()
259 answer, anslen); in res_nsearch()
296 answer, anslen); in res_nsearch()
352 answer, anslen); in res_nsearch()
383 int anslen) /* size of answer */ in res_nquerydomain() argument
419 return (res_nquery(statp, longname, class, type, answer, anslen)); in res_nquerydomain()
Dres_data.c203 int anslen) /* size of answer buffer */ in res_query() argument
209 return (res_nquery(&_nres, name, class, type, answer, anslen)); in res_query()
272 int anslen) /* size of answer */ in res_search() argument
279 return (res_nsearch(&_nres, name, class, type, answer, anslen)); in res_search()
287 int anslen) /* size of answer */ in res_querydomain() argument
296 answer, anslen)); in res_querydomain()
Dres_mkquery.c235 int anslen) /* UDP answer buffer size */ in res_nopt() argument
257 if (anslen > 0xffff) in res_nopt()
258 anslen = 0xffff; in res_nopt()
259 ns_put16(anslen, cp); /* CLASS = UDP payload size */ in res_nopt()
Dres_send.c368 int anslen = 0; in res_nsend() local
371 ans, anssiz, &anslen); in res_nsend()
374 return anslen; in res_nsend()
/bionic/libc/dns/net/
Dgetaddrinfo.c214 int anslen; /* size of answer buffer */ member
1310 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
1336 eom = answer->buf + anslen; in getanswer()
1933 q.anslen = sizeof(buf->buf); in _dns_getaddrinfo()
1947 q2.anslen = sizeof(buf2->buf); in _dns_getaddrinfo()
1962 q.anslen = sizeof(buf->buf); in _dns_getaddrinfo()
1969 q.anslen = sizeof(buf->buf); in _dns_getaddrinfo()
2178 int anslen; in res_queryN() local
2191 anslen = t->anslen; in res_queryN()
2202 n = res_nopt(res, n, buf, sizeof(buf), anslen); in res_queryN()
[all …]
Dgethnamaddr.c217 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
241 eom = answer->buf + anslen; in getanswer()