iPXE
Data Structures | Macros | 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...
 

Macros

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

Functions

struct scsi_cdb_read_10 __attribute__ ((packed))
 

Variables

union scsi_cdb __attribute__
 

Detailed Description

Macro Definition Documentation

◆ SCSI_CDB_FORMAT

#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.

◆ SCSI_CDB_DATA

#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]
uint8_t bytes[64]
Definition: ib_mad.h:16

printf() parameters for dumping a scsi_cdb

Definition at line 223 of file scsi.h.

Function Documentation

◆ __attribute__()

struct scsi_cdb_read_10 __attribute__ ( (packed)  )

Variable Documentation

◆ __attribute__