Hi, I wanna know the unit in setdest. Is it in meter or other unit?
Thanks in advance. Best Regards, Jihen Bokri Computer Science Engineer Researcher at RAMSIS-CRISTAL Laboratory (ENSI) TUNISIA On Mon, Apr 28, 2014 at 8:00 PM, <ns-users-requ...@isi.edu> wrote: > Send Ns-users mailing list submissions to > ns-users@isi.edu > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.isi.edu/mailman/listinfo/ns-users > or, via email, send a message with subject or body 'help' to > ns-users-requ...@isi.edu > > You can reach the person managing the list at > ns-users-ow...@isi.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Ns-users digest..." > > > Today's Topics: > > 1. Bls: Ns-users Digest, Vol 124, Issue 20 (Eppy yundra) > 2. performance improvement of protocol (vaishali mandhare) > 3. Re: how to set packet type? (knudfl) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 28 Apr 2014 10:36:51 +0800 (SGT) > From: Eppy yundra <eppy_...@yahoo.com> > Subject: [ns] Bls: Ns-users Digest, Vol 124, Issue 20 > To: "ns-users@ISI.EDU" <ns-users@isi.edu> > Message-ID: > <1398652611.70894.yahoomail...@web192403.mail.sg3.yahoo.com> > Content-Type: text/plain; charset=iso-8859-1 > > Dear all, > > How to allocate GTS in NS2 ? > what it's has already supported by GTS > > > Regard > > Eppy Yundra > > > Pada Senin, 28 April 2014 8:04, "ns-users-requ...@isi.edu" < > ns-users-requ...@isi.edu> menulis: > > Send Ns-users mailing list submissions to > ??? ns-users@isi.edu > > To subscribe or unsubscribe via the World Wide Web, visit > ??? http://mailman.isi.edu/mailman/listinfo/ns-users > or, via email, send a message with subject or body 'help' to > ??? ns-users-requ...@isi.edu > > You can reach the person managing the list at > ??? ns-users-ow...@isi.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Ns-users digest..." > > > Today's Topics: > > ? 1.? how to set packet type? (=?big5?B?qkwgrfWlsA==?=) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 27 Apr 2014 08:37:17 +0000 > From: =?big5?B?qkwgrfWlsA==?= <ms951...@hotmail.com.tw> > Subject: [ns]? how to set packet type? > To: "ns-users@isi.edu" <ns-users@isi.edu> > Message-ID: <blu182-w398c74f807a297c5e148b8f1...@phx.gbl> > Content-Type: text/plain; charset="big5" > > Dear all, > I'm writing a new Agent and use exponential traffic generator to generate > traffic. > In my Agent , I override sendmsg() like following code > void AgentCPU::sendmsg(int nbytes,const char* flag){? ? ? Packet > pkt*=allocpkt();? ? ? hdr_cmn ch*=hdr_cmn::access(pkt);? ? ? hdr_task > task*=hdr_task::access(pkt); // my new packet header? ? ? hdr_ip > ip*=hdr_ip::access(pkt); > ? ? ? ch->ptype()=PT_TASK;? ? ? ch->size()=size_;? ? ? ...} > But when I see the trace files , the packet size and type are not same to > my setting. > So, I used the printf to help me debug. > void AgentCPU::sendmsg(int nbytes,const char* flag){? ? ? Packet > pkt*=allocpkt();? ? ? hdr_cmn ch*=hdr_cmn::access(pkt);? ? ? hdr_task > task*=hdr_task::access(pkt); // my new packet header? ? ? hdr_ip > ip*=hdr_ip::access(pkt); > ? ? ? ch->ptype()=PT_TASK;? ? ? ch->size()=size_; > ? ? ? printf("packet type is %s\n",ch->ptype());? ? ? printf("packet size > is %d\n",ch->size());? ? ? ...} > And what make me more confuesd is the message showed like > packet type is null > packet size is 1070596096? (my setting is 100) > And I'm sured I have modfied the packet.h like following code > ...static const packet_t PT_TASK=73;......name_[PT_TASK]="task";... > > My Question is Why I cant set packet type , is anything I did wrong? > Or there is more files I should modify to surrport this sendmsg function? > Any suggestion will be very thanksful!! ??? ??? ??? ? ??? ??? ? > > ------------------------------ > > _______________________________________________ > Ns-users mailing list > Ns-users@isi.edu > http://mailman.isi.edu/mailman/listinfo/ns-users > > > End of Ns-users Digest, Vol 124, Issue 20 > ***************************************** > > ------------------------------ > > Message: 2 > Date: Mon, 28 Apr 2014 16:01:58 +0800 (SGT) > From: vaishali mandhare <v_mandh...@yahoo.com> > Subject: [ns] performance improvement of protocol > To: ns user <ns-users@isi.edu> > Message-ID: > <1398672118.60919.yahoomail...@web190206.mail.sg3.yahoo.com> > Content-Type: text/plain; charset=utf-8 > > > > hello all, can anyone tell me how to improve performance of protocol like > (AODV, DSR, DSDV) > > vaishali > > > ------------------------------ > > Message: 3 > Date: Mon, 28 Apr 2014 01:26:01 -0700 (PDT) > From: knudfl <knu...@ofir.dk> > Subject: Re: [ns] how to set packet type? > To: ns-users@isi.edu > Message-ID: <1398673561575-28625.p...@n7.nabble.com> > Content-Type: text/plain; charset=UTF-8 > > > @kerkerred > > PT_TASK > > Probably add TASK to `tcl/lib/ns-packet.tcl? , e.g. section # Other > .. Should be lines 182 .. 185 , if ns-2.35 . > > Then, $ cd ns-2.35/ && make clean && make > .. and TASK should be present in the executable 'ns'. > > - > > > > > > -- > View this message in context: > http://network-simulator-ns-2.7690.n7.nabble.com/how-to-set-packet-type-tp28622p28625.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > _______________________________________________ > Ns-users mailing list > Ns-users@isi.edu > http://mailman.isi.edu/mailman/listinfo/ns-users > > > End of Ns-users Digest, Vol 124, Issue 21 > ***************************************** >