summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorJohann Latocha2012-02-21 20:12:17 +0100
committerJohann Latocha2012-02-21 20:12:17 +0100
commitffe7b10481cf280c46feeb1e28a5712838e20221 (patch)
tree6cf18922d1ddf8a75b5959da436ed1054c8681b2 /src/types.h
parent[KERNEL] SysFS interface added (/sys/block/dnbd*/net/) (diff)
downloaddnbd3-ffe7b10481cf280c46feeb1e28a5712838e20221.tar.gz
dnbd3-ffe7b10481cf280c46feeb1e28a5712838e20221.tar.xz
dnbd3-ffe7b10481cf280c46feeb1e28a5712838e20221.zip
[ALL] Send proper rid
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index c236db9..38e05f4 100644
--- a/src/types.h
+++ b/src/types.h
@@ -61,6 +61,8 @@ typedef struct
typedef struct
{
uint16_t cmd; // 2byte
+ uint16_t vid; // 2byte
+ uint16_t rid; // 2byte
uint16_t error; // 2byte
uint64_t size; // 8byte
char handle[8]; // 8byte