iPXE
Data Structures | Defines | Functions | Variables
SCSI command data blocks

Data Structures

struct  scsi_cdb_read_10
 A SCSI "READ (10)" CDB. More...
struct  scsi_cdb_read_16
 A SCSI "READ (16)" CDB. More...
struct  scsi_cdb_write_10
 A SCSI "WRITE (10)" CDB. More...
struct  scsi_cdb_write_16
 A SCSI "WRITE (16)" CDB. More...
struct  scsi_cdb_read_capacity_10
 A SCSI "READ CAPACITY (10)" CDB. More...
struct  scsi_capacity_10
 SCSI "READ CAPACITY (10)" parameter data. More...
struct  scsi_cdb_read_capacity_16
 A SCSI "READ CAPACITY (16)" CDB. More...
struct  scsi_capacity_16
 SCSI "READ CAPACITY (16)" parameter data. More...
struct  scsi_cdb_test_unit_ready
 A SCSI "TEST UNIT READY" CDB. More...
union  scsi_cdb
 A SCSI Command Data Block. More...

Defines

#define SCSI_CDB_FORMAT
 printf() format for dumping a scsi_cdb
#define SCSI_CDB_DATA(cdb)
 printf() parameters for dumping a scsi_cdb

Functions

struct scsi_cdb_read_10 __attribute__ ((packed))

Variables

union scsi_cdb __attribute__

Define Documentation

#define SCSI_CDB_FORMAT
Value:
"%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x:" \
                        "%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x"

printf() format for dumping a scsi_cdb

Definition at line 219 of file scsi.h.

Referenced by fcpcmd_send_cmnd(), iscsi_start_command(), scsicmd_command(), and srp_cmd().

#define SCSI_CDB_DATA (   cdb)
Value:
(cdb).bytes[0], (cdb).bytes[1], (cdb).bytes[2], (cdb).bytes[3],   \
        (cdb).bytes[4], (cdb).bytes[5], (cdb).bytes[6], (cdb).bytes[7],   \
        (cdb).bytes[8], (cdb).bytes[9], (cdb).bytes[10], (cdb).bytes[11], \
        (cdb).bytes[12], (cdb).bytes[13], (cdb).bytes[14], (cdb).bytes[15]

printf() parameters for dumping a scsi_cdb

Definition at line 223 of file scsi.h.

Referenced by fcpcmd_send_cmnd(), iscsi_start_command(), scsicmd_command(), and srp_cmd().


Function Documentation

struct scsi_cdb_read_10 __attribute__ ( (packed)  )

Variable Documentation