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

2009-10-28 Thread Urlan Salgado de Barros

Hi,

2009/10/27 aoufi souhila 

> Dear Urlan
> A have read the contribution for 'How to evaluate MPEG video transmission
> using the NS2 simulator?' that is very important. but I have found that the
> link 'An example for video transmission over wireless network' does not
> work.
>
>

Did you take a look in two methods shown at the link
http://hpds.ee.ncku.edu.tw/~smallko/ns2/Evalvid_in_NS2.htm<http://hpds.ee.ncku.edu.tw/%7Esmallko/ns2/Evalvid_in_NS2.htm>?

Others Evalvid links:
http://www.item.ntnu.no/~arnelie/Evalvid-RA.htm
http://www.tkn.tu-berlin.de/research/evalvid/
http://www.ietf.org/mail-archive/web/dccp/current/msg02753.html

Just google it! =)

I am interested in the differentiation of service in NS but in wireless
> networks, I found the DiffServ module in NS but it is only wired network
> oriented
> My question is how to apply this module on wireless networks?
> How to configure the wireless node to edge node or core node?
> Can you give me a sample tcl file that configures the wireless nodes with
> DiffServ?
>

Sorry, but I don't have those samples.


> How to mark packets?
>

Like Evalvid. Evalvid does what you need.


> must we define another policy for wireless nodes?
> Please, Your response is very important for me
> waiting for reply
> Best regards
> Aoufi souhila
>
>

> --- En date de : Lun 26.10.09, Urlan Salgado de Barros 
> a écrit :
>
> > De: Urlan Salgado de Barros 
> > Objet: Re: [ns] Re : How to set priority for packet (thangnd)
> > À: "aoufi souhila" 
> > Cc: ns-users@isi.edu
> > Date: Lundi 26 Octobre 2009, 15h46
> > Hi,
> >
> > Evalvid works with priority for each packet.
> >
> > http://hpds.ee.ncku.edu.tw/~smallko/ns2/Evalvid_in_NS2.htm<http://hpds.ee.ncku.edu.tw/%7Esmallko/ns2/Evalvid_in_NS2.htm>
> >
> > Urlan
> >
> >
> > 2009/10/25 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 +0700
> >
> > > From: thangnd 
> >
> > > Subject: [ns] How to set priority for packet
> >
> > > To: ns-users@ISI.EDU
> >
> > > Message-ID: <4ae31ffc.3010...@joomservices.com>
> >
> > > Content-Type: text/plain; charset=ISO-8859-1;
> >
> > > format=flowed
> >
> > >
> >
> > > Hi all,
> >
> > > I have a question, how to set priority for packet in
> > NS-2
> >
> > > using in WSN.
> >
> > > Thanks for help.
> > >
> >
>
>
>
>
Best regards.

-- 
_
Urlan Salgado de Barros
MSc. Student in Applied Informatics
Member of NR2 Group
Federal University of Paraná - Curitiba - Brazil
URL: <http://www.nr2.ufpr.br/~urlan>


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 

>
> 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 +0700
> > From: thangnd 
> > Subject: [ns] How to set priority for packet
> > To: ns-users@ISI.EDU
> > Message-ID: <4ae31ffc.3010...@joomservices.com>
> > Content-Type: text/plain; charset=ISO-8859-1;
> > format=flowed
> >
> > Hi all,
> > I have a question, how to set priority for packet in NS-2
> > using in WSN.
> > Thanks for help.
>
>
>
>
>
>


[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 +0700
> From: thangnd 
> Subject: [ns] How to set priority for packet
> To: ns-users@ISI.EDU
> Message-ID: <4ae31ffc.3010...@joomservices.com>
> Content-Type: text/plain; charset=ISO-8859-1;
> format=flowed
> 
> Hi all,
> I have a question, how to set priority for packet in NS-2
> using in WSN.
> Thanks for help.