[ns] How to change the packet sent at a node, add new fields to it
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 issue I would be more than greatful to you. Thank you all!!! - Ahhh...imagining that irresistible new car smell? Check outnew cars at Yahoo! Autos.
[ns] RE : How to change the packet sent at a node, add new fields to it
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 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 issue I would be more than greatful to you. Thank you all!!! - Ahhh...imagining that irresistible new car smell? Check outnew cars at Yahoo! Autos. - Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
[ns] wireless simulation about neighbor list
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 the table info. for every node ? Is there a two-dimension array to memory the info. ? Help me figure out this puzzle . Thanks a lot. Jack Y.
[ns] Problem running make command
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: error: forward declaration of 'struct Tcl' tclcl-mappings.h:57: error: invalid use of undefined type 'struct Tcl' tclcl-mappings.h:41: error: forward declaration of 'struct Tcl' make: *** [Tcl.o] Error 1 please help me thanks in advance... Manpreet Grewal
[ns] real time issue
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 work? Does NS2 take this process time into account? thanks. shan
[ns] help required for power control
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 scripts? If so I have to change the C++ code for which I am not sure where and what changes to make? Any hints will be appreciated and if someone has done please guide me. Regards, Riz
[ns] How to take input from the command line to the TCL script
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
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
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
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 etc here my_var is variable that i declared globally Is there some different way of doing this, may be i am following wrong way any help will be appreciated thanks, Anuradha Sehgal