Go to the documentation of this file. 1 #ifndef ISCSI_SEQ_AND_PDU_LIST_H
2 #define ISCSI_SEQ_AND_PDU_LIST_H
5 #define DATAOUT_PDU_SENT 1
8 #define SEQTYPE_IMMEDIATE 1
9 #define SEQTYPE_UNSOLICITED 2
10 #define SEQTYPE_NORMAL 3
13 #define DATAOUT_SEQUENCE_GOT_R2T 1
14 #define DATAOUT_SEQUENCE_WITHIN_COMMAND_RECOVERY 2
15 #define DATAOUT_SEQUENCE_COMPLETE 3
18 #define PDULIST_NORMAL 1
19 #define PDULIST_IMMEDIATE 2
20 #define PDULIST_UNSOLICITED 3
21 #define PDULIST_IMMEDIATE_AND_UNSOLICITED 4
24 #define PDUTYPE_IMMEDIATE 1
25 #define PDUTYPE_UNSOLICITED 2
26 #define PDUTYPE_NORMAL 3
29 #define ISCSI_PDU_NOT_RECEIVED 0
30 #define ISCSI_PDU_RECEIVED_OK 1
31 #define ISCSI_PDU_CRC_FAILED 2
32 #define ISCSI_PDU_TIMED_OUT 3
35 #define RANDOM_DATAIN_PDU_OFFSETS 0x01
36 #define RANDOM_DATAIN_SEQ_OFFSETS 0x02
37 #define RANDOM_DATAOUT_PDU_OFFSETS 0x04
38 #define RANDOM_R2T_OFFSETS 0x08
41 #define ISCSI_PDU_READ 0x01
42 #define ISCSI_PDU_WRITE 0x02