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... | |
| 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 | |
Variables | |
| struct scsi_cdb_read_10 | packed |
| A SCSI "READ (10)" CDB. | |
| #define SCSI_CDB_FORMAT |
Value:
"%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x:" \ "%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x"
Definition at line 205 of file scsi.h.
Referenced by iscsi_start_command(), and scsi_command().
| #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]
Definition at line 209 of file scsi.h.
Referenced by iscsi_start_command(), and scsi_command().
A SCSI "READ (10)" CDB.
A SCSI LUN.
SCSI "READ CAPACITY (16)" parameter data.
A SCSI "READ CAPACITY (16)" CDB.
SCSI "READ CAPACITY (10)" parameter data.
A SCSI "READ CAPACITY (10)" CDB.
A SCSI "WRITE (16)" CDB.
A SCSI "WRITE (10)" CDB.
A SCSI "READ (16)" CDB.
This is a four-level LUN as specified by SAM-2, in big-endian order.
1.5.7.1