summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorJohann Latocha2012-01-30 21:57:52 +0100
committerJohann Latocha2012-01-30 21:57:52 +0100
commit83c80e33b2ad1ecc37e5fb637c411fbb33371a81 (patch)
tree3c2cdb691e5febcb7340ada5d38465b3e6e56efe /src/types.h
parent[SERVER] Some refactoring (diff)
downloaddnbd3-83c80e33b2ad1ecc37e5fb637c411fbb33371a81.tar.gz
dnbd3-83c80e33b2ad1ecc37e5fb637c411fbb33371a81.tar.xz
dnbd3-83c80e33b2ad1ecc37e5fb637c411fbb33371a81.zip
[SERVER] Timeout for client sockets
[KERNEL] Send keep alive
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index 3e03d97..2d34943 100644
--- a/src/types.h
+++ b/src/types.h
@@ -34,6 +34,7 @@
// network
#define CMD_GET_BLOCK 1
#define CMD_GET_SIZE 2
+#define CMD_PING 3
#pragma pack(1)
typedef struct dnbd3_request