iPXE
Data Fields
scsi_rsp Struct Reference

A SCSI response information unit. More...

#include <scsi.h>

Data Fields

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

Detailed Description

A SCSI response information unit.

Definition at line 322 of file scsi.h.

Field Documentation

◆ status

uint8_t scsi_rsp::status

SCSI status code.

Definition at line 324 of file scsi.h.

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

◆ overrun

ssize_t scsi_rsp::overrun

Data overrun (or negative underrun)

Definition at line 326 of file scsi.h.

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

◆ sense

struct scsi_sns_descriptor scsi_rsp::sense

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(), scsicmd_response(), and srp_rsp().


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