<div>just look at the txtinfo,..<br></div><div><br></div><div>ipc_print_topology()</div><div><br></div><div>iterates over all tc_entries, which (i asume) is what u want,..</div><div><br></div><div>(just "ignore" then tc_edges of each tc_entry,..)</div>
<div><br></div><div>MArkus</div><div><br></div><div class="gmail_quote">On Mon, Jun 20, 2011 at 7:29 AM, Kim Hawtin <span dir="ltr"><<a href="mailto:kim@hawtin.net.au">kim@hawtin.net.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 18/06/11 02:24, Aaron Daubman wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Greetings,<br>
<br>
I've been reading through neighbor_table.c and olsrd_txtinfo.c and<br>
related source but have so far not been able to answer this question:<br>
<br>
What is the best way to print out all nodes from an OLSR network.<br>
<br>
e.g. I'm not just looking to display 1 and 2-hop neighbors, but all<br>
reachable nodes (n-hop neighbors).<br>
<br>
Is there any way to currently do this?<br>
<br>
If not, any pointers on where to start looking to see how to implement<br>
this (some way to print out a representation of the node mesh)?<br>
</blockquote>
<br></div>
Perhaps you can write something that looks at the output of the dotdraw plugin?<br>
<br>
<a href="http://wiki.the-mesh.org/wiki/DotDrawScripts" target="_blank">http://wiki.the-mesh.org/wiki/DotDrawScripts</a><br>
<a href="http://wirelessafrica.meraka.org.za/wiki/index.php/OLSR_Dot_Draw" target="_blank">http://wirelessafrica.meraka.org.za/wiki/index.php/OLSR_Dot_Draw</a><br>
<a href="ftp://ftp2.za.freebsd.org/pub/mesh/visualization/olsr-topology-view.pl" target="_blank">ftp://ftp2.za.freebsd.org/pub/mesh/visualization/olsr-topology-view.pl</a><br>
<br>
cheers,<br><font color="#888888">
<br>
Kim</font><div><div class="h5"><br>
<br>
-- <br>
Olsr-dev mailing list<br>
<a href="mailto:Olsr-dev@lists.olsr.org" target="_blank">Olsr-dev@lists.olsr.org</a><br>
<a href="https://lists.olsr.org/mailman/listinfo/olsr-dev" target="_blank">https://lists.olsr.org/mailman/listinfo/olsr-dev</a><br>
</div></div></blockquote></div><br>