From: Marek Lindner lindner_marek@yahoo.de 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.