[ns] Transport function and simulation

2009-04-29 Thread Atif
Dear All! I am new to NS-2 though successfully installed the NS-2 but I have to know 1. I need to implement my own transport function instead of TCP and UDP and for that I have already developed a prototype algorithm.  I need to code in C++? and also how I should incarporate in the simulation?

[ns] Integration of cipher algorithms like RSA, AES

2009-04-29 Thread Thor Catarius
Hi, I want to add encrypt/decrypt functionalities to my protocol. How can I use RSA, AES/DES in ns2? Do I have to write the ciphers myself or can I somehow import them? As far as I know C++ has no such functions in the standard API. Any advice is much appreciated. Best regards

[ns] help needed

2009-04-29 Thread Nikheel Kumar
hello all, i am working on ns-2.31. i make some changes in 802_11.cc files and save it as my_802_11.cc now i want to use this file with 802_11.cc in my wireless simulation for comparing it with the 802_11.cc file. how can i do this? please help me regards,

[ns] AODMV problem

2009-04-29 Thread dinesh nagare
Hi all, I am using AOMDV. I have plotted graph for different performance metrics(such as packet delivery ,end-end delay,normalised routing load and route discovery frequency). I have less pdr and more nrl for AOMDV. But expected is more pdr and less nrl for AOMDV than aodv. can anybody tell me

[ns] help needed

2009-04-29 Thread Nikheel Kumar
hello all, i am working on ns-2.31. i make some changes in 802_11.cc file and save it as my_802_11.cc and i want to use this both file (802_11.cc my_802_11.cc) in my wireless simulation for comparing with each other for knowing throughput enhancement . how can i do this? please help me

Re: [ns] help needed

2009-04-29 Thread anas
firstly, you will name your file as the same name of the original one, ofcours you will save the original with different name, and do make take your statistics and then go back and rename yours and rename the original one to the original name and do make and take your statistics and so on,

[ns] OLSR's example .tcl file is needed

2009-04-29 Thread Bringo Shawn
Hi I did not find the OLSR patch file for NS-2.32, so I manually mad the changes. Now I want to check if OLSR is successfully configured or not. So please provide me with some example .tcl files. Regards

[ns] the values: Agent/MIHUser/IFMNGMT/MIPV6/Handover/Handover1 set case_

2009-04-29 Thread Mariem Thaalbi
Hello all, i want to know the different values and their signification that i can assign to this instruction Agent/MIHUser/IFMNGMT/MIPV6/Handover/Handover1 set case_ thanks,

[ns] transmission power change for one node only

2009-04-29 Thread Arslan Munir
Hi all, Does any body know how to change the transmission power Pt_ for only one node? For all the nodes, we can set it using set Pt_ desiredvalue. Please let me know if any body knows how to do it for only single node. Thanks! Regards, Arslan

[ns] How to get the MAC ACK packets from within a routing protocol?

2009-04-29 Thread realoneone
Hi there, I want to be aware of the MAC ACK in my own routing protocol, do you have any idea? In the recv() function of my protocol, I tried to test the ptype filed in the common header against PT_ACK , but there is no results. I guess I need some cross-layer techniques to accomplish that.

Re: [ns] How to shut down a mobile node

2009-04-29 Thread realoneone
Hi there, Though I had problems by just using on/off command of the mobile nodes, I finally used a tricky way to shut down some nodes at certain time: In mac/mac-802_11.cc, I added a few lines in the beginning of transmit() and recv(), which stop transmitting/receiving the packet depending on