diff options
| -rw-r--r-- | src/server/iscsi.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/server/iscsi.h b/src/server/iscsi.h index 8fc3ec4..5611c48 100644 --- a/src/server/iscsi.h +++ b/src/server/iscsi.h @@ -5027,16 +5027,22 @@ typedef struct __attribute__((packed)) iscsi_snack_req_packet { /** * @brief iSCSI Reject reason packet data: Deprecated; MUST NOT be used. * - * Reason code 0x0B is deprecated - * and MUST NOT be used by implementations. An implementation - * receiving reason code 0x0B MUST treat it as a negotiation - * failure that terminates the Login Phase and the TCP connection. + * Reason code 0x0B is deprecated and MUST NOT be used by + * implementations. An implementation receiving reason code + * 0x0B MUST treat it as a negotiation failure that terminates + * the Login Phase and the TCP connection. */ #define ISCSI_REJECT_REASON_DEPRECATED 0x0B /// iSCSI Reject reason packet data: Waiting for Logout, original PDU can't be resent. #define ISCSI_REJECT_REASON_WAITING_FOR_LOGOUT 0x0C +/** + * @brief iSCSI Reject packet data. + * + * This structure will be received or sent, if an iSCSI + * packet was rejected or has been rejected for some reason. + */ typedef struct __attribute__((packed)) iscsi_reject_packet { /// Always 0x3F according to iSCSI specification. uint8_t opcode; |
