[olsr-dev] Policy Routing Hack

Erik Tromp (spam-protected)
Wed Apr 25 17:05:21 CEST 2007


> @eric: stubled across some routing stuff in olsr-bmf which uses the (old)
> ioctl iface while hacking the (new) rtnetlink iface. Something special not
> covered by the OS-dependent routing stuff under src/[your os]/?
>

BMF uses ioctl to add a single route to 224.0.0.0 (all multicast addresses) via
the "bmf0" interface to the kernel routing table.

What do you mean exactly with your question "Something special not covered. .
?" If you're suggesting that BMF should use the olsr_ioctl_add_route function,
I'm not sure if that is possible: the 'struct rt_entry *destination' parameter
of that function seems to need a lot more information than BMF can supply.









More information about the Olsr-dev mailing list