summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorsr2012-09-02 18:49:16 +0200
committersr2012-09-02 18:49:16 +0200
commit8c0712acf701925fa36ca85a548d56a7851543c5 (patch)
treeb5f24197c09549f91c0c1d6de0ed1dc99cf96e0a /src/types.h
parent[KERNEL] Fix off-by-one error (diff)
downloaddnbd3-8c0712acf701925fa36ca85a548d56a7851543c5.tar.gz
dnbd3-8c0712acf701925fa36ca85a548d56a7851543c5.tar.xz
dnbd3-8c0712acf701925fa36ca85a548d56a7851543c5.zip
[SERVER] Add list of trusted servers and namespaces (load, display)
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/types.h b/src/types.h
index ab3a2f0..72449da 100644
--- a/src/types.h
+++ b/src/types.h
@@ -74,12 +74,13 @@ typedef struct
} dnbd3_ioctl_t;
// network
-#define CMD_GET_BLOCK 1
-#define CMD_GET_SIZE 2
-#define CMD_GET_SERVERS 3
-#define CMD_ERROR 4
-#define CMD_KEEPALIVE 5
-#define CMD_LATEST_RID 6
+#define CMD_GET_BLOCK 1
+#define CMD_GET_SIZE 2
+#define CMD_GET_SERVERS 3
+#define CMD_ERROR 4
+#define CMD_KEEPALIVE 5
+#define CMD_LATEST_RID 6
+#define CMD_SET_CLIENT_MODE 7
#pragma pack(1)
typedef struct