[ns] distCST_ and the antenna's gain

2007-07-06 Thread Tiago Junqueira
Hi, About the problem I had, it was just a question of having the antennas gain in the variable distCST_, to to it I just made: First the changes: In the file wireless-phy.h, add the last two lines described bellow : /* -NEW- */ inline double getAntennaZ()

[ns] How to obtain location information at network layer?

2007-07-06 Thread Bo Fu
Hi there, My study is interested in utilizing location information for routing. Now, I am trying to obtain location information at routing layer in NS-2. Does anybody have any idea of how to implement this? Any comment will be appreciated. Thanks, Danny

[ns] Priority Queueing

2007-07-06 Thread Banu Sundar
Hi users, Iam trying to run my simulations with RED algorithm.Iam to set priorities to the packets from each source.I want give one kind of packet high priority and another kind of packet low priority, thus when queue size reaches the queue limit, low priority packet is dropped but high

[ns] ns 2.31 allinone compilation erros with Linux ES4UR AMD64

2007-07-06 Thread karthik narayanan venkataraman
I am a newbie to ns-2 and I am trying to install the ns 2.31 allinone pkg on Linux ES 4U4 AMD64. I am running into compilation errors when I invoke the'install' script. Also, what 64-bit packages should I install and what difications should I make to the makefiles to get it building and

[ns] building ns-2 on linux ES4 U4 x86_64

2007-07-06 Thread karthik narayanan venkataraman
I am trying to install ns 2.31 on a Red Hat Linux ES4U4 AMD64 system and I am running into the install fails while configuring Nam. The following is the error that I am getting: checking for zlib.h... -I/usr/includechecking for libz1.1.4... nochecking for X11 header fileschecking for X11

[ns] C++ pointer to TCL objects

2007-07-06 Thread Boris Schaefer
Hello, I wonder how to get a C++ pointer to objects created in TCL. The reason is that I need to access a function in my application from a tap method in aodv.cc. I can figure out the node which the application is placed on. However, unfortunately I did not find a way to get a reference to the