Lines Matching defs:lh_resp
823 iscsi_login_rsp_hdr_t *lh_resp =
864 lh_resp->opcode = ISCSI_OP_LOGIN_RSP;
865 lh_resp->max_version = ISCSIT_MAX_VERSION;
873 lh_resp->active_version =
877 lh_resp->active_version = ISCSIT_MAX_VERSION;
881 lh_resp->hlength = 0; /* No AHS */
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;
895 iscsi_login_rsp_hdr_t *lh_resp = (iscsi_login_rsp_hdr_t *)pdu->isp_hdr;
903 hton24(lh_resp->dlength, pdu->isp_datalen);
909 if (lh_resp->status_class == ISCSI_STATUS_CLASS_SUCCESS) {
912 if ((lh_resp->flags & ISCSI_FLAG_LOGIN_TRANSIT) &&
913 (ISCSI_LOGIN_NEXT_STAGE(lh_resp->flags) ==
915 !(lh_resp->flags & ISCSI_FLAG_LOGIN_CONTINUE)) {
944 lh_resp->expcmdsn = htonl(ict->ict_login_sm.icl_cmdsn);
945 lh_resp->maxcmdsn = htonl(ict->ict_login_sm.icl_cmdsn + 1);
1822 iscsi_login_rsp_hdr_t *lh_resp = lsm->icl_login_resp_tmpl;
1886 if ((lh_resp->opcode == ISCSI_OP_LOGIN_RSP) && /* header valid */
1887 ((lh->min_version > lh_resp->active_version) ||
1888 (lh->max_version < lh_resp->active_version))) {