Searched refs:eom (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/dns/nameser/ |
D | ns_name.c | 107 char *dn, *eom; in ns_name_ntop() local 114 eom = dst + dstsiz; in ns_name_ntop() 123 if (dn >= eom) { in ns_name_ntop() 133 if (dn + l >= eom) { in ns_name_ntop() 145 if ((m = decode_bitstring(&cp, dn, eom)) < 0) in ns_name_ntop() 156 if (dn + 1 >= eom) { in ns_name_ntop() 163 if (dn + 3 >= eom) { in ns_name_ntop() 172 if (dn >= eom) { in ns_name_ntop() 181 if (dn >= eom) { in ns_name_ntop() 187 if (dn >= eom) { in ns_name_ntop() [all …]
|
D | ns_parse.c | 80 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() argument 86 b = dn_skipname(ptr, eom); in ns_skiprr() 91 if (ptr + NS_INT32SZ + NS_INT16SZ > eom) in ns_skiprr() 98 if (ptr > eom) in ns_skiprr() 106 const u_char *eom = msg + msglen; in ns_initparse() local 110 handle->_eom = eom; in ns_initparse() 111 if (msg + NS_INT16SZ > eom) in ns_initparse() 114 if (msg + NS_INT16SZ > eom) in ns_initparse() 118 if (msg + NS_INT16SZ > eom) in ns_initparse() 126 int b = ns_skiprr(msg, eom, (ns_sect)i, in ns_initparse() [all …]
|
/bionic/libc/dns/resolv/ |
D | res_comp.c | 104 dn_expand(const u_char *msg, const u_char *eom, const u_char *src, in dn_expand() argument 107 int n = ns_name_uncompress(msg, eom, src, dst, (size_t)dstsiz); in dn_expand() 132 dn_skipname(const u_char *ptr, const u_char *eom) { in dn_skipname() argument 135 if (ns_name_skip(&ptr, eom) == -1) in dn_skipname()
|
D | res_send.c | 289 const u_char *buf, const u_char *eom) in res_nameinquery() argument 298 n = dn_expand(buf, eom, cp, tname, sizeof tname); in res_nameinquery() 302 if (cp + 2 * INT16SZ > eom) in res_nameinquery()
|
/bionic/libc/dns/ |
D | gethnamaddr.c | 167 if (cp > eom) { \ 175 if ((ptr) + (count) > eom) { \ 188 const u_char *eom, *erdata; in getanswer() local 203 eom = answer->buf + anslen; in getanswer() 229 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() 258 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer() 259 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() 282 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer() 312 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer() 350 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 1313 const u_char *eom; in getanswer() local 1329 eom = answer->buf + anslen; in getanswer() 1352 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() 1375 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer() 1376 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer() 1395 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
|