Dear frds, Could you please help me in finding ways to compare traditional routing Vs opportunistic routing?
Regards, Ranjana On Wed, Mar 23, 2011 at 10:00 AM, <[email protected]> wrote: > Send Ns-users mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Ns-users digest..." > > > Today's Topics: > > 1. Segmentation fault ([email protected]) > 2. Regarding ns2 source code (Preetha Venkat) > 3. Re: opportunistic routing protocols code (preethavenkat) > 4. Does transmision block the queue (Ahmad) > 5. help with permission denied (serene wong) > 6. DYMO Patch installation (sree ram) > 7. DYMO Patch installation (sree ram) > 8. Packet Generation doubt (Pablo Gualda) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 22 Mar 2011 09:34:02 +0800 > From: <[email protected]> > Subject: [ns] Segmentation fault > To: <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset="US-ASCII" > > Hi all: > When I debug ns2 ,I receive follow result: > Program received signal SIGSEGV, Segmentation fault. > 0x081c6446 in DestHashClassifier::hashkey (this=0xa2f7330, dst=4)at > classifier/classifier-hash.h:180 > 180 long key = mshift(dst); > (gdb) i locals > key = Cannot access memory at address 0xbf43affc > (gdb) l > 175 virtual int command(int argc, const char*const* argv); > 176 int classify(Packet *p); > 177 virtual void do_install(char *dst, NsObject *target); > 178 protected: > 179 const char* hashkey(nsaddr_t, nsaddr_t dst, int) { > 180 long key = mshift(dst); > 181 return (const char*) key; > 182 } > 183 }; > 184 > (gdb) p key > Cannot access memory at address 0xbf43affc > (gdb) p dst > $1 = 4 > (gdb) p shift_ > $2 = 0 > (gdb) p mask_ > $3 = 2147483647 > (gdb) p key > Cannot access memory at address 0xbf43affc > (gdb) p &key > $4 = (long int *) 0xbf43affc > (gdb) > Ps: inline int mshift(int val) { return ((val >> shift_) & mask_); } > > I want to ask why can't I access the local variable key? How can I locate > the plalce where error happened? > > Thanks! > Balbo. > > > > > ------------------------------ > > Message: 2 > Date: Tue, 22 Mar 2011 10:04:46 +0530 > From: Preetha Venkat <[email protected]> > Subject: [ns] Regarding ns2 source code > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > hello > i nees ns2 source codes for opportunistic routing protocols such as > ROMER, EXOR, SOAR.... > > waiting for your reply > > > ------------------------------ > > Message: 3 > Date: Mon, 21 Mar 2011 22:06:21 -0700 (PDT) > From: preethavenkat <[email protected]> > Subject: Re: [ns] opportunistic routing protocols code > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > > hi i am also in need of those codes..... did u got it. > > M.Mehran Ajmal wrote: > > > > > > hello > > i want the ns code of opportunistic routing protocols. > > MaxOpp, ROMER,EXoR,SOAR > > > > Regards > > > > > > -- > View this message in context: > http://old.nabble.com/opportunistic-routing-protocols-code-tp30595612p31207075.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 4 > Date: Tue, 22 Mar 2011 02:51:37 -0400 > From: Ahmad <[email protected]> > Subject: [ns] Does transmision block the queue > To: "[email protected]" <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > Hi all > I have been wondering when they queue gets blocked. If a packet is to be > sent and the transmission time for it is 2 seconds, will queue get blocked > for 2 seconds before scheduling the sending of the next packet? > Ie if 2 packets are supposed to be sent at time 0.5 then will first packet > be scheduled to be received on the other end at 2.5 and the second packet at > 4.5 ( assuming no link delay)? Plz let me know. Thank u very much > Ahmad > > > > ------------------------------ > > Message: 5 > Date: Tue, 22 Mar 2011 17:49:21 +0800 (SGT) > From: serene wong <[email protected]> > Subject: [ns] help with permission denied > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=iso-8859-1 > > Hi > > I am new to ns2 and have been getting these errors and I need to solve them > urgently. > couldn't execute "/home/XXX/XXX": permission denied > ??? while executing > "exec ~/XXX test.tcl -bdelay 10 -a 1 -b 100? ... > > Thanks in advance > > > > ------------------------------ > > Message: 6 > Date: Tue, 22 Mar 2011 20:44:49 +0530 > From: sree ram <[email protected]> > Subject: [ns] DYMO Patch installation > To: NS Help <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > When i install ns-2 after patching the dymoum its showing the following > error during installation itself.. > > > Makefile: file not recognized: File format not recognized > collect2: ld returned 1 exit status > make: *** [ns] Error 1 > Ns make failed! > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems > > pls help me.. > > > ------------------------------ > > Message: 7 > Date: Tue, 22 Mar 2011 20:53:38 +0530 > From: sree ram <[email protected]> > Subject: [ns] DYMO Patch installation > To: NS Help <[email protected]>, Francisco Javier Ros Mu?oz > <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > When i install ns-2 after patching the dymoum its showing the following > error during installation itself.. > > > Makefile: file not recognized: File format not recognized > collect2: ld returned 1 exit status > make: *** [ns] Error 1 > Ns make failed! > See http://www.isi.edu/nsnam/ns/ns-problems.html for problems > > pls help me.. > > > ------------------------------ > > Message: 8 > Date: Tue, 22 Mar 2011 18:04:04 +0100 > From: Pablo Gualda <[email protected]> > Subject: [ns] Packet Generation doubt > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=UTF-8 > > Hello, I am having problems with packet generation in a Hierarchical > simulation. > > When I receive an udp packet, I get the Power of the received packet > Pkrxpw, > and if the power is lower than a Threshold, I have to generate a packet of > another type and send it to a node. > > In mac 802_11.cc recv method is the place where y get the packet power and > depending on it I call a send method of an Agent I have created similar to > ping of marc grei? tutorial that creates a packet like this: > > hdr_ip* hdrip = hdr_ip::access(pkt); > hdr_mih* hdr = hdr_mih::access(pkt); > hdr_cmn* cmn = hdr_cmn::access(pkt); > hdr->size_LD=50; > cmn->ptype()=PT_PING; > // Send the packet > Scheduler::instance().schedule(target_, pkt, 0.0); > > But I get a message :Scheduler: attempt to schedule an event with a NULL > handler. Don't DO that. > I have tried to set ports, daddr and srcaddr in tcl and in c++ code but I > get the same message. > > I have tried to use send(p,0) and then I get a segmentation fault... > > I don know if the problem could be that I am sending the packet while the > udp packet is being sent or it is another thing. > > Help would be appreciated. > > Best Regards, > > Pablo > > > ------------------------------ > > _______________________________________________ > Ns-users mailing list > [email protected] > http://mailman.isi.edu/mailman/listinfo/ns-users > > > End of Ns-users Digest, Vol 87, Issue 21 > **************************************** >
