[ns] AODV local repair
Hi, i'm new to ns2, i'm from brazil and im doing a research about the aodv peformance. i'm trying to change the aodv code.cc to make two changes: 1- disable the "local repair". So, when a route changes, it would be rebuilded from the source. 2- do the opposite. Change the aodv.cc to always make the "local repair" for building the route when the route changes. But i'm get no success on what i've been trying. So i'd like to ask ur help. Any suggestions? [thanks, and sorry about my english]
[ns] request for help about tracegraph
Hello, I tried to load a trace file into tracegraph, but the software reject to accept that. And I then use trace converter to modify that trace file, and tried to load again. But still the same thing happened. Can any one help me to find out why this kind of thing happen? As the tracefile is 30M large, I just attach the source file, and please set "-nn 10", the full command is "ns final5.tcl -nn 10", I use ns-2.29 to compile that. Thank you for your kind help.
[ns] how to send a message a node to another node?
I am work the ping protocol e I have that to send a specifies message a node to another node, how do I that? Ane
[ns] Retrieve C++ variable in TCL code
Hi, I am using ns 2.33 on a solaris/intel machine. In the ns2 TCL script I want to use a variable defined in C++. The variable is used for looping control as follows: while {$x < 16.0} { ... for {set y 1.0} {$y < $ns at $x "$sipalice getSize"} {set y [expr (0.5+$y)]} { ... } ... } The statement $ns at $x "$sipalice getSize" returns now some weird integerid. The command getSize is defined here: ... } else if (!strcmp(argv[1], "getSize")){ Tcl& tcl = Tcl::instance(); sprintf(tcl.buffer(),"%d",SIPSingleton::getInstance()->getSize()); tcl.result(tcl.buffer()); return(TCL_OK); } ... I think the tcl.result is overwritten by the Scheduler::command(..) function... Is it in in any way possible to return a variable to the tcl script when the scheduler is started? I know it is possible without timing (without the "$ns at x" part), but I have to use the timing otherwise statements are executed too early. Regards, Jo _ Rediscover Hotmail®: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage2_042009
[ns] make error HELP, its simple!!
-Mensaje original- De:miba...@unicauca.edu.co Fecha:18 de April de 2009 hi all, i have this problem when typing make in ns-2.26 directory: include -I/usr/local/ns-allinone-2.26/include -I/usr/include/pcap -o proxytrace.o proxytrace.cc In file included from /usr/include/stdlib.h:433, from proxytrace.cc:7: /usr/include/sys/types.h:194: declaration does not declare anything make[1]: *** [proxytrace.o] Error 1 how can i solve it ? I had changed some code and typed make before and it worked well, and now i get this error, I don't understand why please help me!!! thanks -- MENSAJE ENVIADO CON WMAIL 1.01 UNIVERSIDAD DEL CAUCA
[ns] NIST IEEE802.21 extension for ns2.33
plz send me the NIST IEEE802.21(MIH) module for ns2.33 or the link from where can i download it. thanks -- Engr. Rizwan
[ns] help needed
hello all, friends i m an postgraduate student and want to simulate admission control algorithm for IEEE 802.11e wireless technology please give suggestion for this that how can i simulate this scenario. where should i have to make changes either in .cc file or in tcl script. actually i want to use "ns-aedcf" semi package but i don't know how to install it in ns-2.31. please give suggestion as soon as possible. thanks nikhil
[ns] Measure queue length for base station
Dear All Can someone help me and tell me how to measure queue length for base station on ns2 during simulation, I have used the instructions of Smallko and I have failed, can you please help me. BR