SCSI command response. More...
#include <ocs_scsi.h>
SCSI command response.
This structure is used by target-servers to specify SCSI status and sense data. In this case all but the residual element are used. For initiator-clients, this structure is used by the SCSI API to convey the response data for issued commands, including the residual element.
Definition at line 91 of file ocs_scsi.h.
Data Fields | |
| uint8_t | scsi_status |
| uint16_t | scsi_status_qualifier |
| uint8_t * | response_data |
| uint32_t | response_data_length |
| uint8_t * | sense_data |
| uint32_t | sense_data_length |
| int32_t | residual |
| uint32_t | response_wire_length |
| int32_t ocs_scsi_cmd_resp_t::residual |
command residual (not used for target), positive value
indicates an underflow, negative value indicates overflow
Definition at line 98 of file ocs_scsi.h.
| uint8_t* ocs_scsi_cmd_resp_t::response_data |
pointer to response data buffer
Definition at line 94 of file ocs_scsi.h.
| uint32_t ocs_scsi_cmd_resp_t::response_data_length |
length of response data buffer (bytes)
Definition at line 95 of file ocs_scsi.h.
| uint32_t ocs_scsi_cmd_resp_t::response_wire_length |
Command response length received in wcqe
Definition at line 101 of file ocs_scsi.h.
| uint8_t ocs_scsi_cmd_resp_t::scsi_status |
SCSI status
Definition at line 92 of file ocs_scsi.h.
| uint16_t ocs_scsi_cmd_resp_t::scsi_status_qualifier |
SCSI status qualifier
Definition at line 93 of file ocs_scsi.h.
| uint8_t* ocs_scsi_cmd_resp_t::sense_data |
pointer to sense data buffer
Definition at line 96 of file ocs_scsi.h.
| uint32_t ocs_scsi_cmd_resp_t::sense_data_length |
length of sense data buffer (bytes)
Definition at line 97 of file ocs_scsi.h.