[ns] Printing node Activity

2012-01-21 Thread shoaib saleem
Hi again , ok what you can do is that the code which i wrote earlier , you can modify it a bit as follow *1. include Packet *p in the following function in aodv.h* void rt_print(nsaddr_t node_id, Packet *p); *2. In aodv.cc , in **void AODV::rt_print(nsaddr_t id, Packet* p ) * includ

[ns] getting values from trace file during execution of tcl script

2012-01-21 Thread Zubiya ..
Hi, during execution of tcl script, is there some way to get values from trace file (e.g number of sent packets) after a specific time interval (e.g.3ms)? I need to write a function to count number of sent/received packets or bytes after every 2ms. I hope many researchers are present at this plat

[ns] Acticity Table

2012-01-21 Thread shoaib saleem
-- Forwarded message -- From: shoaib saleem Date: Sat, Jan 21, 2012 at 8:09 PM Subject: Re: To: Fatima Kader Cc: ns-users@isi.edu Hello , all this information is autimatically generated in the trace file when you run your .tcl script. It gives you all the information . Node i

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

[ns] Two basic questions

2012-01-21 Thread nut cracker
Hello everyone! I have two basic questions regarding Ns2 simulations, which need more confirmation than information. I've searched Google for these, but I could not find an answer to such specific theoretical questions. The first one refers to duplex links. As I get it, the duplex links in Ns

[ns] Deadline extension | CfP: ICCGI 2012 || June 24-29, 2012 - Venice, Italy

2012-01-21 Thread Cristina Pascual
INVITATION: = Please, consider contributing to and/or forwarding to the appropriate groups the following opportunity to submit and publish original scientific results to ICCGI 2012. The submission deadline is set to February 16, 2012. In addition, authors of selected papers