Data Fields
iscsi_bhs_scsi_command Struct Reference

iSCSI SCSI command basic header segment More...

#include <iscsi.h>

Data Fields

uint8_t opcode
 Opcode. More...
uint8_t flags
 Flags. More...
uint16_t reserved_a
 Reserved. More...
union iscsi_segment_lengths lengths
 Segment lengths. More...
struct scsi_lun lun
 SCSI Logical Unit Number. More...
uint32_t itt
 Initiator Task Tag. More...
uint32_t exp_len
 Expected data transfer length. More...
uint32_t cmdsn
 Command sequence number. More...
uint32_t expstatsn
 Expected status sequence number. More...
union scsi_cdb cdb
 SCSI Command Descriptor Block (CDB) More...

Detailed Description

iSCSI SCSI command basic header segment

Definition at line 261 of file iscsi.h.

Field Documentation

◆ opcode

uint8_t iscsi_bhs_scsi_command::opcode


Definition at line 263 of file iscsi.h.

◆ flags

uint8_t iscsi_bhs_scsi_command::flags


Definition at line 265 of file iscsi.h.

◆ reserved_a

uint16_t iscsi_bhs_scsi_command::reserved_a


Definition at line 267 of file iscsi.h.

◆ lengths

union iscsi_segment_lengths iscsi_bhs_scsi_command::lengths

Segment lengths.

Definition at line 269 of file iscsi.h.

◆ lun

struct scsi_lun iscsi_bhs_scsi_command::lun

SCSI Logical Unit Number.

Definition at line 271 of file iscsi.h.

◆ itt

uint32_t iscsi_bhs_scsi_command::itt

Initiator Task Tag.

Definition at line 273 of file iscsi.h.

◆ exp_len

uint32_t iscsi_bhs_scsi_command::exp_len

Expected data transfer length.

Definition at line 275 of file iscsi.h.

◆ cmdsn

uint32_t iscsi_bhs_scsi_command::cmdsn

Command sequence number.

Definition at line 277 of file iscsi.h.

◆ expstatsn

uint32_t iscsi_bhs_scsi_command::expstatsn

Expected status sequence number.

Definition at line 279 of file iscsi.h.

◆ cdb

union scsi_cdb iscsi_bhs_scsi_command::cdb

SCSI Command Descriptor Block (CDB)

Definition at line 281 of file iscsi.h.

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