Home
last modified time | relevance | path

Searched refs:bhslr2 (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.sbin/ctld/
H A Ddiscovery.c83 struct iscsi_bhs_logout_response *bhslr2; in logout_new_response() local
89 bhslr2 = (struct iscsi_bhs_logout_response *)response->pdu_bhs; in logout_new_response()
90 bhslr2->bhslr_opcode = ISCSI_BHS_OPCODE_LOGOUT_RESPONSE; in logout_new_response()
91 bhslr2->bhslr_flags = 0x80; in logout_new_response()
92 bhslr2->bhslr_response = BHSLR_RESPONSE_CLOSED_SUCCESSFULLY; in logout_new_response()
93 bhslr2->bhslr_initiator_task_tag = bhslr->bhslr_initiator_task_tag; in logout_new_response()
94 bhslr2->bhslr_statsn = htonl(conn->conn_statsn++); in logout_new_response()
95 bhslr2->bhslr_expcmdsn = htonl(conn->conn_cmdsn); in logout_new_response()
96 bhslr2->bhslr_maxcmdsn = htonl(conn->conn_cmdsn); in logout_new_response()
H A Dlogin.c213 struct iscsi_bhs_login_response *bhslr2; in login_new_response() local
219 bhslr2 = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_new_response()
220 bhslr2->bhslr_opcode = ISCSI_BHS_OPCODE_LOGIN_RESPONSE; in login_new_response()
222 memcpy(bhslr2->bhslr_isid, in login_new_response()
223 bhslr->bhslr_isid, sizeof(bhslr2->bhslr_isid)); in login_new_response()
224 bhslr2->bhslr_initiator_task_tag = bhslr->bhslr_initiator_task_tag; in login_new_response()
225 bhslr2->bhslr_statsn = htonl(conn->conn_statsn++); in login_new_response()
226 bhslr2->bhslr_expcmdsn = htonl(conn->conn_cmdsn); in login_new_response()
227 bhslr2->bhslr_maxcmdsn = htonl(conn->conn_cmdsn); in login_new_response()
236 struct iscsi_bhs_login_response *bhslr2; in login_send_error() local
[all …]
/freebsd/usr.sbin/iscsid/
H A Dlogin.c775 struct iscsi_bhs_login_response *bhslr2; in login() local
845 bhslr2 = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login()
846 if ((bhslr2->bhslr_flags & BHSLR_FLAGS_TRANSIT) != 0 && in login()
/freebsd/sys/cam/ctl/
H A Dctl_frontend_iscsi.c946 struct iscsi_bhs_logout_response *bhslr2; in cfiscsi_pdu_handle_logout_request() local
962 bhslr2 = (struct iscsi_bhs_logout_response *)response->ip_bhs; in cfiscsi_pdu_handle_logout_request()
963 bhslr2->bhslr_opcode = ISCSI_BHS_OPCODE_LOGOUT_RESPONSE; in cfiscsi_pdu_handle_logout_request()
964 bhslr2->bhslr_flags = 0x80; in cfiscsi_pdu_handle_logout_request()
965 bhslr2->bhslr_response = BHSLR_RESPONSE_CLOSED_SUCCESSFULLY; in cfiscsi_pdu_handle_logout_request()
966 bhslr2->bhslr_initiator_task_tag = in cfiscsi_pdu_handle_logout_request()
981 bhslr2 = (struct iscsi_bhs_logout_response *)response->ip_bhs; in cfiscsi_pdu_handle_logout_request()
982 bhslr2->bhslr_opcode = ISCSI_BHS_OPCODE_LOGOUT_RESPONSE; in cfiscsi_pdu_handle_logout_request()
983 bhslr2->bhslr_flags = 0x80; in cfiscsi_pdu_handle_logout_request()
984 bhslr2->bhslr_response = BHSLR_RESPONSE_RECOVERY_NOT_SUPPORTED; in cfiscsi_pdu_handle_logout_request()
[all …]