[Olsr-dev] Looking to print out all nodes in OLSR network

Markus Kittenberger (spam-protected)
Mon Jun 20 08:32:48 CEST 2011


just look at the txtinfo,..

ipc_print_topology()

iterates over all tc_entries, which (i asume) is what u want,..

(just "ignore" then tc_edges of each tc_entry,..)

MArkus

On Mon, Jun 20, 2011 at 7:29 AM, Kim Hawtin <(spam-protected)> wrote:

> On 18/06/11 02:24, Aaron Daubman wrote:
>
>> Greetings,
>>
>> I've been reading through neighbor_table.c and olsrd_txtinfo.c and
>> related source but have so far not been able to answer this question:
>>
>> What is the best way to print out all nodes from an OLSR network.
>>
>> e.g. I'm not just looking to display 1 and 2-hop neighbors, but all
>> reachable nodes (n-hop neighbors).
>>
>> Is there any way to currently do this?
>>
>> If not, any pointers on where to start looking to see how to implement
>> this (some way to print out a representation of the node mesh)?
>>
>
> Perhaps you can write something that looks at the output of the dotdraw
> plugin?
>
>  http://wiki.the-mesh.org/wiki/DotDrawScripts
>  http://wirelessafrica.meraka.org.za/wiki/index.php/OLSR_Dot_Draw
>  ftp://ftp2.za.freebsd.org/pub/mesh/visualization/olsr-topology-view.pl
>
> cheers,
>
> Kim
>
>
> --
> Olsr-dev mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20110620/100c69fc/attachment.html>


More information about the Olsr-dev mailing list