From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: pull request: batman-adv 2011-09-08 Date: Wed, 21 Sep 2011 20:05:39 -0400 (EDT) Message-ID: <20110921.200539.1422752575190292433.davem@davemloft.net> References: <1315500051-1122-1-git-send-email-lindner_marek@yahoo.de> <20110921.152616.1053525623924985457.davem@davemloft.net> <201109220139.26897.lindner_marek@yahoo.de> Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, b.a.t.m.a.n-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r@public.gmane.org To: lindner_marek-LWAfsSFWpa4@public.gmane.org Return-path: In-Reply-To: <201109220139.26897.lindner_marek-LWAfsSFWpa4@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: b.a.t.m.a.n-bounces-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r@public.gmane.org Errors-To: b.a.t.m.a.n-bounces-ZwoEplunGu2X36UT3dwllkB+6BGkLq7r@public.gmane.org List-Id: netdev.vger.kernel.org From: Marek Lindner Date: Thu, 22 Sep 2011 01:39:26 +0200 > To ensure a smooth transition and efficient testing later, we > decided to offer a choice of routing algorithm but have not > come to a final decision on how to design this choice yet. It > either will be a compile time option, a module parameter or a > runtime switch. Any suggestions / best practice tips ? What do you mean by "algorithm"? Do you mean the implementation of the data-structure used to perform lookups? We had two data structures for our main routing table lookup implementation in ipv4, this was a mistake. We spent the next couple years maintaining two pieces of code, and finally investing lots of effort to eliminate the older code.