[ns] About energy model in ns 2.34

2009-10-26 Thread mahesh bhosale
Hi, I want to know about how the overhearing power consumption can be accounted in the ns 2.34 energy-model? With Regards Mahesh

[ns] Cross-Layering script is not running.

2009-10-26 Thread Mutiullah Qureshi
Hello. Please consider the following script. I have written it for demonstrating cross-layering: # Define options set val(chan) Channel/WirelessChannel;# channel type set val(prop) Propagation/TwoRayGround ;# radio-propagation model set val(netif)

[ns] Regarding patch file

2009-10-26 Thread Vijayalakshmi M
hai i am beginner to use ns2 ,i am doing my project in rsa security, i dont know how to convert my c language into otcl language, then dont know the body format of create patch file regarding RSA, please help me, its urgend Thank  you,  

Re: [ns] Re : How to set priority for packet (thangnd)

2009-10-26 Thread Urlan Salgado de Barros
Hi, Evalvid works with priority for each packet. http://hpds.ee.ncku.edu.tw/~smallko/ns2/Evalvid_in_NS2.htm Urlan 2009/10/25 aoufi souhila aoufi_souh...@yahoo.fr Hi to set priority for packet, you need just to modify the field prio_ of the ip packet header, like this: iph =

Re: [ns] Cross-Layering script is not running.

2009-10-26 Thread Urlan Salgado de Barros
Hello Mutiullah Qureshi, You need to create getLL procedure. Node/MobileNode instproc getLL { param0} { $self instvar ll_ return $ll_($param0) } Call this procedure with the command: set ll_src_ [$node_(0) getLL 0] Urlan 2009/10/26 Mutiullah Qureshi mutiulla...@yahoo.com Hello.

[ns] mac-simple in ns2!

2009-10-26 Thread Vo Trinh
Dear all ns2-user, I have difficulty in understanding algorithm of mac-simple in ns2. I need algorithm of mac-simple to finish sth in my thesis as soon as posible. Those who know please tell me about it. Thanks in advance. == Thien Long

Re: [ns] How to set priority for packet

2009-10-26 Thread qweq adcsad
u need to use EDCA MAC in that case. u can try the EDCA patch. --- On Sat, 10/24/09, thangnd than...@joomservices.com wrote: From: thangnd than...@joomservices.com Subject: [ns] How to set priority for packet To: ns-users@ISI.EDU Date: Saturday, October 24, 2009, 8:40 AM Hi all, I have

[ns] Help needed in gdb and Node file

2009-10-26 Thread amina bechtarzi
Dear all , I am using gdb to deluging my tcl and c++ code. I used a function size_neighbord_list (), in node.cc node.h code. But after I remove it for my code node.cc node.h. When doing some simulation test a segmentation fault occur : (gdb) continue Continuing. 4 is setting code to 0

Re: [ns] Cross-Layering script is not running.

2009-10-26 Thread Mutiullah Qureshi
Thanks Urlan.. This time I created the said routine and get this: num_nodes is set 3 INITIALIZE THE LIST xListHead Error: sendmsg() for UDP should not be -1 SORTING LISTS ...DONE! end simulation From: Urlan Salgado de Barros ur...@comp.ufla.br To: Mutiullah

[ns] undefined refernce error while adding a new patch

2009-10-26 Thread Mariem Thaalbi
Hi, I installed NS and i add on it a patch which supports 802.11s but while recompiling, i had this error : mac-802_11.cc: undefined refernce to 'hdr_phy802_11ag::offset_' I will appreciate any help.

Re: [ns] Cross-Layering script is not running.

2009-10-26 Thread Urlan Salgado de Barros
Hi, Are you trying to attach ftp with udp? FTP creates two TCP connections, one for sends data and one for sends commands. Do you want to use udp or tcp? If you consider udp, do this: Remove the following code: set ftp [new Application/FTP] $ftp attach-agent $udp_ $ns at 10.0 $ftp start And

[ns] simulation with DCCP/TFRC

2009-10-26 Thread juanjo pavia
Hello everyone I have installed the patch ns-233-DCCP-1.Patch of [1] but can not find examples of simulation. I've tried to simulate a link cable but not generated traffic. Someone who is using this protocol and can send me an example? I've searched the mailing list but there is nothing.

[ns] Setting Values for CWmin and CWmax

2009-10-26 Thread Vivek Vijaya Kumar
Hi, I am new to NS. I am trying to setup a network with 5 nodes, 4 of which are supposed to have one set for value for (CWmin, CWmax) and the other node is supposed to have another set of value for (CWmin, CWmax). Please suggest a method of setting these parameters in tcl. Thank you Vivek

Re: [ns] Setting Values for CWmin and CWmax

2009-10-26 Thread Urlan Salgado de Barros
Did you try to search? http://mailman.isi.edu/pipermail/ns-users/2006-April/055338.html Urlan 2009/10/26 Vivek Vijaya Kumar vivek.vijayaku...@gmail.com Hi, I am new to NS. I am trying to setup a network with 5 nodes, 4 of which are supposed to have one set for value for (CWmin, CWmax) and

Re: [ns] Setting Values for CWmin and CWmax

2009-10-26 Thread Vivek Vijaya Kumar
This one shows how to set CWmin and CWmax value for the entire simulation. But is it possible to make them node specific as in different values for different nodes? For example, if node A always has some higher priority data to transmit its CWmin should be lower than the rest of the nodes. Vivek

[ns] Java Network Simulator-Query.

2009-10-26 Thread Sharad Patil
Hello, I have simulated a wireless network using Java Network Simulator(JNS).Now I want to find the thoughput of network. So please tell me the formula for calculating throughput. Thanking you. Regards, Priya.