summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Vater2025-08-01 09:52:41 +0200
committerSebastian Vater2025-08-01 09:52:41 +0200
commitc76d26a0b4aa781f990ef006a4c8fd13fdee688a (patch)
tree5dc6db6a4e0a341cc1bd6b2a057f7cda83929444
parentFinished conversion of iSCSI header file comments to doxygen style (missing o... (diff)
downloaddnbd3-c76d26a0b4aa781f990ef006a4c8fd13fdee688a.tar.gz
dnbd3-c76d26a0b4aa781f990ef006a4c8fd13fdee688a.tar.xz
dnbd3-c76d26a0b4aa781f990ef006a4c8fd13fdee688a.zip
Finished conversion of iSCSI header file comments to doxygen style (another missing one).
-rw-r--r--src/server/iscsi.h14
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;