iPXE
Data Fields
scsi_cmd Struct Reference

A SCSI command information unit. More...

#include <scsi.h>

Data Fields

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

Detailed Description

A SCSI command information unit.

Definition at line 249 of file scsi.h.


Field Documentation

LUN.

Definition at line 251 of file scsi.h.

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

Data-out buffer (may be NULL)

Definition at line 255 of file scsi.h.

Referenced by fcpcmd_send_wrdata(), iscsi_start_command(), iscsi_tx_data_out(), scsicmd_write_cmd(), and srp_cmd().

Data-out buffer length.

Must be zero if data_out is NULL

Definition at line 260 of file scsi.h.

Referenced by fcpcmd_recv_rsp(), fcpcmd_send_cmnd(), fcpcmd_send_wrdata(), iscsi_start_command(), iscsi_tx_data_out(), scsicmd_write_cmd(), and srp_cmd().

Data-in buffer (may be NULL)

Definition at line 262 of file scsi.h.

Referenced by fcpcmd_recv_rddata(), iscsi_rx_data_in(), iscsi_start_command(), scsicmd_read_capacity_cmd(), scsicmd_read_cmd(), and srp_cmd().

Data-in buffer length.

Must be zero if data_in is NULL

Definition at line 267 of file scsi.h.

Referenced by fcpcmd_recv_rddata(), fcpcmd_recv_rsp(), fcpcmd_send_cmnd(), iscsi_rx_data_in(), iscsi_start_command(), scsicmd_read_capacity_cmd(), scsicmd_read_cmd(), and srp_cmd().


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