iPXE
Data Fields
srp_cmd Struct Reference

An SRP SCSI command. More...

#include <srp.h>

Data Fields

uint8_t type
 Information unit type.
uint8_t flags
 Flags.
uint8_t reserved0 [3]
 Reserved.
uint8_t data_buffer_formats
 Data buffer descriptor formats.
uint8_t data_out_buffer_count
 Data-out buffer descriptor count.
uint8_t data_in_buffer_count
 Data-in buffer descriptor count.
union srp_tag tag
 Tag.
uint8_t reserved1 [4]
 Reserved.
struct scsi_lun lun
 Logical unit number.
uint8_t reserved2 [1]
 Reserved.
uint8_t task_attr
 Task attribute.
uint8_t reserved3 [1]
 Reserved.
uint8_t additional_cdb_len
 Additional CDB length.
union scsi_cdb cdb
 Command data block.

Detailed Description

An SRP SCSI command.

Definition at line 414 of file srp.h.


Field Documentation

Information unit type.

This must be SRP_CMD

Definition at line 419 of file srp.h.

Referenced by srp_cmd().

Flags.

This is the bitwise OR of zero or more SRP_CMD_FLAG_XXX constants.

Definition at line 425 of file srp.h.

Reserved.

Definition at line 427 of file srp.h.

Data buffer descriptor formats.

This is the bitwise OR of one SRP_CMD_DO_FMT_XXX and one SRP_CMD_DI_FMT_XXX constant.

Definition at line 433 of file srp.h.

Referenced by srp_cmd().

Data-out buffer descriptor count.

Definition at line 435 of file srp.h.

Data-in buffer descriptor count.

Definition at line 437 of file srp.h.

Tag.

Definition at line 439 of file srp.h.

Referenced by srp_cmd().

Reserved.

Definition at line 441 of file srp.h.

Logical unit number.

Definition at line 443 of file srp.h.

Referenced by srp_cmd().

Reserved.

Definition at line 445 of file srp.h.

Task attribute.

This is a SRP_CMD_TASK_ATTR_XXX constant.

Definition at line 450 of file srp.h.

Reserved.

Definition at line 452 of file srp.h.

Additional CDB length.

Definition at line 454 of file srp.h.

Command data block.

Definition at line 456 of file srp.h.

Referenced by srp_cmd().


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