Lines Matching defs:hdr
832 kdp_hdr_t aligned_hdr, *hdr = &aligned_hdr;
841 bcopy((char *)&pkt.data[pkt.off], (char *)hdr, sizeof(*hdr));
843 hdr = (kdp_hdr_t *)&pkt.data[pkt.off];
847 if (hdr->is_reply) {
851 if (hdr->request == KDP_REATTACH)
852 exception_seq = hdr->seq;
855 if (hdr->seq == (exception_seq - 1)) {
860 } else if (hdr->seq != exception_seq) {
862 hdr->seq, exception_seq);
938 kdp_hdr_t aligned_hdr, *hdr = &aligned_hdr;
966 bcopy((char *)&pkt.data[pkt.off], (char *)hdr, sizeof(*hdr));
968 hdr = (kdp_hdr_t *)&pkt.data[pkt.off];
970 if (hdr->request == KDP_HOSTREBOOT) {
974 if (((hdr->request == KDP_CONNECT) || (hdr->request == KDP_REATTACH)) &&
975 !hdr->is_reply && (hdr->seq == exception_seq)) {
980 if (hdr->request == KDP_REATTACH) {
982 hdr->request=KDP_DISCONNECT;