Lines Matching defs:rd
152 kdp_pkt_t *rd = (kdp_pkt_t *)&aligned_pkt;
158 bcopy((char *)pkt, (char *)rd, sizeof(aligned_pkt));
160 rd = (kdp_pkt_t *)pkt;
162 if (plen < sizeof (rd->hdr) || rd->hdr.len != plen) {
163 printf("kdp_packet bad len pkt %lu hdr %d\n", plen, rd->hdr.len);
168 if (rd->hdr.is_reply) {
170 rd->hdr.request, rd->hdr.seq);
175 req = rd->hdr.request;
178 rd->hdr.request, rd->hdr.len, rd->hdr.seq, rd->hdr.key);
183 ret = ((*dispatch_table[req - KDP_CONNECT])(rd, len, reply_port));
185 bcopy((char *)rd, (char *) pkt, *len);
197 kdp_pkt_t *rd = (kdp_pkt_t *)pkt;
200 rd->hdr.request, rd->hdr.len, rd->hdr.seq, rd->hdr.key);