diff options
Diffstat (limited to 'include/scsi/iscsi_proto.h')
-rw-r--r-- | include/scsi/iscsi_proto.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/scsi/iscsi_proto.h b/include/scsi/iscsi_proto.h index 751c81eaa7f3..6947082eee6d 100644 --- a/include/scsi/iscsi_proto.h +++ b/include/scsi/iscsi_proto.h | |||
@@ -27,7 +27,7 @@ | |||
27 | #define ISCSI_LISTEN_PORT 3260 | 27 | #define ISCSI_LISTEN_PORT 3260 |
28 | 28 | ||
29 | /* Padding word length */ | 29 | /* Padding word length */ |
30 | #define PAD_WORD_LEN 4 | 30 | #define ISCSI_PAD_LEN 4 |
31 | 31 | ||
32 | /* | 32 | /* |
33 | * useful common(control and data pathes) macro | 33 | * useful common(control and data pathes) macro |
@@ -147,6 +147,14 @@ struct iscsi_rlength_ahdr { | |||
147 | __be32 read_length; | 147 | __be32 read_length; |
148 | }; | 148 | }; |
149 | 149 | ||
150 | /* Extended CDB AHS */ | ||
151 | struct iscsi_ecdb_ahdr { | ||
152 | __be16 ahslength; /* CDB length - 15, including reserved byte */ | ||
153 | uint8_t ahstype; | ||
154 | uint8_t reserved; | ||
155 | uint8_t ecdb[260 - 16]; /* 4-byte aligned extended CDB spillover */ | ||
156 | }; | ||
157 | |||
150 | /* SCSI Response Header */ | 158 | /* SCSI Response Header */ |
151 | struct iscsi_cmd_rsp { | 159 | struct iscsi_cmd_rsp { |
152 | uint8_t opcode; | 160 | uint8_t opcode; |