Home
last modified time | relevance | path

Searched refs:_eom (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_newmsg.c43 msg->_eom = buffer + bufsiz; in ns_newmsg_init()
133 n = ns_name_pack(qname, t, msg->_eom - t, in ns_newmsg_q()
138 if (t + QFIXEDSZ >= msg->_eom) { in ns_newmsg_q()
171 n = ns_name_pack(name, t, msg->_eom - t, in ns_newmsg_rr()
176 if (t + RRFIXEDSZ + rdlen >= msg->_eom) { in ns_newmsg_rr()
204 msg->_eom = msg->_msg_ptr; in ns_newmsg_done()
208 return (msg->_eom - msg->_msg); in ns_newmsg_done()
226 n = ns_name_pack(rdata, t, msg->_eom - t, in rdcpy()
231 if (ns_name_skip(&rdata, msg->_eom) < 0) in rdcpy()
235 n = ns_name_pack(rdata, t, msg->_eom - t, in rdcpy()
[all …]
H A Dns_parse.c103 handle->_eom = eom; in ns_initparse()
153 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr()
163 b = dn_expand(handle->_msg, handle->_eom, in ns_parserr()
168 if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom) in ns_parserr()
177 if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom) in ns_parserr()
181 if (handle->_msg_ptr + rr->rdlength > handle->_eom) in ns_parserr()
215 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr2()
225 b = ns_name_unpack2(handle->_msg, handle->_eom, handle->_msg_ptr, in ns_parserr2()
230 if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom) in ns_parserr2()
239 if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom) in ns_parserr2()
[all …]
/illumos-gate/usr/src/head/arpa/
H A Dnameser.h139 const uchar_t *_msg, *_eom; member
165 #define ns_msg_end(handle) ((handle)._eom + 0)
166 #define ns_msg_size(handle) ((handle)._eom - (handle)._msg)