Data Fields
srp_cmd Struct Reference

An SRP SCSI command. More...

#include <srp.h>

Data Fields

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

Detailed Description

An SRP SCSI command.

Definition at line 414 of file srp.h.

Field Documentation

◆ type

uint8_t srp_cmd::type

Information unit type.

This must be SRP_CMD

Definition at line 419 of file srp.h.

◆ flags

uint8_t 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.

◆ reserved0

uint8_t srp_cmd::reserved0[3]


Definition at line 427 of file srp.h.

◆ data_buffer_formats

uint8_t srp_cmd::data_buffer_formats

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.

◆ data_out_buffer_count

uint8_t srp_cmd::data_out_buffer_count

Data-out buffer descriptor count.

Definition at line 435 of file srp.h.

◆ data_in_buffer_count

uint8_t srp_cmd::data_in_buffer_count

Data-in buffer descriptor count.

Definition at line 437 of file srp.h.

◆ tag

union srp_tag srp_cmd::tag


Definition at line 439 of file srp.h.

◆ reserved1

uint8_t srp_cmd::reserved1[4]


Definition at line 441 of file srp.h.

◆ lun

struct scsi_lun srp_cmd::lun

Logical unit number.

Definition at line 443 of file srp.h.

◆ reserved2

uint8_t srp_cmd::reserved2[1]


Definition at line 445 of file srp.h.

◆ task_attr

uint8_t srp_cmd::task_attr

Task attribute.

This is a SRP_CMD_TASK_ATTR_XXX constant.

Definition at line 450 of file srp.h.

◆ reserved3

uint8_t srp_cmd::reserved3[1]


Definition at line 452 of file srp.h.

◆ additional_cdb_len

uint8_t srp_cmd::additional_cdb_len

Additional CDB length.

Definition at line 454 of file srp.h.

◆ cdb

union scsi_cdb srp_cmd::cdb

Command data block.

Definition at line 456 of file srp.h.

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