[Olsr-users] function to specify the neighbor of node

Henning Rogge (spam-protected)
Tue Feb 23 18:19:28 CET 2010


Am Dienstag 23 Februar 2010 17:54:49 schrieb Nguyen Long:
> Hello,
> 
> Could anybody please tell me:
> In OLSR, which function
> to specify that node i  is the neighbor of node j ? and which function
> to specify neighbor of node i?
This is a little bit more complicated than you think. OLSRd has several 
internal databases containing information about it's neighbors and topology 
information about the rest of the network (see RFC 3626 for more information).

link_set.c, neighbor_table.c and two_hop_neighbor_table.c contain the 
information about the local nodes neighbors (and the 2-hop neighbors).

tc_set.c contains the topology information received from other nodes, it's 
used to create the complete graph of the network.

All there databases are directly updated from received OLSR packages. You can 
theoretically set/delete data on your own, but the next Hello/TC might 
overwrite your changes.

Henning Rogge
-------------- 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-users/attachments/20100223/d4e624e7/attachment.sig>


More information about the Olsr-users mailing list