diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/blktap/lib/blktaplib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/blktap/lib/blktaplib.h b/tools/blktap/lib/blktaplib.h index 0e2a9109b1..9d17c6152e 100644 --- a/tools/blktap/lib/blktaplib.h +++ b/tools/blktap/lib/blktaplib.h @@ -169,12 +169,14 @@ typedef struct image { unsigned int info; } image_t; +/* 16-byte message header, immediately followed by message payload. */ typedef struct msg_hdr { - uint16_t type; + uint16_t type; uint16_t len; uint16_t drivertype; uint16_t cookie; uint8_t readonly; + uint8_t pad[7]; } msg_hdr_t; typedef struct msg_newdev { |