Re: [ns] developing new queue management

2006-05-07 Thread Ilyes Gouta
Hi, You could check blocked_ , unblock_on_resume_ and the resume() method inside ns2.2x/queue/queue.cc. You should wrap your new logic inside a new queue by exploiting those switches and adding another queue that will hold all the incoming packets when the primary queue is full (you'll have t

[ns] Problem with Agent/TCP/FullTcp state variable

2006-05-07 Thread Siddharth Ramesh
Hi, I was trying to assign and use state variables inside a FullTcp agent like is done using normal TCP agents. For ex, I create and use a session_number state variable below: set tcpagent [new Agent/TCP/FullTcp] $tcpagent set session_number 0 When I overload the done{} method for the FullTcp ag

[ns] Help. How to get average byte per round in wireless ad hoc network

2006-05-07 Thread choong cheong
Hi all, I'm doing the wireless mobile ad hoc network. How to get average byte per round? What is the formula? I have managed to figure out the new trace file. Is it possible to get it in the output files? How to get the average number of node per round? Please help. Appre

Re: [ns] Changing trace files

2006-05-07 Thread Martina Umlauft
Hi! Instead of changing the C++ source you can pipe the trace output through awk before writing it to the trace file. This takes a little bit of computing power and (depending on the script) a bit of memory. But you can also save quite a lot of disk space (eg. by on-the fly calculation of ave

Re: [ns] AODV - Route Repair Issue

2006-05-07 Thread guzinu
Hi, Function call chain for the localrepairtimer function is as follows: rt_resolve --> aodv_rt_failed_callback --> rt_ll_failed --> local_rt_repair --> and so localrepairtimer the head of the chain is rt_resolve. In this function, ch->xmit_failure_ = aodv_rt_failed_callback;

Re: [ns] UMTS extension

2006-05-07 Thread Dimitris Antonellis
Check the EURANE extension of the ns for the UMTS ( http://www.ti-wmc.nl/eurane/ ) It has a very good manual for the instalation Cheers, Dimitrios Antonellis Message: 15 > Date: Fri, 5 May 2006 09:34:31 -0700 (PDT) > From: jaafer al-saraireh <[EMAIL PROTECTED]> > Subject: [ns] UMTS extension > T

Re: [ns] Changing trace files

2006-05-07 Thread Dimitris Antonellis
Check the files... trace/race.cc and trace/trace.h Cheers Dimitrios Antonellis Message: 6 > Date: Sat, 6 May 2006 11:04:39 -0300 > From: "Diego Soares" <[EMAIL PROTECTED]> > Subject: [ns] Changing trace files > To: ns_users > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain;

Re: [ns] please help in ODMRP

2006-05-07 Thread Dhammika Pathirana
Hi Pooja, This is because mcast_totals... script try to parse trace outputs differently, Change the parse format from if($LINE =~ / --- \[(\W*)(\d*):(\W*)(\d*) (\d+):(\d+) (\d+) (\d+)\] \[(\d+)\] (\d+) (\d+) (\S+)/o) { to following if($LINE =~ / --- \[(\d*):(\d*) (\d+):(\d+) (\d+) (\d+)\]

[ns] imlementation of GPS global positionning system

2006-05-07 Thread www triste
hello everybody is there an implementation in ns2 of GPS,because i want to use it for detection of position of mobil node in ns2 thnaks - Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérif

[ns] about using random packet lengths instead of fixed for TCP

2006-05-07 Thread anand kunde
Hello everybody, In ns, can i use random packet lengths (which r iid exponentially distributed) instead of fixed packet length for a TCP connection simulation. If not, please let me know where should i modify the ns code to put this feature. Thanks in advance -- Regards Anand Kunde

[ns] Problem with using different frequency while simulating 802.11

2006-05-07 Thread minhong
Hello ns-users, I got problem in the simulation secnario : Let 25 nodes move into the overlapped of two Access Points, lots of packets were dropped by DSDV_Agent. ex: AP1 at (250, 250) , and AP2 is 50 meters away from AP1, i.e. (300,250) Both APs have the transmission range with

[ns] problem while adding gprs

2006-05-07 Thread lewapryb
Hi everyone! I managed to install ns-2.1b7a on fc1 and now I am trying to add gprs extension made by Richa Jain. I copied .cc and .h files to /ns-allinone-2.1b7a/ns-2.1b7a and .tcl files to /ns-allinone-2.1b7a/ns-2.1b7a/tcl/lib I made ./install and I got: In file included from mac.h:46,

Re: [ns] developing new queue management

2006-05-07 Thread Faisal Siddiqui
Hi, I appreciate your feedback. I was thinking on the same lines and think it is better to block packets at the application layer because of obvious reasons. I have a question and would be delighted if someone could share some thoughts on it. My understanding of the network simulator is that the

Re: [ns] Ns-users Digest, Vol 29, Issue 8

2006-05-07 Thread sayid abdule
hi all ns2 users I did CBR Over Satellite, then I have to compare CBR's behavior to VBR. Therefore I need VBR code if any body forward any code for VBR I'll appreciated. Thanks In advance [EMAIL PROTECTED] wrote: Send Ns-users mailing list submissions to ns-users@isi.e

[ns] creating a MAC broadcast packet

2006-05-07 Thread k s
Hello Ns-users! I am altering the mac layer by adding a special mac packet subtype packet. I create a MAC packet with this subtype and make it a broadcast packet with Packet* p = allocpkt(); Mac802_11* mac = new Mac802_11(); struct hdr_mac802_11* dh = HDR_MAC802_11(p); dh->dh_fc.fc_subtype =

Re: [ns] ns-allinone-2.29.2 gcc-4.1.0 patch

2006-05-07 Thread Tom Henderson
Tom Henderson wrote: >> Date: Sat, 6 May 2006 16:46:02 -0400 (EDT) >> From: Qihe Wang <[EMAIL PROTECTED]> >> Subject: [ns] ns-allinone-2.29.2 gcc-4.1.0 patch >> To: ns-users@ISI.EDU >> Message-ID: >> <[EMAIL PROTECTED]> >> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed >> >> >> Mayb

Re: [ns] How do use the FECmodel? (4 times please help)

2006-05-07 Thread Tom Henderson
> Message: 12 > Date: Sat, 06 May 2006 22:30:18 +0300 > From: [EMAIL PROTECTED] > Subject: [ns] How do use the FECmodel? (4 times please help) > To: ns-users@ISI.EDU > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain;charset=ISO-8859-1 > > Dear ns-users, > > I need to use the