[Olsr-dev] getting the etx value to a destination

Henning Rogge (spam-protected)
Mon Jul 13 17:11:52 CEST 2009

Am Montag 13 Juli 2009 15:41:47 schrieb ZioPRoTo (Saverio Proto):
> Hello,
> working at the OBAMP plugin I arrived at the following problem:
> When I receive a OBAMP message from a OBAMP node, I need to know the
> distance, in terms of ETX from me to that node.
> I know the IP address (from the header of the OLSR message I receive)
> of the other node.
> What function I can use to query the OLSR internal database and find
> the ETX to a given destination ?
> What is the header file I have to look into to find the correct function ?
For olsrd 0.5.6 the txtinfo is the best way to do this.

For olsrd tiptip (the development branch which will become the next stable 
one) we could implement a special "ask for linkcost value" command. ETX is a 
floating point value, so working with raw linkcost might be a good idea.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20090713/f7322929/attachment.sig>

More information about the Olsr-dev mailing list