[ns] How are routing decision made in MAODV?

2008-09-17 Thread Asraf
MAODV picks the path with least number of hop count from source to destination from its multicast tree. But is there some algorithm, Prim's or Dijkstra's that is used to calculate this? Where can I see this fact from the code? And if I want to display the (randomly selected) source -

Re: [ns] MAODV code

2008-09-18 Thread Asraf
You can find it here: http://www.sce.carleton.ca/wmc/code.html including instructions to install run it. I managed to use this patch only in ns-allinaone-2.26 running on RH 9.0 Best Wishes! 胡杰 wrote: Dear ns users, i'm studying MAODV protocol. Do you have the ns code

[ns] SplitObject error after adding a simple print function

2008-10-09 Thread Asraf
a corresponding C++ object used in TCL. Any pointers?? Or If I want to print out the routing table in AODV, how do I do it? Many Thanks, Asraf. -- View this message in context: http://www.nabble.com/SplitObject-error-after-adding-a-simple-print-function-tp19896331p19896331.html Sent from

[ns] tcl8.3.2 make failed in ns-2.26 installation. Weird error: fu000001.o:(.idata$2+0xc): undefined reference to `_libc_iname'

2007-12-15 Thread Noor Asraf
I am trying to install ns-2.26 on cygwin 1.5.25. I have patched using the files, nam-1.9.configure and ns-allinone-2.26.patch as mentioned on the ns-problems page. But my tcl8.3.2 fails with the following error: gcc -pipe tclAppInit.o -L/home/Asraf/install/ns-allinone-2.26/tcl8.3.2/unix

[ns] Path traversal in AODV

2008-02-11 Thread Noor Asraf
Routing Table in MAODV? If so, how do I access it? Or do I need to do this from the trace file itself? If someone even has done this in an unicast AODV setup, please let me know how. Thanks, Asraf

[ns] Multicast Tree in MAODV

2008-02-17 Thread Noor Asraf
Hi all, I would like to access the source to destination path based on the tree constructed via MAODV. For instance, src - node 1 - node 2 - dest. How do I traverse the multicast tree path? Is it possible? Any idea how to do this? Thank you, Asraf

[ns] Dijkstra's Implementation in NS-2

2008-03-18 Thread Noor Asraf
/ but they appear to be standalone. Anyone here tried to use this code or implmented something similiar? Thanks, Asraf

[ns] How to see the output inside #ifndef DEBUG?

2008-10-12 Thread Noor Asraf
(which one?). Enabling DEBUG, would affect the rest of the code besides providing useful messages? If anyone know about this, please share. And once editing the Makefile and compiling, what else do I need to do to see the output? Thanks, Asraf

[ns] setdest: how to avoid getting Destination Unreachables?

2008-11-14 Thread Noor Asraf
it should give the same result?? Thanks! Asraf

[ns] How to print out Multicast Group IP address in MAODV?

2008-11-21 Thread Noor Asraf
) { fprintf(outfile, %i\t, mt_dst); } But the output is only 234881024 throughout the route table entries. Is there somehtign I am missibng in printing out the output of this variable? Or if I just want to know the destination IP of the group what do I do? Thanks, Asraf

[ns] Obtaining shortest path in AODV

2008-11-23 Thread Noor Asraf
and other details. But how do I get the source to destination shortest route? This is like following the packet from source until it reaches its destination. Thanks, Asraf

[ns] Help with DEBUG statements in Aodv - sendReply() recvReply()

2008-11-30 Thread Noor Asraf
: from 6 and source: 4 .MORE OUTPUT.. Please reply, Asraf