You can use the MASH object inspector to find the exact TCL object and
instance variable that you need.
http://inesc-0.tagus.ist.utl.pt/~pmsrve/ns2/ns2_with_tkcon_and_tcldebug_scre
enshot2.PNG
Then, make a proc to dump that information.
This requires my ns2 debugging utilities, which has step-by-step
installation guide
http://inesc-0.tagus.ist.utl.pt/~pmsrve/ns2/ns2_debugging2.html
http://inesc-0.tagus.ist.utl.pt/~pmsrve/ns2/ns2_debugging3.html
Pedro Vale Estrela
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of hamdi benmessaoud
> Sent: terça-feira, 7 de Março de 2006 16:36
> To: ns_users
> Subject: [ns] please urgent help :how to print routing table ?????
>
>
> Hi all, . In my simulation I must test three protocols :dsr ,dsdv
> ,aodv .
> But In a first step i will use the aodv ;
> so I want to get the values of the rooting table at the end of the
> simulation , and exactly I want to get for each node the route of each
> packet he send to reach the destination .
> After that I will compare this rout ( from the rooting table) with the
> rout gived from the trace file .
>
> I found in ns the file aodv_rtable.cc ,but I don't anderstand any
> thing in this code .?
>
> What and where(exactely in which file) type of code should I write to
> print the content of the rooting table ???
>
>
> Please help me,it's verry important
> thanx a ton in advance
> Amel
>
>
>
> ---------------------------------
> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les
> tarifs exceptionnels pour appeler la France et l'international.Téléchargez
> la version beta.