Home
last modified time | relevance | path

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

/dragonfly/lib/libc/nameser/
H A Dns_name.c98 char *dn, *eom; in ns_name_ntop() local
105 eom = dst + dstsiz; in ns_name_ntop()
114 if (dn >= eom) { in ns_name_ntop()
163 if (dn >= eom) { in ns_name_ntop()
172 if (dn >= eom) { in ns_name_ntop()
178 if (dn >= eom) { in ns_name_ntop()
291 if (bp >= eom) { in ns_name_pton()
309 if (bp >= eom) { in ns_name_pton()
336 u_char *dn, *eom; in ns_name_ntol() local
345 if (dn >= eom) { in ns_name_ntol()
[all …]
H A Dns_parse.c75 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() argument
81 b = dn_skipname(ptr, eom); in ns_skiprr()
86 if (ptr + NS_INT32SZ + NS_INT16SZ > eom) in ns_skiprr()
93 if (ptr > eom) in ns_skiprr()
100 const u_char *eom = msg + msglen; in ns_initparse() local
105 handle->_eom = eom; in ns_initparse()
106 if (msg + NS_INT16SZ > eom) in ns_initparse()
109 if (msg + NS_INT16SZ > eom) in ns_initparse()
113 if (msg + NS_INT16SZ > eom) in ns_initparse()
121 int b = ns_skiprr(msg, eom, (ns_sect)i, in ns_initparse()
[all …]
/dragonfly/lib/libc/net/
H A Dhesiod.c355 unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP], *p, *eom, *eor; in get_txt_records() local
380 eom = abuf + n; in get_txt_records()
387 skip = dn_skipname(p, eom); in get_txt_records()
388 if (skip < 0 || p + skip + QFIXEDSZ > eom) { in get_txt_records()
405 skip = dn_skipname(p, eom); in get_txt_records()
406 if (skip < 0 || p + skip + 10 > eom) in get_txt_records()
412 if (p + len > eom) { in get_txt_records()
H A Dgethostbydns.c123 if (cp > eom) { \
131 if ((ptr) + (count) > eom) { \
144 const u_char *eom, *erdata; in gethostanswer() local
155 eom = answer->buf + anslen; in gethostanswer()
182 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in gethostanswer()
212 while (ancount-- > 0 && cp < eom && !had_error) { in gethostanswer()
213 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in gethostanswer()
239 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in gethostanswer()
269 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in gethostanswer()
307 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in gethostanswer()
H A Dgetnetbydns.c160 u_char *eom; in getnetanswer() local
180 eom = answer->buf + anslen; in getnetanswer()
195 cp += __dn_skipname(cp, eom) + QFIXEDSZ; in getnetanswer()
200 while (--ancount >= 0 && cp < eom) { in getnetanswer()
201 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getnetanswer()
213 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getnetanswer()
H A Dgetaddrinfo.c1719 const u_char *eom; in getanswer() local
1731 eom = answer->buf + anslen; in getanswer()
1754 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1777 while (ancount-- > 0 && cp < eom && !had_error) { in getanswer()
1778 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1797 n = dn_expand(answer->buf, eom, cp, tbuf, sizeof tbuf); in getanswer()
/dragonfly/lib/libc/resolv/
H A Dres_comp.c93 dn_expand(const u_char *msg, const u_char *eom, const u_char *src, in dn_expand() argument
96 int n = ns_name_uncompress(msg, eom, src, dst, (size_t)dstsiz); in dn_expand()
122 dn_skipname(const u_char *ptr, const u_char *eom) { in dn_skipname() argument
125 if (ns_name_skip(&ptr, eom) == -1) in dn_skipname()
H A Dres_send.c229 const u_char *buf, const u_char *eom) in res_nameinquery() argument
238 n = dn_expand(buf, eom, cp, tname, sizeof tname); in res_nameinquery()
242 if (cp + 2 * INT16SZ > eom) in res_nameinquery()
/dragonfly/lib/libc/gen/
H A Dgetpwent.c939 const char *p, *eom; in pwdb_match_entry_v3() local
952 for (p++; p < eom; p++) in pwdb_match_entry_v3()
966 char *p, *eom; in pwdb_parse_entry_v3() local
971 eom = &buffer[bufsize]; in pwdb_parse_entry_v3()
976 if (p >= eom) \ in pwdb_parse_entry_v3()
1009 const char *p, *eom; in pwdb_match_entry_v4() local
1022 for (p++; p < eom; p++) in pwdb_match_entry_v4()
1037 char *p, *eom; in pwdb_parse_entry_v4() local
1042 eom = &buffer[bufsize]; in pwdb_parse_entry_v4()
1047 if (p >= eom) \ in pwdb_parse_entry_v4()
[all …]
H A Dgetgrent.c770 const char *eom; in is_comment_line() local
772 eom = &s[n]; in is_comment_line()
774 for (; s < eom; s++) in is_comment_line()
777 return (*s == '#' || s == eom); in is_comment_line()
/dragonfly/sys/dev/disk/sbp/
H A Dsbp.h166 eom:1, member
174 eom:1,
H A Dsbp.c1439 if(sbp_cmd_status->eom) in sbp_scsi_status()