[ns] Regarding TCP-ELFN & ATCP
Hello every body, I want to know where I can find ns2 implementation of Adhoc TCP(ATCP) and TCP with ELFN(any links).Thank you
Re: [ns] Multi-interface support howto, Ramon Submission
In fact is not the enable-debug itself but -Wall in yout CCOPT CCOPT = -Wall On 2/20/07, Christos Gavos <[EMAIL PROTECTED]> wrote: > I believe you get these warnings because you have configure with > --enable-debug. If you try to reconfigure without debug support these > should go away. > > hope that helps. > > Cheers, > Christos > > > On 2/13/07, Ramon Aguero <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > Ok, I'm glad that you solved the problems related to the extension. I don't > > really know how to address these warnings or whether they are relevant (at > > least the virtual destructor one should not). > > > > Cheers, > > Ramón > > > > At 13:25 13/02/2007, Nguyen Lan wrote: > > >Hello Ramon et al, > > > > > >My problem is that I declared nIfaces, targetlist and ifqueuelist in the > > >aodv.h file but out of the class declaration. Now I can recompile ns but I > > >still had many many warnings like that > > > > > >/usr/local/ns/mulf/ns-allinone-2.27/tclcl-1.15/tracedvar.h:49: warning: > > >'class TracedVar' has virtual functions but non-virtual destructor > > >/usr/local/ns/mulf/ns-allinone-2.27/tclcl-1.15/tracedvar.h:87: warning: > > >'class TracedInt' has virtual functions but non-virtual destructor > > >/usr/local/ns/mulf/ns-allinone-2.27/tclcl-1.15/tracedvar.h:130: warning: > > >'class TracedDouble' has virtual functions but non-virtual destructor > > > > > >common/scheduler.h:71: warning: 'class Handler' has virtual functions but > > >non-virtual destructor > > >common/ip.cc: In member function 'virtual void > > >IPHeaderClass::export_offsets()': > > >common/ip.cc:53: warning: invalid access to non-static data member > > >'hdr_ip::src_' of NULL object > > >common/ip.cc:53: warning: (perhaps the 'offsetof' macro was used > > >incorrectly) > > >common/ip.cc:54: warning: invalid access to non-static data member > > >'hdr_ip::dst_' of NULL object > > >common/ip.cc:54: warning: (perhaps the 'offsetof' macro was used > > >incorrectly) > > >common/ip.cc:55: warning: invalid access to non-static data member > > >'hdr_ip::ttl_' of NULL object > > >common/ip.cc:55: warning: (perhaps the 'offsetof' macro was used > > >incorrectly) > > >common/ip.cc:56: warning: invalid access to non-static data member > > >'hdr_ip::fid_' of NULL object > > >common/ip.cc:56: warning: (perhaps the 'offsetof' macro was used > > >incorrectly) > > >common/ip.cc:57: warning: invalid access to non-static data member > > >'hdr_ip::prio_' of NULL object > > >common/ip.cc:57: warning: (perhaps the 'offsetof' macro was used > > >incorrectly) > > > > > >Any idea about this is welcome. > > > > > >Cheers, > > >Nguyen. > > > > > >Nguyen Lan wrote: > > >>Hello, > > >> > > >>I have not declared them in common/packet.h. The only place I put them in > > >>is aodv.h (as in the document). I think this problem came from other > > >>place and I should read the document carefully but now I don't know yet. > > >>Thank you very much. > > >> > > >>Cheers, > > >>Nguyen > > >> > > >>Ramon Aguero wrote: > > >>>Hello, > > >>> > > >>>Why have you declared nIfaces, targetlist and ifqueuelist in > > >>>common/packet.h? > > >>> > > >>>Cheers, > > >>>Ramón > > >>> > > >>>At 07:34 06/02/2007, Nguyen Lan wrote: > > Hi Ramon and all, > > > > After following the document when I recompile ns I got this error. > > Maybe I was wrong some where > > > > aodv/aodv.o:/usr/local/ns/mulf/ns-allinone-2.27/tclcl-1.15/tclcl.h:60: > > multiple definition of `nIfaces' > > aodv/aodv_logs.o:./common/packet.h:413: first defined here > > aodv/aodv.o:./aodv/aodv_packet.h:161: multiple definition of > > `targetlist' > > aodv/aodv_logs.o:./common/packet.h:353: first defined here > > aodv/aodv.o:aodv/aodv.cc:65: multiple definition of `ifqueuelist' > > aodv/aodv_logs.o:./common/packet.h:423: first defined here > > collect2: ld returned 1 exit status > > make: *** [ns] Error 1 > > > > Could anyone help me. > > > > Thanks > > Ramon Aguero wrote: > > >Hi Anthony, > > > > > >thanks for your feedback; I think that your proposal is perfectly fine. > > > > > >I've sent an email previously, about the same changes. I think that > > >the problem was that in the first version of the document we did not > > >highlight a couple of lines (the ones that you've modified); in the > > >original ns-mobilenode.tcl file, these two lines started with > > >$arptable_ **Note the underscore** > > > > > >In the modified procedure, however, it was $arptable **Without the > > >underscore**, which is, exactly what you propose, since the $arptable > > >variable is $arptable_($t). > > > > > >Cheers, > > >Ramón > > > > > >At 07:29 04/02/2007, Anthony Plummer wrote: > > > > > >>Ramon's submission (http://personales.unican.es/aguerocr/) of a > > >>multiple-channel extension to ns2 works well after a slight > > >>modification to the code
[ns] FHMIP in NS2.26 causes errors.. please help!
hello ns-users, i want to use fhmip extension in ns2.26 (flat mobile IP with fast handover only) so i tried to modified fhmip, which is made to be run using ns2.1b7, to run it on ns2.26 (i am using Red hat 9 linux) i did: - follow the steps mentioned in Robert Hsieh's Corner page with some changes to suite ns2.26 (i think the errors come from here) - compare .tcl files in fhmip/tcl/lib with those similar in ns2.26/tcl/lib, then new differnet lines found in '.tcl's of ns2.26 have been added to '.tcl's of fhmip - add this line to the end of 'OBJ_CC' in Makefile.in (of ns2.26): fasthandover.o \ - the rest just as mentioned in Robert Hsieh's page after './configure' and 'make', I tried to run an example (simula.tcl from fhmip file, and another from ns2.26/tcl/ex) then i got this error (same for both examples): --- ns: [code omitted because of length] : invalid command name "Agent/MAPAgent" while executing "Agent/MAPAgent instproc init { node args } { eval $self next $args if {[$node info class] != "MobileNode/MIPBS" && \ [$node info class] != "Node/Mobi..." --- because i want to use fast handover and i don't need Hierarchial Mobile IP, i blocked "Agent/MAPAgent" (in ns-mip.tcl) to get rid of that error but I got another error! ns: [code omitted because of length] : invalid command name "RecvVarifier" while executing "RecvVarifier set varify_ 0 " can anybody tell me what to do now? is there any other files need to be changed? dose anybody successfully run fhmip exetension? please i need a help, it is very URGENT! thanks in advance best regards, Shayma - New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.
[ns] Phy to MAC buffer
Hi, Where can I find / access the buffer between PHY and MAC? Is there any buffer in between MAC and PHY (upwards)? Thanks, Sasan
[ns] NS2- compile error
Hello All What can be the fix if the following is the error with cygwin environment and Ns-2.29? checking for tk.h... -I/usr/include checking for libtk8.4... -L/usr/lib -ltk84 checking for tk.tcl... /usr/share/tk8.4 checking for otcl.h... no checking for libotcl1.11... no configure: error: otcl is required but could not be completely found. Please correct the problem by telling configure where otcl is using the argument --with-otcl=/path/to/package, or the package is not required, disable it with --with-otcl=no. It would be great if someone can help me with this.Thanks in advance. -- Thanx Shaili Desai Master's Candidate Telecommunications and Management University of Maryland,College Park,USA
[ns] [ns-users] problem in sensing range
Hi all, i need to set up the range of my wireless nodes to 2000 m. I used the propagation.cc tool, with FreeSpace as propagation and 5.9e9 as frequency value, and it returnet a threshold value of 1.15361e-12 and a Pt value of 0.281838. I set up these values in my tcl script, but when a node transmit, not all nodes receive (all nodes are distant less than 2000 m from the transmitting node). In particular, only packets with power value greater than 1.630240e-11 will be received. Node farer from the source won't receive. Changing the threshold value and setting it lower doesn't affect this situation. Any ideas? Thank you very much for your attention. Bye. -- Paolo Cencioni
[ns] link state algorithm
hi link state algorithm is not available in ns-manual but it is available in ns program i am want information about this please help me hanan - Want to start your own business? Learn how on Yahoo! Small Business.
[ns] Integration of DiskSim into an NS-2 system simulator
Hi, Has anyone experience with integration of the DiskSim simulator (http://www.pdl.cmu.edu/DiskSim/) into an NS-2 based system simulator? What would be the pitfalls? Do you need to merge the timelines of the 2 simulators, or is it possible to use DiskSim as a slave of the NS-2 based system simulator? Thanks, Stijn
[ns] Accessing IFq from Agent
Hi, I'm trying to access the IFq of a node from an Agent attached to it, mainly to see how many packets are waiting at this node and to extract other info from them. I call the following: PriQueue*ifqueue; ifqueue->length(); Which results in a segmentation fault, presumably because my pointer is NULL. So, I tried the following as another way to get to it: LL *linklayer; int seqn = linklayer->seqno(); Queue *the_q; the_q = linklayer->ifq(); If I print "the_q" and "seqn" then I find they are the same for every node (I have an Agent attached to every node in the simulation). I expected the seq numbers and ifq to be different for each node. I'm using AODV and ns 2.30. The Agent is a modified copy of the Ping tutorial which works correctly (tested before trying this). I looked at: http://mailman.isi.edu/pipermail/ns-users/2003-August/034951.html but to no avail. Can anyone help?? -- Nick Johnson [EMAIL PROTECTED]
[ns] Fwd: a simple query related to trace
khushali shah <[EMAIL PROTECTED]> wrote: Date: Mon, 19 Feb 2007 09:16:03 + (GMT) From: khushali shah <[EMAIL PROTECTED]> Subject: a simple query related to trace To: ns , pedro estrela <[EMAIL PROTECTED]>, charels perkins <[EMAIL PROTECTED]>, alex hamidian <[EMAIL PROTECTED]> hi everybody. i am simulating simple script that runs aodv protocol.The trace file generated after simulation has some problem. in trace file i found drop due to RET OR CBK reason.if i have to consider before that drop 7 RTS packet or 5 RTS packet or sometimes 4 RTS packet.so only the 7 retries are considered due to link failure or 4 retries or 5 retries are also link failure.plz anyone who knows that confirmed me. khushali shah - Heres a new way to find what you're looking for - Yahoo! Answers - Heres a new way to find what you're looking for - Yahoo! Answers
[ns] how to see overhead of created pakets?
Hi all, I need to know wich and how many overhead is add at a Paket crearted by tha Source, and overhead at the receiver. any idea?? thank you - Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das neue Yahoo! Mail .
[ns] 802.11 RETRANSMISSIONS QUESTIION
Hi ALL, i use ns2.29. 1. i want to change DEFAULT number of 802.11 retransmissions. 2.how can i measure retransmissions in mac 802.11 from trace file new format? Can i do it from tcl script?How? THANKS
[ns] DIRECTED DIFFUSION QUESTION
Hi ALL, I am interested to use directed diffussion for my thesis for multipath routing. can anyone help me? some tips or guidelines? THANKS
[ns] problem with make
I am new to NS. I am running NS on cygwin on Windows XP. I was trying the 'make depend' and 'make' commands to see if they are working properly. I did not make any changes to any files after i installed NS. However, I received the errors shown below while i used the 'make' command: ucb; do ( cd $i; make all; ) done make[1]: Entering directory `/home/ns-2.29/indep-utils/cmu-scen-gen/setdest' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ns-2.29/indep-utils/cmu-scen-gen/setdest' make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/dec' g++ -c -Wall -DCPP_NAMESPACE=std -I. -I/home/tclcl-1.17 -I/home/otcl-1.11 -I/home/include -I/home/include -I/usr/include/pcap -o proxytrace2any.o proxytrace2any.cc proxytrace2any.cc: In function `int main(int, char**)': proxytrace2any.cc:112: error: `IsLittleEndian' undeclared (first use this function) proxytrace2any.cc:112: error: (Each undeclared identifier is reported only once for each function it appears in.) proxytrace2any.cc:120: error: `ToOtherEndian' undeclared (first use this function) make[1]: *** [proxytrace2any.o] Error 1 make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/dec' make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/epa' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/epa' make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/nlanr' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/nlanr' make[1]: Entering directory `/home/ns-2.29/indep-utils/webtrace-conv/ucb' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ns-2.29/indep-utils/webtrace-conv/ucb' I do not understand why this error is appearing. Can anyone help me with this? Thanks in advance.
[ns] How to count the RREQs sent by a neighbor node?
Hello all there. Can anyone tell me how I can make a node count the RREQs coming from its neighbor node? Please get me some example code in ns-2 (C++ code actually). I intended to include a variable that holds requests coming from a neigbor, but I think I should have a Two-dim array like thing to keep the neighbor Id and the RREqs that come from that node. How should I go about this? Where should I keep this variable and is there a better data structure to use for this? Please get me an answer as soon as possible. Thank you in advance Netsanet of Ethiopia Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html