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

ZioPRoTo (Saverio Proto) (spam-protected)
Wed Jul 15 16:30:19 CEST 2009


> 13:42:38.975 DEBUG(plugins) src/obamp.c 421: ROUTING TO node
> 172.16.100.1 costs 131072
> 13:42:38.983 DEBUG(plugins) src/obamp.c 421: ROUTING TO node
> 172.16.100.4 costs 65536

I just noticed that I get this numbers

65536 = 1x2^16
On 1 hop with no packet loss

131072 = 2 x 2^16
On two hops with no packet loss

So to get the ETX I divide this value by 2^16 ??

Saverio




More information about the Olsr-dev mailing list