summaryrefslogtreecommitdiffstats
path: root/src/handshake.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/handshake.h')
-rw-r--r--src/handshake.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/handshake.h b/src/handshake.h
index 6415d5e..2fae1ad 100644
--- a/src/handshake.h
+++ b/src/handshake.h
@@ -58,6 +58,12 @@ typedef enum fastd_reply_code {
} fastd_reply_code_t;
+typedef struct __attribute__((__packed__)) fastd_handshake_packet {
+ uint8_t rsv1;
+ uint16_t rsv2;
+ uint8_t tlv_data[];
+} fastd_handshake_packet_t;
+
typedef struct fastd_handshake_record {
size_t length;
uint8_t *data;