Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgetnetbydns.c118 getnetanswer(querybuf *answer, int anslen, int net_i) in getnetanswer() argument
146 eom = answer->buf + anslen; in getnetanswer()
234 int nn, anslen; in _getnetbydnsaddr() local
261 anslen = res_query(qbuf, C_IN, T_PTR, (u_char *)&buf, sizeof(buf)); in _getnetbydnsaddr()
262 if (anslen < 0) { in _getnetbydnsaddr()
269 net_entry = getnetanswer(&buf, anslen, BYADDR); in _getnetbydnsaddr()
285 int anslen; in _getnetbydnsname() local
295 anslen = res_search(qbuf, C_IN, T_PTR, (u_char *)&buf, sizeof(buf)); in _getnetbydnsname()
296 if (anslen < 0) { in _getnetbydnsname()
303 return getnetanswer(&buf, anslen, BYNAME); in _getnetbydnsname()
Dres_query.c124 int anslen /* size of answer buffer */ in res_query() argument
152 n = res_send(buf, n, answer, anslen); in res_query()
202 int anslen /* size of answer */ in res_search() argument
226 return (res_query(cp, class, type, answer, anslen)); in res_search()
234 ret = res_querydomain(name, NULL, class, type, answer, anslen); in res_search()
256 answer, anslen); in res_search()
311 ret = res_querydomain(name, NULL, class, type, answer, anslen); in res_search()
343 int anslen /* size of answer */ in res_querydomain() argument
384 return (res_query(longname, class, type, answer, anslen)); in res_querydomain()
Dgetaddrinfo.c203 int anslen; /* size of answer buffer */ member
1069 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, in getanswer() argument
1095 eom = answer->buf + anslen; in getanswer()
1336 q.anslen = sizeof(buf->buf); in _dns_getaddrinfo()
1342 q2.anslen = sizeof(buf2->buf); in _dns_getaddrinfo()
1349 q.anslen = sizeof(buf->buf); in _dns_getaddrinfo()
1356 q.anslen = sizeof(buf->buf); in _dns_getaddrinfo()
1700 int anslen; in res_queryN() local
1709 anslen = t->anslen; in res_queryN()
1719 n = res_nopt(res, n, buf, sizeof(buf), anslen); in res_queryN()
[all …]
Dgethostbydns.c198 gethostanswer(const querybuf *answer, int anslen, const char *qname, int qtype) in gethostanswer() argument
214 eom = answer->buf + anslen; in gethostanswer()
503 __dns_getanswer(const char *answer, int anslen, const char *qname, int qtype) in __dns_getanswer() argument
517 return(gethostanswer((const querybuf *)answer, anslen, qname, qtype)); in __dns_getanswer()