summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/types.h b/src/types.h
index f4ff98e..3e03d97 100644
--- a/src/types.h
+++ b/src/types.h
@@ -25,10 +25,11 @@
// ioctl
#define DNBD3_MAGIC 'd'
-#define IOCTL_SET_HOST _IO(0xab, 1)
-#define IOCTL_SET_PORT _IO(0xab, 2)
-#define IOCTL_SET_IMAGE _IO(0xab, 3)
-#define IOCTL_CONNECT _IO(0xab, 4)
+#define IOCTL_SET_HOST _IO(0xab, 1)
+#define IOCTL_SET_PORT _IO(0xab, 2)
+#define IOCTL_SET_IMAGE _IO(0xab, 3)
+#define IOCTL_CONNECT _IO(0xab, 4)
+#define IOCTL_DISCONNECT _IO(0xab, 5)
// network
#define CMD_GET_BLOCK 1