On Saturday 28 May 2011 00:10:22 Antonio Quartulli wrote:
Move the ttl field to the third position of unicast_packet and unicast_frag_packet. In this way it possible to give them a better shape for later usage
Signed-off-by: Antonio Quartulli ordex@autistici.org
[..]
struct unicast_frag_packet { uint8_t packet_type; uint8_t version; /* batman version field */
- uint8_t dest[6]; uint8_t ttl;
- uint8_t align;
- uint8_t dest[6]; uint8_t flags;
- uint8_t align; uint8_t orig[6]; uint16_t seqno;
} __packed;
Wait a second - are there two "align" in a single struct. Sry, have to Nack that one :)
Kind regards, Sven