summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Vater2025-08-01 10:07:09 +0200
committerSebastian Vater2025-08-01 10:07:09 +0200
commitbdcf7782f300c67eff4747206012741a1a6b80cb (patch)
tree1ea91a2f14dd4fbd490ab20f62f2b4ac2855b84d
parentFinished conversion of iSCSI header file comments to doxygen style (another m... (diff)
downloaddnbd3-bdcf7782f300c67eff4747206012741a1a6b80cb.tar.gz
dnbd3-bdcf7782f300c67eff4747206012741a1a6b80cb.tar.xz
dnbd3-bdcf7782f300c67eff4747206012741a1a6b80cb.zip
Finished conversion of iSCSI header file comments to doxygen style (just another missing one).
-rw-r--r--src/server/iscsi.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/server/iscsi.h b/src/server/iscsi.h
index 5611c48..b120533 100644
--- a/src/server/iscsi.h
+++ b/src/server/iscsi.h
@@ -1255,6 +1255,13 @@ typedef struct __attribute__((packed)) iscsi_scsi_response_packet {
/// Task management request function: TASK REASSIGN - reassigns connection allegiance for the task identified by the Initiator Task Tag field to this connection, thus resuming the iSCSI exchanges for the task.
#define ISCSI_TASK_MGMT_FUNC_REQ_FUNC_TASK_REASSIGN 0x08
+
+/**
+ * @brief iSCSI Task Management Function Request packet data.
+ *
+ * This structure is used to explicity control the execution of one
+ * or more tasks (iSCSI and SCSI).
+ */
typedef struct __attribute__((packed)) iscsi_task_mgmt_func_req_packet {
/// Always 2 according to iSCSI specification.
uint8_t opcode;
@@ -1378,8 +1385,9 @@ typedef struct __attribute__((packed)) iscsi_task_mgmt_func_req_packet {
/// Task management function response: Function rejected.
#define ISCSI_TASK_MGMT_FUNC_RESPONSE_FUNC_REJECTED 0xFF
+
/**
- * @brief iSCSI Task Management Function response packet data.
+ * @brief iSCSI Task Management Function Response packet data.
*
* For the functions ABORT TASK, ABORT TASK SET, CLEAR ACA, CLEAR TASK
* SET, LOGICAL UNIT RESET, TARGET COLD RESET, TARGET WARM RESET, and