+struct mcast_packet {
- uint8_t packet_type; /* BAT_MCAST */
- uint8_t version; /* batman version field */
- uint8_t orig[6];
- uint8_t ttl;
- uint32_t seqno;
+} __attribute__((packed));
It would be better to put seqno before ttl, so that it is 32bit aligned.
Andrew