Lines Matching defs:msg
50 int ns_initparse(const unsigned char *msg, int msglen, ns_msg *handle)
54 handle->_msg = msg;
55 handle->_eom = msg + msglen;
57 NS_GET16(handle->_id, msg);
58 NS_GET16(handle->_flags, msg);
59 for (i = 0; i < ns_s_max; i++) NS_GET16(handle->_counts[i], msg);
62 handle->_sections[i] = msg;
63 r = ns_skiprr(msg, handle->_eom, i, handle->_counts[i]);
65 msg += r;
70 if (msg != handle->_eom) goto bad;
163 int ns_name_uncompress(const unsigned char *msg, const unsigned char *eom,
167 r = dn_expand(msg, eom, src, dst, dstsiz);