On Wed, Nov 19, 2008 at 08:22:09PM +0100, <Matteo>:
~> You say: "quality of the link A<-->B changed, so it's time to rediscover new
~> optimal routes ... ETP send..." ok I undestand it, but I can't undestand how
~> you discover that the wireless link from A to B is changed in quality.....
~> (Maybe you launch an ETP packet every X time?)

Nope, we use the Radar.

If I recall correctly the Radar isn't described in details in any .pdf. However
it is very simple:

  The radar sends in broadcast a bouquet of BQUET_NUM packets and waits
  for the reply of the alive nodes. It then recollects the replies and builds
  a small statistic.
  By watching the previous statistics, it can deduces if a change occurred or
  not. If it is, one of the following events is fired:
         'NEIGH_NEW', 'NEIGH_DELETED', 'NEIGH_REM_CHGED'
  In this way, the other modules of pyntk will be noticed.
 
  A radar is fired periodically by Radar.run(), which is started as a
  microthread.
 
  Note: the current statistic is based on the RTT (Round Trip Time) 
  of the packets. However, more refined way can be used and shall be
  implemented. See NTK_RFC 0002  http://lab.dyne.org/Ntk_bandwidth_measurement
 

-- 
:wq!
"I don't know nothing" The One Who reached the Thinking Matter   '.'

[ Alpt --- Freaknet Medialab ]
[ GPG Key ID 441CF0EE ]
[ Key fingerprint = 8B02 26E8 831A 7BB9 81A9  5277 BFF8 037E 441C F0EE ]
_______________________________________________
Netsukuku mailing list
[email protected]
http://lists.dyne.org/mailman/listinfo/netsukuku

Reply via email to