Return-Path: Date: Wed, 8 Dec 2010 09:18:59 +0100 From: Andrew Lunn Message-ID: <20101208081859.GB11450@lunn.ch> References: <20101207221351.GA19474@Sellars> <1291761150-29818-1-git-send-email-linus.luessing@saxnet.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1291761150-29818-1-git-send-email-linus.luessing@saxnet.de> Subject: Re: [B.A.T.M.A.N.] [PATCH 01/20] batman-adv: Add packet structures for multicast optimizations Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking Cc: Linus L??ssing > +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