Data Fields
iscsi_bhs_data_in Struct Reference

iSCSI data-in basic header segment More...

#include <iscsi.h>

Data Fields

uint8_t opcode
 Opcode. More...
uint8_t flags
 Flags. More...
uint8_t reserved_a
 Reserved. More...
uint8_t status
 SCSI status code. More...
union iscsi_segment_lengths lengths
 Segment lengths. More...
struct scsi_lun lun
 Logical Unit Number. More...
uint32_t itt
 Initiator Task Tag. More...
uint32_t ttt
 Target Transfer Tag. More...
uint32_t statsn
 Status sequence number. More...
uint32_t expcmdsn
 Expected command sequence number. More...
uint32_t maxcmdsn
 Maximum command sequence number. More...
uint32_t datasn
 Data sequence number. More...
uint32_t offset
 Buffer offset. More...
uint32_t residual_count
 Residual count. More...

Detailed Description

iSCSI data-in basic header segment

Definition at line 354 of file iscsi.h.

Field Documentation

◆ opcode

uint8_t iscsi_bhs_data_in::opcode


Definition at line 356 of file iscsi.h.

◆ flags

uint8_t iscsi_bhs_data_in::flags


Definition at line 358 of file iscsi.h.

Referenced by iscsi_rx_data_in().

◆ reserved_a

uint8_t iscsi_bhs_data_in::reserved_a


Definition at line 360 of file iscsi.h.

◆ status

uint8_t iscsi_bhs_data_in::status

SCSI status code.

Definition at line 362 of file iscsi.h.

◆ lengths

union iscsi_segment_lengths iscsi_bhs_data_in::lengths

Segment lengths.

Definition at line 364 of file iscsi.h.

◆ lun

struct scsi_lun iscsi_bhs_data_in::lun

Logical Unit Number.

Definition at line 366 of file iscsi.h.

◆ itt

uint32_t iscsi_bhs_data_in::itt

Initiator Task Tag.

Definition at line 368 of file iscsi.h.

◆ ttt

uint32_t iscsi_bhs_data_in::ttt

Target Transfer Tag.

Definition at line 370 of file iscsi.h.

◆ statsn

uint32_t iscsi_bhs_data_in::statsn

Status sequence number.

Definition at line 372 of file iscsi.h.

◆ expcmdsn

uint32_t iscsi_bhs_data_in::expcmdsn

Expected command sequence number.

Definition at line 374 of file iscsi.h.

◆ maxcmdsn

uint32_t iscsi_bhs_data_in::maxcmdsn

Maximum command sequence number.

Definition at line 376 of file iscsi.h.

◆ datasn

uint32_t iscsi_bhs_data_in::datasn

Data sequence number.

Definition at line 378 of file iscsi.h.

◆ offset

uint32_t iscsi_bhs_data_in::offset

Buffer offset.

Definition at line 380 of file iscsi.h.

Referenced by iscsi_rx_data_in().

◆ residual_count

uint32_t iscsi_bhs_data_in::residual_count

Residual count.

Definition at line 382 of file iscsi.h.

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