Lines Matching defs:msg
31 int ns_initparse(const unsigned char* msg, int msglen, ns_msg* handle) {
34 handle->_msg = msg;
35 handle->_eom = msg + msglen;
38 NS_GET16(handle->_id, msg);
39 NS_GET16(handle->_flags, msg);
41 NS_GET16(handle->_counts[i], msg);
44 handle->_sections[i] = msg;
45 r = ns_skiprr(msg, handle->_eom, i, handle->_counts[i]);
48 msg += r;
53 if (msg != handle->_eom)
157 int ns_name_uncompress(const unsigned char* msg, const unsigned char* eom, const unsigned char* src,
160 r = dn_expand(msg, eom, src, dst, dstsiz);