[ns] Re : Priority Queue for wireless network

2010-04-11 Thread aoufi souhila
Dear ns-users   you need to replace the  Queue/DropTail/PriQueue  with Queue/CMUPriQueue. set val(ifq) CMUPriQueue with the CMUPriQueue the packets will be classified into four queues according to their type (packet of control first, the packet vedio second, audio packets third and the rest of

[ns] Re : Urgent pakets dropped at ARP level

2010-04-07 Thread aoufi souhila
dear ns-users   For get the performance of your protocol, I advice you to disable the ARP module to do this you djust need to add three instructions at the top of the ARPTable::arpresolve function in arp.cc file like this   hdr_cmn *ch = HDR_CMN(p); mac_->hdr_dst((char*) HDR_MAC(p), ch->next_hop

[ns] Re : packet enqueue and dequeue time

2010-02-15 Thread aoufi souhila
to get the packet enqueue and dequeue time; you shoold work with the trace file of ns in the tcl script, you shoold add an instruction to construct a trace file, you parse this file for calculate the time between r + for (packet enqueue ) and r - for  (packet dequeue ). to parse this file, you

[ns] Re : Ns-users Digest, Vol 74, Issue 7

2010-02-08 Thread aoufi souhila
Hello Multi path is useful to balance the load of traffic in the networke it is very performante to use all the network ressource using one path for all traffic will decrease the energy of some node but when we use multipath we balance the load of traffic accross all the node.  --- Message: 1

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

2009-10-25 Thread aoufi souhila
Hi to set priority for packet, you need just to modify the field prio_ of the ip packet header, like this: iph = hdr_ip::access(pkt); //ip packet header iph->prio_ = codePt; // codePt: the code of priority hope that answer for your question > Message: 6 > Date: Sat, 24 Oct 2009 22:40:44 +0

Re: [ns] Multihop Broacasting in ns2

2009-10-20 Thread aoufi souhila
When you want to broadcast packet, the ttl must be equal to 1. ih->ttl()= 1; best regards > Subject: Re: [ns] Multihop Broacasting in ns2 > To: adel belkhiri , > ns-users@ISI.EDU > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I am trying to send broadcast packe

[ns] DiffServ in wireless network

2009-10-13 Thread aoufi souhila
Hi how to configure DiffServ policies in a wireless network. I really need an illustrative example. I found in the directory tcl / ex / diffserv examples, but they all use a wired network. how in the case of wireless network your help is very useful for me, please

[ns] how to present the requirement QoS for a stream

2009-10-07 Thread aoufi souhila
Please, how to present the required quality of service for a stream. For example, how to declare that a video traffic require such bandwidth or that a audio traffic requires such delay in ns. give me more examples tcl your response will be very helpful for me Aoufi

[ns] diffserv in wireless environment

2009-10-06 Thread aoufi souhila
Hi Can diffserv be used in wireless environment? in which version of ns can diffserv be used with wireless environment. Please give me a answer Thanks, Aoufi