iPXE
scsi_command_type Struct Reference

A SCSI command type. More...

Data Fields

const char * name
 Name.
size_t priv_len
 Additional working space.
void(* cmd )(struct scsi_command *scsicmd, struct scsi_cmd *command)
 Construct SCSI command IU.
void(* done )(struct scsi_command *scsicmd, int rc)
 Handle SCSI command completion.

Detailed Description

A SCSI command type.

Definition at line 294 of file scsi.c.

Field Documentation

◆ name

const char* scsi_command_type::name

Name.

Definition at line 296 of file scsi.c.

Referenced by scsicmd_command().

◆ priv_len

size_t scsi_command_type::priv_len

Additional working space.

Definition at line 298 of file scsi.c.

◆ cmd

void(* scsi_command_type::cmd) (struct scsi_command *scsicmd, struct scsi_cmd *command)

Construct SCSI command IU.

Parameters
scsicmdSCSI command
commandSCSI command IU

Definition at line 305 of file scsi.c.

Referenced by scsicmd_command().

◆ done

void(* scsi_command_type::done) (struct scsi_command *scsicmd, int rc)

Handle SCSI command completion.

Parameters
scsicmdSCSI command
rcReason for completion

Definition at line 313 of file scsi.c.

Referenced by scsicmd_done().


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