[Olsr-dev] olsrd-0.5.4 released

Hannes Gredler (spam-protected)
Sat Oct 20 15:25:51 CEST 2007


On Sat, Oct 20, 2007 at 01:54:35PM +0200, Bernd Petrovitsch wrote:
| *eg* Hannes is hopefully around to
| answer questions on the not-so-trivial changes.
| E.g. I have one right now: If I walk through the routingtable with
| "OLSR_FOR_ALL_RT_ENTRIES()", how do I distinguish HNA-announced routes
| from OLSR-learned routes?

simple answer - you can't distinguish them in todays code this has been done on
(evil) purpose ;-) - see also change list:

| ----  snip  ----
| change list:
| - get rid of separate routing tables for HNA and per-node routes, everything is
|   now unified in an AVL routing tree (&routingtree)

what we could do is to introduce a bitfield in the flags field for
giving you and idea of the origin of a route (MID / OLSR main IP / HNA)

may i ask you why you want to make that distinction ?
why is it important to know the route origin ?

/hannes




More information about the Olsr-dev mailing list