Home
last modified time | relevance | path

Searched refs:eom (Results 1 – 12 of 12) sorted by relevance

/resolv/
A Dns_name_ntop.c61 char *dn, *eom; in ___ns_name_ntop() local
67 eom = dst + dstsiz; in ___ns_name_ntop()
79 if (dn >= eom) in ___ns_name_ntop()
91 if (eom - dn < 2) in ___ns_name_ntop()
101 if (eom - dn < 4) in ___ns_name_ntop()
113 if (eom - dn < 2) in ___ns_name_ntop()
124 if (dn >= eom) in ___ns_name_ntop()
131 if (dn >= eom) in ___ns_name_ntop()
A Dns_name_pton.c29 unsigned char *label, *bp, *eom; in ___ns_name_pton() local
34 eom = dst + dstsiz; in ___ns_name_pton()
78 if (label >= eom) in ___ns_name_pton()
89 if (bp >= eom) in ___ns_name_pton()
111 if (bp >= eom) in ___ns_name_pton()
129 if (label >= eom) in ___ns_name_pton()
137 if (bp >= eom) in ___ns_name_pton()
A Dns_name_unpack.c27 ___ns_name_unpack (const unsigned char *msg, const unsigned char *eom, in ___ns_name_unpack() argument
39 if (srcp < msg || srcp >= eom) in ___ns_name_unpack()
59 if (n + 1 >= dstlim - dstp || n >= eom - srcp) in ___ns_name_unpack()
72 if (srcp >= eom) in ___ns_name_unpack()
81 if (target >= eom - msg) in ___ns_name_unpack()
92 if (checked >= eom - msg) in ___ns_name_unpack()
A Dns_name_skip.c25 ___ns_name_skip (const unsigned char **ptrptr, const unsigned char *eom) in ___ns_name_skip() argument
31 while (cp < eom) in ___ns_name_skip()
45 if (eom - cp < n) in ___ns_name_skip()
50 if (cp == eom) in ___ns_name_skip()
A Dns_parse.c65 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() argument
71 b = dn_skipname(ptr, eom); in ns_skiprr()
76 if (ptr + NS_INT32SZ + NS_INT16SZ > eom) in ns_skiprr()
83 if (ptr > eom) in ns_skiprr()
91 const u_char *eom = msg + msglen; in libresolv_hidden_def() local
96 handle->_eom = eom; in libresolv_hidden_def()
97 if (msg + NS_INT16SZ > eom) in libresolv_hidden_def()
100 if (msg + NS_INT16SZ > eom) in libresolv_hidden_def()
104 if (msg + NS_INT16SZ > eom) in libresolv_hidden_def()
112 int b = ns_skiprr(msg, eom, (ns_sect)i, in libresolv_hidden_def()
[all …]
A Dns_name.c52 u_char *dn, *eom; in ns_name_ntol() local
59 eom = dst + dstsiz; in ns_name_ntol()
61 if (dn >= eom) { in ns_name_ntol()
76 if (dn + l >= eom) { in ns_name_ntol()
A Dres_nameinquery.c91 const unsigned char *buf, const unsigned char *eom) in __libc_res_nameinquery() argument
101 n = __libc_dn_expand (buf, eom, cp, tname, sizeof tname); in __libc_res_nameinquery()
105 if (cp + 2 * INT16SZ > eom) in __libc_res_nameinquery()
A Ddn_skipname.c91 ___dn_skipname (const unsigned char *ptr, const unsigned char *eom) in ___dn_skipname() argument
94 if (__ns_name_skip (&ptr, eom) < 0) in ___dn_skipname()
A Dresolv-deprecated.c46 const unsigned char *buf, const unsigned char *eom) in res_nameinquery() argument
48 return __libc_res_nameinquery (name, type, class, buf, eom); in res_nameinquery()
A Dns_name_uncompress.c25 ___ns_name_uncompress (const unsigned char *msg, const unsigned char *eom, in ___ns_name_uncompress() argument
29 int n = __ns_name_unpack (msg, eom, src, tmp, sizeof tmp); in ___ns_name_uncompress()
A Ddn_expand.c95 ___dn_expand (const unsigned char *msg, const unsigned char *eom, in ___dn_expand() argument
98 int n = __ns_name_uncompress (msg, eom, src, dst, (size_t) dstsiz); in ___dn_expand()
A Dcompat-gethnamaddr.c125 if (cp > eom) { \
133 if ((ptr) + (count) > eom) { \
146 const u_char *eom, *erdata; in getanswer() local
156 eom = answer->buf + anslen; in getanswer()
182 n = __libc_dn_expand (answer->buf, eom, cp, bp, buflen); in getanswer()
212 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer()
213 n = __libc_dn_expand (answer->buf, eom, cp, bp, buflen); in getanswer()
236 n = __libc_dn_expand (answer->buf, eom, cp, in getanswer()
269 n = __libc_dn_expand (answer->buf, eom, cp, in getanswer()
307 n = __libc_dn_expand (answer->buf, eom, cp, in getanswer()

Completed in 21 milliseconds