Lines Matching defs:msg
384 * Check if the rest of the msg packet is big enough for the
597 asn_parse_objid(uchar_t *msg, size_t *varsz_p, void *oidp, size_t *n_subids)
611 if (msg[0] != exp_id)
617 if ((p = asn_parse_length(msg + 1, &asnobj_len)) == NULL)
623 hdrlen = p - msg;
675 return (msg + hdrlen + asnobj_len);
682 asn_parse_objval(uchar_t *msg, size_t *varsz_p, void *varlistp)
689 vp->type = msg[0] & ASN_EXT_TAG;
697 switch (msg[0]) {
703 if ((p = asn_parse_int(msg, varsz_p, vp->val.iptr)) == NULL) {
716 if ((p = asn_parse_uint(msg, varsz_p, vp->val.uiptr)) == NULL) {
721 vp->type = msg[0];
726 p = asn_parse_string(msg, varsz_p, &vp->val.str, &vp->val_len);
732 p = asn_parse_objid(msg, varsz_p, &vp->val.objid, &n_subids);
743 p = asn_parse_length(msg + 1, &asnobj_len);
747 hdrlen = p - msg;
751 vp->type = msg[0];