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

Henning Rogge (spam-protected)
Wed Jul 15 14:55:09 CEST 2009

Am Wed July 15 2009 14:42:13 schrieb sebastian sauer:
> Hi,
> Mon 13 Jul 2009 17:11, Henning Rogge wrote:
> > 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.
> what do mean with "raw linkcost"? The inverse of the ETX ?
Internally OLSr use a 32 bit unsigned integer for storing the "cost" of a link 
in the topology graph. In the case of ETX they are just a multiple of the ETX 
value, for other metrics it might be something else.

To determine which route/link is better/worse, it's enough to compare this 
unsigned integers so you don't have to worry about ETX/linkcost 


Diplom-Informatiker Henning Rogge
Forschungsgesellschaft für
Angewandte Naturwissenschaften e. V. (FGAN) 
Neuenahrer Str. 20, 53343 Wachtberg, Germany
Tel.: 0049 (0)228 9435-961
Fax: 0049 (0)228 9435-685
E-Mail: (spam-protected)
Web: www.fgan.de
Sitz der Gesellschaft: Bonn 
Registergericht: Amtsgericht Bonn VR 2530 
Vorstand: Prof. Dr. M. Tacke (komm. Vors.), Prof. Dr. J. Ender (Stellv.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20090715/9b79e581/attachment.sig>

More information about the Olsr-dev mailing list