Lines Matching refs:pdu_hdr
223 pdu->pdu_save_iovec [0].iov_base = &pdu->pdu_hdr;
303 pdu->pdu_hdr.pduh_p.command.CmdSN = htonl(ccb->ccb_CmdSN);
350 pdu->pdu_hdr.pduh_p.command.ExpStatSN = htonl(conn->c_StatSN_buf.ExpSN);
353 pdu->pdu_hdr.pduh_HeaderDigest = gen_digest(&pdu->pdu_hdr, BHS_SIZE);
356 ntohl(pdu->pdu_hdr.pduh_p.command.CmdSN),
357 ntohl(pdu->pdu_hdr.pduh_p.command.ExpStatSN)));
488 pdu->pdu_hdr.pduh_InitiatorTaskTag = ccb->ccb_ITT;
497 ntohl(pdu->pdu_hdr.pduh_p.command.CmdSN),
574 ntohl(pdu->pdu_hdr.pduh_p.command.CmdSN),
619 hton3(dsl, pdu->pdu_hdr.pduh_DataSegmentLength);
623 pdu->pdu_io_vec[0].iov_base = &pdu->pdu_hdr;
673 pdu_header_t *hpdu = &ppdu->pdu_hdr;
720 if (rx_pdu->pdu_hdr.pduh_Flags & FLAG_TRANSIT)
721 c_phase = rx_pdu->pdu_hdr.pduh_Flags & SG_MASK;
723 c_phase = (rx_pdu->pdu_hdr.pduh_Flags >> CSG_SHIFT) & SG_MASK;
726 rx_pdu->pdu_hdr.pduh_Flags, c_phase));
732 sess->s_TSIH = ((login_isid_t *) &rx_pdu->pdu_hdr.pduh_LUN)->TSIH;
749 tx_pdu->pdu_hdr.pduh_Flags = c_phase << CSG_SHIFT;
814 pdu_header_t *hpdu = &ppdu->pdu_hdr;
825 rx_pdu->pdu_hdr.pduh_p.text_rsp.TargetTransferTag;
826 hpdu->pduh_LUN = rx_pdu->pdu_hdr.pduh_LUN;
854 (rx_pdu->pdu_hdr.pduh_Opcode & OPCODE_MASK) == IOP_Login_Request)
916 if (!(rx_pdu->pdu_hdr.pduh_Flags & FLAG_FINAL)) {
927 if (!(rx_pdu->pdu_hdr.pduh_Flags & FLAG_FINAL))
1051 hpdu = &ppdu->pdu_hdr;
1063 rx_pdu->pdu_hdr.pduh_p.nop_in.TargetTransferTag;
1064 hpdu->pduh_InitiatorTaskTag = rx_pdu->pdu_hdr.pduh_InitiatorTaskTag;
1066 hpdu->pduh_LUN = rx_pdu->pdu_hdr.pduh_LUN;
1105 hpdu = &ppdu->pdu_hdr;
1143 hpdu = &ppdu->pdu_hdr;
1149 hpdu->pduh_InitiatorTaskTag = rx_pdu->pdu_hdr.pduh_InitiatorTaskTag;
1151 hpdu->pduh_p.snack.BegRun = rx_pdu->pdu_hdr.pduh_p.data_in.DataSN;
1158 hpdu->pduh_p.snack.BegRun = rx_pdu->pdu_hdr.pduh_p.response.StatSN;
1165 rx_pdu->pdu_hdr.pduh_p.data_in.TargetTransferTag;
1175 hpdu->pduh_LUN = rx_pdu->pdu_hdr.pduh_LUN;
1259 hpdu = &ppdu->pdu_hdr;
1332 hpdu = &ppdu->pdu_hdr;
1382 offs = ntohl(rx_pdu->pdu_hdr.pduh_p.r2t.BufferOffset);
1383 totlen = ntohl(rx_pdu->pdu_hdr.pduh_p.r2t.DesiredDataTransferLength);
1405 hpdu = &tx_pdu->pdu_hdr;
1412 rx_pdu->pdu_hdr.pduh_p.r2t.TargetTransferTag;
1476 hpdu = &ppdu->pdu_hdr;