iPXE
Data Fields
scsi_cmd Struct Reference

A SCSI command information unit. More...

#include <scsi.h>

Data Fields

struct scsi_lun lun
 LUN. More...
 
union scsi_cdb cdb
 CDB for this command. More...
 
userptr_t data_out
 Data-out buffer (may be NULL) More...
 
size_t data_out_len
 Data-out buffer length. More...
 
userptr_t data_in
 Data-in buffer (may be NULL) More...
 
size_t data_in_len
 Data-in buffer length. More...
 

Detailed Description

A SCSI command information unit.

Definition at line 249 of file scsi.h.

Field Documentation

◆ lun

struct scsi_lun scsi_cmd::lun

LUN.

Definition at line 251 of file scsi.h.

Referenced by iscsi_start_command(), and iscsi_start_data_out().

◆ cdb

union scsi_cdb scsi_cmd::cdb

CDB for this command.

Definition at line 253 of file scsi.h.

Referenced by fcpcmd_send_cmnd(), and iscsi_start_command().

◆ data_out

userptr_t scsi_cmd::data_out

Data-out buffer (may be NULL)

Definition at line 255 of file scsi.h.

Referenced by iscsi_start_command(), and iscsi_tx_data_out().

◆ data_out_len

size_t scsi_cmd::data_out_len

Data-out buffer length.

Must be zero if data_out is NULL

Definition at line 260 of file scsi.h.

Referenced by iscsi_start_command(), iscsi_tx_data_out(), and usbblk_start().

◆ data_in

userptr_t scsi_cmd::data_in

Data-in buffer (may be NULL)

Definition at line 262 of file scsi.h.

Referenced by iscsi_rx_data_in(), and iscsi_start_command().

◆ data_in_len

size_t scsi_cmd::data_in_len

Data-in buffer length.

Must be zero if data_in is NULL

Definition at line 267 of file scsi.h.

Referenced by iscsi_rx_data_in(), iscsi_start_command(), and usbblk_start().


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