From: [EMAIL PROTECTED]
To: [email protected]
Subject: A new traffic generator.
Date: Thu, 13 Nov 2008 17:14:36 +0000








Dear NS-users,

    I'm currently working on how to compute the peak throwput generated by a 
bunch of different sources (voice, web  ,video..). I choosed to use the 3gpp 
standard model for voice and data. It's based on Pareto and Exponential 
distribution. The traffic generators prposed in ns are not exactly
the same in 3gpp model. Thus, some modification are required.
    The first difference is that the Pareto distribution should be restricted. 
So, I copied the file /ns2.33/tools/Pareto.cc in the same folder and renamed it 
ParetoRes.cc, I kept the same functionalities as Pareto with changing only the 
names. And in common/packet.h i added thes lines:
        // Pareto Borne
static packet_t       PT_PARETORES = 61;
        // insert new packet types here
static packet_t       PT_NTYPE = 62; // This MUST be the LAST one

and 
name_[PT_PARETORES]= "paretoRES";

In /ns2.33/tcl/lib/ns-default.tcl I added the same deafult parameters in pareto 
application. Finaly I added the new cc file in Makefile OGBJ_CC Variable.

When exectuting in ns2.33 folder make dependent; make. Igot this error

proxytrace2any.cc:112:error:'isLittleEndian' undeclarred
proxytrace2any.cc:120:error:'toOtherEndian' undeclarred


thank you.
PS: I'm working with ns2.33 over cygwin

Imad

Téléchargez le nouveau Windows Live Messenger ! Téléchargez Messenger, c'est 
gratuit !
_________________________________________________________________
Sur Windows Live Ideas, découvrez en exclusivité de nouveaux services en 
ligne... si nouveaux qu'ils ne sont pas encore sortis officiellement sur le 
marché !
http://ideas.live.com

Reply via email to