Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libresolv2/common/nameser/
H A Dns_newmsg.c47 msg->_eom = buffer + bufsiz; in ns_newmsg_init()
137 n = ns_name_pack(qname, t, msg->_eom - t, in ns_newmsg_q()
142 if (t + QFIXEDSZ >= msg->_eom) { in ns_newmsg_q()
175 n = ns_name_pack(name, t, msg->_eom - t, in ns_newmsg_rr()
180 if (t + RRFIXEDSZ + rdlen >= msg->_eom) { in ns_newmsg_rr()
208 msg->_eom = msg->_msg_ptr; in ns_newmsg_done()
212 return (msg->_eom - msg->_msg); in ns_newmsg_done()
230 n = ns_name_pack(rdata, t, msg->_eom - t, in rdcpy()
235 if (ns_name_skip(&rdata, msg->_eom) < 0) in rdcpy()
239 n = ns_name_pack(rdata, t, msg->_eom - t, in rdcpy()
[all …]
H A Dns_parse.c109 handle->_eom = eom; in ns_initparse()
159 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr()
169 b = dn_expand(handle->_msg, handle->_eom, in ns_parserr()
174 if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom) in ns_parserr()
183 if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom) in ns_parserr()
187 if (handle->_msg_ptr + rr->rdlength > handle->_eom) in ns_parserr()
221 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr2()
231 b = ns_name_unpack2(handle->_msg, handle->_eom, handle->_msg_ptr, in ns_parserr2()
236 if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom) in ns_parserr2()
245 if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom) in ns_parserr2()
[all …]
/titanic_44/usr/src/head/arpa/
H A Dnameser.h138 const uchar_t *_msg, *_eom; member
164 #define ns_msg_end(handle) ((handle)._eom + 0)
165 #define ns_msg_size(handle) ((handle)._eom - (handle)._msg)