From 430a8557d4421f41fbf834909f7598cfc64e3311 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 15 Sep 2012 03:52:08 +0200 Subject: Improve data alignment Ensure that the actual packet data is always aligned to a multiple of 8. --- src/packet.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/packet.h') diff --git a/src/packet.h b/src/packet.h index 210955d..16c37ce 100644 --- a/src/packet.h +++ b/src/packet.h @@ -30,6 +30,9 @@ #include +#define PACKET_TYPE_LEN 1 + + typedef enum _fastd_packet_type { PACKET_UNKNOWN = 0, PACKET_HANDSHAKE, -- cgit v1.2.3