Re: [B.A.T.M.A.N.] [PATCH] batman-adv: move the ttl field to the third position of unicast_* packets

Marek Lindner
2011-05-27T22:35:23Z

On Saturday 28 May 2011 00:20:21 Sven Eckelmann wrote:
> > 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 :)

Yes, I suggested that because the tt patches will replace the first align with
the ttvn field.

Cheers,
Marek