From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Tue, 22 Nov 2011 18:20:02 +0800 References: <1321800459-15975-1-git-send-email-sven@narfation.org> In-Reply-To: <1321800459-15975-1-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201111221820.02604.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Explicitly mark the common header structure 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 On Sunday, November 20, 2011 22:47:38 Sven Eckelmann wrote: > All batman-adv packets have a common 3 byte header. It can be used to share > some code between different code paths, but it was never explicit stated > that this header has to be always the same for all packets. Therefore, new > code changes always have the problem that they may accidently introduce > regressions by moving some elements around. > > A new structure is introduced that contains the common header and makes it > easier visible that these 3 bytes have to be the same for all on-wire > packets. Applied in revision 381755. Thanks, Marek