summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/types.h b/src/types.h
index 2d34943..cdde4bd 100644
--- a/src/types.h
+++ b/src/types.h
@@ -39,20 +39,20 @@
#pragma pack(1)
typedef struct dnbd3_request
{
- uint16_t cmd;
- uint64_t offset;
- uint64_t size;
- char image_id[MAX_FILE_ID];
- char handle[8];
+ uint16_t cmd;
+ uint64_t offset;
+ uint64_t size;
+ char image_id[MAX_FILE_ID];
+ char handle[8];
} dnbd3_request_t;
#pragma pack(0)
#pragma pack(1)
typedef struct dnbd3_reply
{
- uint16_t cmd;
- uint64_t filesize;
- char handle[8];
+ uint16_t cmd;
+ uint64_t filesize;
+ char handle[8];
} dnbd3_reply_t;
#pragma pack(0)