batman-adv: add build check macros for packet member offset
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Thu, 25 Apr 2013 08:37:22 +0000 (10:37 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 9 Oct 2013 19:22:33 +0000 (21:22 +0200)
commit80067c8320aebab6d740e07be6ecf3dd04787f60
treec2d81ee3d135fe6335d7ff765e85a4bb31128bcc
parent9f4980e68b4b72e6a4d7caadfacc54260d05ebf6
batman-adv: add build check macros for packet member offset

Since we removed the __packed from most of the packets, we should
make sure that the offset generated by the compiler are correct for
sent/received data.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/main.c