On Friday 12 November 2010 20:20:21 Mitar wrote: > Hi! > > On Fri, Nov 12, 2010 at 6:29 PM, Juliusz Chroboczek > > <[email protected]> wrote: > > There are two issues. First, kernel_route sometimes returns EINVAL and > > fails to install a route. According to Grégoire Henry (the original > > author of the BSD port), this is due to attempting to install routes > > with no gateway to a node that does not belong to the local prefix. > > Under Linux, I work around that by using the onlink flag; is there > > anything similar under BSD? > > Oh, Mac OS X and routing. We just had last week a discussion about > that on OLSR mailing list. ;-) > > I think we all need an expert here. > > I had an idea once, that all (open source) routing protocols could > share OS-dependent code for manipulation of routes. Because this is > really something all protocols share and everybody is reinventing. I like this idea...
We just have to think about a good API interface between the routing code and the os-dependent parts. I have done lot's of refactoring in the OLSRd master branch for the OS-dependent API interface, and I would be happy to do more of it to get to a common codebase. @Julius: OLSRd contains code to set BSD IPv4 routes, but it seems to have problems too. Joining forces for this code parts seem to be a good idea. Henning -- 1) You can't win. 2) You can't break even. 3) You can't leave the game. — The Laws of Thermodynamics, summarized
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Babel-users mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/babel-users

