Re: [ns] how to print routing table

2012-01-22 Thread shoaib saleem
hi there , ok what i think you should do is to follow the codes i sent you earlier . You can make necessary changes in it like i did to print the packet numbs last time . Like now i print out the follwoing line . BLACK LISTED NODE: 0t 13.t 1t 0t 255t 0t 0t 0.t 0 BLACK LISTED NODE: 0t 1

Re: [ns] how to print routing table

2012-01-21 Thread shoaib saleem
hello , your welcome. Well for all your questions i have one answer. Run a tcl script file that generates a trace file . in that file, you will have all the information as far as my knowledge is soncerned about originator of the RREQ packet. so there is no need for a counter. The node id descibes

Re: [ns] how to print routing table

2012-01-21 Thread shoaib saleem
Hello , I guess in order to black list a node in a network, you first have to declare malicious nodes in your network and ask them to perform a task ( like dropping of packets or generating and broadcasting those packets with a Frequency parameter set to a small interval of time ). So what you

[ns] how to print routing table

2012-01-21 Thread shoaib saleem
Hello Kader , i think you are asking about the routing table maintained by each node in the network topology . In order to print that routing table for any node you have to declare a function in the class AODV (aodv.h file) as a protected member function as follows . *** void rt_pr