[ns] How to change the packet sent at a node, add new fields to it

2007-04-15 Thread hiba alame
Hi, I want to add an additional field to the packet sent by a node and I want to do these changes at the LL layer, so where do I need to apply these changes i.e. in which files? Any sort of help is useful, this is a very urgent matter. If you can refer me to any documentation on this

[ns] RE : How to change the packet sent at a node, add new fields to it

2007-04-15 Thread siad lamri
Hi Hiba, The file : ll.cc contains the implementation of the LL layer. To apply your changes, you modify the code of the following function : sendto(Packet* p, Handler* h = 0); Best regards. hiba alame [EMAIL PROTECTED] a écrit : Hi, I want to add an additional field to the packet

[ns] wireless simulation about neighbor list

2007-04-15 Thread Jack Yang
Hi every user, I simulate the wireless environment and I want to know the node's neighbor table information. Where can I find this table information in the ns2 file ? i.e. which file define this neighbor list info ? And then there is a question I thought is how can the ns2 keep

[ns] Problem running make command

2007-04-15 Thread manpreet grewal
hi ns-users, i am able to run ./configure command in tclcl-1.012 But i couldnt run make command... The error, i got is: tclcl-mappings.h:51: error:incomplete type 'Tcl'used in nested name specifier tclcl-mappings.h:52: error: invalid use of undefined type 'struct Tcl' tclcl-mappings.h:41:

[ns] real time issue

2007-04-15 Thread Shan Gao
hi, I am trying to implement a wireless network on NS2. I have a question about real time issue. For example, each node in the network will process some data and this process may need several minutes. But each node has very limited lifetime, i.e. 1 minutes. Then, in NS2, can the node finish its

[ns] help required for power control

2007-04-15 Thread Rizwan Ahmad
Hi all, I am new to Ns-2. I am interested in implementing the simple power control scheme. i.e. RTS/CTS are transmitted at highest power and the Data/ Ack are transmitted at desired power calculated with the exchange of RTS/CTS. I have a feeling that it is not possible to do that using

[ns] How to take input from the command line to the TCL script

2007-04-15 Thread Das Santos Kumar
Dear NS users, I want to take input from the command line to the TCL script. Could any one please help how to do this? Thank you all. Regards, Santos

[ns] Packet Drop due to Collision

2007-04-15 Thread Goutham B
Hello, Can someone indicate as to how do we estimate the number of packet drops because of collisions ? Regards Goutham

[ns] need help plz reply immediately

2007-04-15 Thread Nivetha Arumugam
Dear NS users, I'm new to NS-2..I need some help. i've installed ns-2.29 in Linux Enterprise edition. what r the path informations to be present in '.bash_profile' file... TIA - Check out what you're missing if you're not on Yahoo! Messenger

[ns] adding global variables in ns2

2007-04-15 Thread Anuradha Sehgal
I am working with NS-2.31 installed in cygwin. I want to add some global variables in NS-2 or more specifically in packet.h/packet.cc files. I have tried it in packet.h, by simply adding it as we normally do in C, but it gives errors like multiple definition of my_var first defined here