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 <[email protected]> > > 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 <[email protected]> > > Subject: [ns] How to set priority for packet > > To: [email protected] > > Message-ID: <[email protected]> > > 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. > > > > > >
