iPXE
Data Fields
scsi_rsp Struct Reference

A SCSI response information unit. More...

#include <scsi.h>

Data Fields

uint8_t status
 SCSI status code.
ssize_t overrun
 Data overrun (or negative underrun)
struct scsi_sns_descriptor sense
 Autosense data (if any)

Detailed Description

A SCSI response information unit.

Definition at line 322 of file scsi.h.


Field Documentation

SCSI status code.

Definition at line 324 of file scsi.h.

Referenced by fcpcmd_recv_rsp(), iscsi_rx_scsi_response(), scsicmd_response(), and srp_rsp().

Data overrun (or negative underrun)

Definition at line 326 of file scsi.h.

Referenced by fcpcmd_recv_rsp(), iscsi_rx_scsi_response(), scsicmd_response(), and srp_rsp().

Autosense data (if any)

To minimise code size, this is stored as the first four bytes of a descriptor-format sense data block (even if the response code indicates fixed-format sense data).

Definition at line 333 of file scsi.h.

Referenced by fcpcmd_recv_rsp(), iscsi_rx_scsi_response(), scsicmd_response(), and srp_rsp().


The documentation for this struct was generated from the following file: