[ns] Problem regarding new header creation

2006-08-16 Thread piyush sharma
Hi Everybody, I have got some problem regarding a new packet header creation in ns2. (1) Actually I am creating a new header structure first as : struct hdr_RREQ { unsigned long int seq_no_; int src_id_; int des_id_; int nhops_; //accessor methods unsigned long int& seq

[ns] transmission range problem in 802.11 (continued)

2006-08-16 Thread Xiaolin Cheng
Dear all, Thanks for your attention. This time I am trying to make things clearer. I have 5x5 grid network with 200m spacing between rows and columns as follows: 0-123--4 | | | | | | | | | | 5-

[ns] Which 802.11 (2.4-2.5 GHz)frequency channel is assigned by default

2006-08-16 Thread m w
Hi All, Can anyone please tell me as to which channel frequency does 802.11 by default assigns, in the 2.4 - 2.5 GHz frequency range. Also in which script can I find this information !!! Thanks in advance, Manish __ Do You

[ns] help: ns-eurane install worng

2006-08-16 Thread 袁旭
I installed the ns-allinone-2.28 in linux of ubuntu6.06 and do this command:patch -p1 < ns-eurane-111.diff system tell: can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -- |diff -b -B -u -I

Re: [ns] flow id

2006-08-16 Thread Filipe Mendes
Ola, pode ser em portugues?? tenta usar $udp_0 set class_ 0 e $SinkCBR_0 set flowid_ $flowId, no lossmonitor por exemplo um procedimento que cria tudo, so precisa de 2 nos, dst e src proc cbr_traffic {id src dst flowId PacketSize Rate start stop} { global ns SinkCBR_ set udp_

[ns] A strange debugging problem with malloc_consolidate()

2006-08-16 Thread Xiaolin Cheng
> > Dear all, > > I came cross a weird problem yesterday. When I ran my scripts in the > terminal window as "ns myscript.tcl", it went well and terminated > quietly. However, when I switched to gdb (with DDD as interface), I got a > segmentation fault in malloc_consolidate () from /lib/tls/libc.s

[ns] A strange debugging problem with malloc_consolidate()

2006-08-16 Thread Xiaolin Cheng
Dear all, I came cross a weird problem yesterday. When I ran my scripts in the terminal window as "ns myscript.tcl", it went well and terminated quietly. However, when I switched to gdb (with DDD as interface), I got a segmentation fault in malloc_consolidate () from /lib/tls/libc.so.6. What is

[ns] TCP Packet Sizes in Trace File

2006-08-16 Thread Denis Vella
Hi, I've noticed that each packet sent from TCP Agents is shown as having increased by 20 bytes at the TCPSink when using new-trace format tracefiles. The same trace output using the older trace format behaves completely differently. I'm using ns2.29.3-allinone. What is the explanation for thi

[ns] help error ~ns-2.29/tc/ex/swp.tcl

2006-08-16 Thread STP
Hi all, swp.tcl contains "source timer.tcl" timer.tcl is not found in ~ns-2.29/tcl/ex/ directory. I copied from ~ns-2.29/tc/mcast/ directory. swp.tcl gets into indefinite looping and cpu at 90% Please, help me how to work and expand in ~ns-2/29/tcl/ex/ directory. thanks in advance,

[ns] packet number

2006-08-16 Thread Albalas F \(AT\)
Hi all, I am running MAODV algorithm, I need to know how can I get the packet id at any node during the simulation process when needed . Where can I find the packet id and the node id together, at IP header , Cmn Header Thanks . Firas

[ns] RESENT: Determine if there is connectivity in wireless

2006-08-16 Thread Giorgis Georgakoudis
Is there way to determine if there is connectivity in a wireless simulation because I want to do somethink similar to: while(!network_up()) { //waiting} ggeorgak

[ns] flow id

2006-08-16 Thread Renata Vidal
Hi, I tried to set the flow number whith a command like this: $udp0 set fid_ 0 $udp1 set fid_ 1 $udp2 set fid_ 2 and so on But in my trace I always have the fid 0. What could be wrong? -- Renata Vidal "Triste é o destino de quem tenta vencer as batalhas e ter sucesso nos ataques sem culti

[ns] Integrated tool nedase - brite, ns-2, delite, glomosim

2006-08-16 Thread Muhammad Azizur Rahman
There is a tool called nedase that helps the transformation of models automatically from one tool to other (e.g. brite, ns-2, glomosim, delite). Command line argument is used and there is only one file (one exe file). Please download. website: http://simt-dev.unl.

[ns] Linkcache inDSR

2006-08-16 Thread ewetwae eterzt
Hi, all, i want to work on Linkcache(linkcache.cc) in DSR, but the default one is Mobicache(mobicache.cc), how can i get the Linkcache to work. Is there anyone know about this? Pls give me your hand. Thanks. Chen _ 免费下载 MSN Ex

[ns] what does uniform error rate mean in hcca

2006-08-16 Thread Sandeep
Hi all, I applied the hcca patch to ns-2.27, in it there is uniform_error_rate, I dont know what's meant by it. Any thoughts? Thanks in advance regards Sandeep

[ns] Wireless - Nodes Gain

2006-08-16 Thread Super Torresmo
Hello. I'm doing a wireless simulation and I changed the gain of the nodes using the gain of the antenna: Antenna/OmniAntenna set Gt_ 0.175 Antenna/OmniAntenna set Gr_ 0.175 I want to know if it is possible to do a network where each node has a different gain. Also, I would like to modify the g

[ns] code for Implementation WTP

2006-08-16 Thread RABEARIVELO Lalaina
Hi all, Can someone help me find a code for an implementation of Waiting Time Priority (WTP) queuing discipline in ns-2? Any help is appreciated. Thanks.

[ns] Help: ErrorModel doesn't forward corrupted packets

2006-08-16 Thread Umayr Hassan
Dear all, I have been trying to simulate a reliable data tranport protocol (the rdt2.xprotocols from Kurose-Ross's *Computer Networking* text). To simulate a lossless channel with bit-errors, I need the ErrorModel object in my Tcl script to only mark the error_ flag of packet and then forward it t