Lines Matching refs:rq
89 kdp_exception_t *rq = (kdp_exception_t *)pkt;
91 rq->hdr.request = KDP_EXCEPTION;
92 rq->hdr.is_reply = 0;
93 rq->hdr.seq = kdp.exception_seq;
94 rq->hdr.key = 0;
95 rq->hdr.len = sizeof (*rq);
97 rq->n_exc_info = 1;
98 rq->exc_info[0].cpu = 0;
99 rq->exc_info[0].exception = exception;
100 rq->exc_info[0].code = code;
101 rq->exc_info[0].subcode = subcode;
103 rq->hdr.len += rq->n_exc_info * sizeof (kdp_exc_info_t);
105 bcopy((char *)rq, (char *)pkt, rq->hdr.len);
110 *len = rq->hdr.len;
119 kdp_exception_ack_t *rq = (kdp_exception_ack_t *)pkt;
121 if (((unsigned int) len) < sizeof (*rq))
124 if (!rq->hdr.is_reply || rq->hdr.request != KDP_EXCEPTION)
127 dprintf(("kdp_exception_ack seq %x %x\n", rq->hdr.seq, kdp.exception_seq));
129 if (rq->hdr.seq == kdp.exception_seq) {