Lines Matching defs:lh_req
822 iscsi_login_hdr_t *lh_req = (iscsi_login_hdr_t *)pdu->isp_hdr;
835 ict->ict_login_sm.icl_cmdsn = ntohl(lh_req->cmdsn);
836 ict->ict_login_sm.icl_tsih = ntohs(lh_req->tsid);
837 bcopy(lh_req->isid, ict->ict_login_sm.icl_isid, ISCSI_ISID_LEN);
842 ict->ict_cid = ntohs(lh_req->cid);
854 ISCSI_LOGIN_CURRENT_STAGE(lh_req->flags);
856 ISCSI_LOGIN_NEXT_STAGE(lh_req->flags);
858 lh_req->flags & ISCSI_FLAG_LOGIN_TRANSIT;
872 if (ISCSIT_MAX_VERSION >= lh_req->min_version) {
874 MIN(lh_req->max_version, ISCSIT_MAX_VERSION);
876 ASSERT(ISCSIT_MAX_VERSION <= lh_req->max_version);
882 bcopy(lh_req->isid, lh_resp->isid, ISCSI_ISID_LEN);
883 lh_resp->tsid = lh_req->tsid;
884 lh_resp->itt = lh_req->itt;