From code at nsnam.ece.gatech.edu Mon Aug 3 05:18:25 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 03 Aug 2009 08:18:25 -0400 Subject: [Ns-bugs] [Bug 606] arp does an ip route lookup In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=606 --- Comment #3 from Pavel Boyko 2009-08-03 08:18:25 EDT --- Created an attachment (id=541) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=541) partial solution, see comments -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Aug 3 05:18:59 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 03 Aug 2009 08:18:59 -0400 Subject: [Ns-bugs] [Bug 606] arp does an ip route lookup In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=606 Pavel Boyko changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |boyko at iitp.ru --- Comment #4 from Pavel Boyko 2009-08-03 08:18:59 EDT --- (In reply to comment #0) > ARP does _ip_ route lookups for outgoing _arp_ messages. I have to confess > that I find this weird and unexpected. What I would have expected is > that: > > 1) SendReply uses the 'to' ip of the request as a 'from' address, so, no > lookup needed. > > 2) SendRequest is given the source address from Lookup > > 3) the source address is stored in the arp cache entry to give to the > ArpRequestCallback. > This bug is critical for any on-demand routing protocol. Suppose you need to send some control traffic to find valid route, this will need arp request-reply handshake, this needs valid route, this will try to send control traffic and loops forever. I have attached simple patch eliminating route lookup in SendArpReply (Mathieu point 1) above) -- please review, this resolves infinite loop issue. Points 2 and 3 remain unfixed. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Aug 3 21:51:31 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 04 Aug 2009 00:51:31 -0400 Subject: [Ns-bugs] [Bug 606] arp does an ip route lookup In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=606 --- Comment #5 from Tom Henderson 2009-08-04 00:51:31 EDT --- (In reply to comment #4) > (In reply to comment #0) > > ARP does _ip_ route lookups for outgoing _arp_ messages. I have to confess > > that I find this weird and unexpected. What I would have expected is > > that: > > > > 1) SendReply uses the 'to' ip of the request as a 'from' address, so, no > > lookup needed. > > > > 2) SendRequest is given the source address from Lookup > > > > 3) the source address is stored in the arp cache entry to give to the > > ArpRequestCallback. > > > > This bug is critical for any on-demand routing protocol. Suppose you need to > send some control traffic to find valid route, this will need arp request-reply > handshake, this needs valid route, this will try to send control traffic and > loops forever. aren't route requests typically broadcast or multicast? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 4 00:13:08 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 04 Aug 2009 03:13:08 -0400 Subject: [Ns-bugs] [Bug 606] arp does an ip route lookup In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=606 --- Comment #6 from Pavel Boyko 2009-08-04 03:13:08 EDT --- (In reply to comment #5) > > aren't route requests typically broadcast or multicast? Sure, but replies are unicast. Frankly speaking loop description above is a little bit simplified -- I can draw exact packet exchange sequence if you need it. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 4 02:20:54 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 04 Aug 2009 05:20:54 -0400 Subject: [Ns-bugs] [Bug 636] src/core should not depend on src/simulator In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=636 Faker Moatamri changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |faker.moatamri at sophia.inria. | |fr --- Comment #1 from Faker Moatamri 2009-08-04 05:20:54 EDT --- It looks like this include is used only for the line 127: Simulator::ScheduleDestroy (&NamesPriv::Delete); I think the second option should be more acceptable. If we remove this line we can remove this include. Now we should see what is the use of this line of code and if we can do the same in another way. Regards Faker -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 4 09:34:17 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 04 Aug 2009 12:34:17 -0400 Subject: [Ns-bugs] [Bug 636] src/core should not depend on src/simulator In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=636 --- Comment #2 from Craig Dowell 2009-08-04 12:34:17 EDT --- The NamesPriv object just needs to be made a proper singleton that is constructed once at first use and destructed at the end of time. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 5 15:45:54 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 05 Aug 2009 18:45:54 -0400 Subject: [Ns-bugs] [Bug 643] Interference Helper may not calculate noise interference properly In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=643 --- Comment #3 from Trevor Bosaw 2009-08-05 18:45:53 EDT --- After looking at the yans paper, I do think my fix proposed in the first comment does fix the bug in interference-helper. Using the attached script, run these two tests: ./waf --run "wifi-simple-interference --Irss=-80 --numPackets=200 --delta=1" and: ./waf --run "wifi-simple-interference --Irss=-80 --numPackets=200 --delta=0" And you'll see a difference in the amount of received packets (184 when delta=0 versus 200 when delta=1). Changing the if statements in 'CalculateNoiseInterferenceW' to: if((*i)->Overlaps (event->GetStartTime ())) { noiseInterference += (*i)->GetRxPowerW (); } else if (event->Overlaps ((*i)->GetStartTime ())) { ni->push_back (NiChange ((*i)->GetStartTime (), (*i)->GetRxPowerW ())); } if (event->Overlaps ((*i)->GetEndTime ())) { ni->push_back (NiChange ((*i)->GetEndTime (), -(*i)->GetRxPowerW ())); } Makes it so the bug when the interference packet is received at the same time as the intended packet, and therefore the noise is calculated twice for the interference packet, is now fixed. Now running: ./waf --run "wifi-simple-interference --Irss=-80 --numPackets=200 --delta=1" ./waf --run "wifi-simple-interference --Irss=-80 --numPackets=200 --delta=0" Has little difference in packets received (or if there is one the difference is by 1 or 2 packets received), as it should be. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 5 20:57:06 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 05 Aug 2009 23:57:06 -0400 Subject: [Ns-bugs] [Bug 649] New: UdpSocketImpl::Close () not implemented Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=649 Summary: UdpSocketImpl::Close () not implemented Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: tomh at tomh.org Estimated Hours: 0.0 Created an attachment (id=542) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=542) proposed patch -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 5 21:33:11 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 06 Aug 2009 00:33:11 -0400 Subject: [Ns-bugs] [Bug 606] arp does an ip route lookup In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=606 --- Comment #7 from Tom Henderson 2009-08-06 00:33:10 EDT --- (In reply to comment #4) > (In reply to comment #0) > > ARP does _ip_ route lookups for outgoing _arp_ messages. I have to confess > > that I find this weird and unexpected. What I would have expected is > > that: > > > > 1) SendReply uses the 'to' ip of the request as a 'from' address, so, no > > lookup needed. > > > > 2) SendRequest is given the source address from Lookup > > > > 3) the source address is stored in the arp cache entry to give to the > > ArpRequestCallback. > > > > This bug is critical for any on-demand routing protocol. Suppose you need to > send some control traffic to find valid route, this will need arp request-reply > handshake, this needs valid route, this will try to send control traffic and > loops forever. > > I have attached simple patch eliminating route lookup in SendArpReply (Mathieu > point 1) above) -- please review, this resolves infinite loop issue. Points 2 > and 3 remain unfixed. > (In reply to comment #6) > (In reply to comment #5) > > > > aren't route requests typically broadcast or multicast? > > Sure, but replies are unicast. Frankly speaking loop description above is a > little bit simplified -- I can draw exact packet exchange sequence if you need > it. > I believe you. I suggest we apply your patch and leave the bugs open for 2 and 3 above. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 5 22:40:38 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 06 Aug 2009 01:40:38 -0400 Subject: [Ns-bugs] [Bug 650] New: PacketSocket::ShutdownRecv and PacketSocket::Close do not work Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=650 Summary: PacketSocket::ShutdownRecv and PacketSocket::Close do not work Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: node module AssignedTo: ns-bugs at isi.edu ReportedBy: dnlove at gmail.com CC: tomh at tomh.org Estimated Hours: 0.0 src/node/packet-socket.* Functions ShutdownRecv and Close do not work properly. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 5 22:51:20 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 06 Aug 2009 01:51:20 -0400 Subject: [Ns-bugs] [Bug 650] PacketSocket::ShutdownRecv and PacketSocket::Close do not work In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=650 --- Comment #1 from duy 2009-08-06 01:51:20 EDT --- Created an attachment (id=543) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=543) proposed patch let me know if it's ok. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 5 23:17:14 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 06 Aug 2009 02:17:14 -0400 Subject: [Ns-bugs] [Bug 606] arp does an ip route lookup In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=606 --- Comment #8 from Pavel Boyko 2009-08-06 02:17:13 EDT --- > I believe you. I suggest we apply your patch and leave the bugs open for 2 and > 3 above. Done in 5ef92ccda11a. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 6 01:33:32 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 06 Aug 2009 04:33:32 -0400 Subject: [Ns-bugs] [Bug 651] New: Ipv4StaticRouting doesn't work stand-alone: can't deliver local packets Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=651 Summary: Ipv4StaticRouting doesn't work stand-alone: can't deliver local packets Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: routing AssignedTo: ns-bugs at isi.edu ReportedBy: martin.ferrari at gmail.com CC: mathieu.lacage at sophia.inria.fr Estimated Hours: 0.0 After a while trying to understand why the packets targeted at a specific ns3::Node were being looped, I found the following comment in src/routing/static-routing/ipv4-static-routing.cc: // XXX this method not robust enough to work outside of ListRouting context // because it will not perform local delivery bool Ipv4StaticRouting::RouteInput (Ptr p, const Ipv4Header &ipHeader, Ptr idev, UnicastForwardCallback ucb, MulticastForwardCallback mcb, LocalDeliverCallback lcb, ErrorCallback ecb) When I wrapped the Ipv4StaticRouting with ns3::Ipv4ListRouting, it started to work. I think either the code should not allow to have static routing without list routing, or the static routing should be fixed. Regards, Mart?n. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 6 06:36:54 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 06 Aug 2009 09:36:54 -0400 Subject: [Ns-bugs] [Bug 651] Ipv4StaticRouting doesn't work stand-alone: can't deliver local packets In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=651 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomh at tomh.org --- Comment #1 from Tom Henderson 2009-08-06 09:36:53 EDT --- (In reply to comment #0) > After a while trying to understand why the packets targeted at a specific > ns3::Node were being looped, I found the following comment in > src/routing/static-routing/ipv4-static-routing.cc: > > // XXX this method not robust enough to work outside of ListRouting context > // because it will not perform local delivery > bool > Ipv4StaticRouting::RouteInput (Ptr p, const Ipv4Header > &ipHeader, Ptr idev, > UnicastForwardCallback ucb, > MulticastForwardCallback mcb, > LocalDeliverCallback lcb, ErrorCallback ecb) > > When I wrapped the Ipv4StaticRouting with ns3::Ipv4ListRouting, it started to > work. I think either the code should not allow to have static routing without > list routing, or the static routing should be fixed. > Note that this is also true of OLSR and GlobalRouting. I haven't tried to solve this yet, but I would like to try to see whether we can just copy over the needed methods from ListRouting to these other protocols. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 6 12:58:54 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 06 Aug 2009 15:58:54 -0400 Subject: [Ns-bugs] [Bug 652] New: no public API for IPv4 neighbor table Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=652 Summary: no public API for IPv4 neighbor table Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: node module AssignedTo: ns-bugs at isi.edu ReportedBy: tomh at tomh.org Estimated Hours: 0.0 This has not yet been implemented in class Ipv4 public API; this note is in the header file for ipv4.h: * TO DO: Add API to allow access to the Ipv4 neighbor table What I had in mind was to define some class such as Ipv4Neighbor that corresponded to Linux struct neighbour, add some methods analogous to what we do to add interfaces and addresses (e.g., Ipv4::GetNNeighbors(), Ipv4::GetNeighbor (i); Ipv4::AddNeighbor (neighbor); Ipv4::DeleteNeighbor (i);), and then add an ArpHelper class that could produce output analogous to what you get on a Linux system when you use the "arp" command. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 6 14:56:47 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 06 Aug 2009 17:56:47 -0400 Subject: [Ns-bugs] [Bug 653] New: NetDevice link change callback proposal Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=653 Summary: NetDevice link change callback proposal Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: devices AssignedTo: ns-bugs at isi.edu ReportedBy: tomh at tomh.org Estimated Hours: 0.0 >From Sebastien Vincent: In NetDevice, there is a callback when device change state (UP or DOWN). It is used mainly by ArpL3Protocol to flush ARP cache. But for future IPv6 integration, it would be also useful to use it to purge Neighbor Discovery cache. So I propose to replace single callback in NetDevice base and sub classes by a list of link change callback. The main API change would be : NetDevice::SetLinkChangeCallback(Callback callback) => NetDevice::AddLinkChangeCallback(Callback callback) In all NetDevice's subclasses, replace all Callback m_linkChangeCallback by std::list m_linkChangeCallbacks. When link change, call every callbacks of the list. Thread/discussion started on developers list: http://mailman.isi.edu/pipermail/ns-developers/2009-July/006280.html -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 6 14:58:17 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 06 Aug 2009 17:58:17 -0400 Subject: [Ns-bugs] [Bug 653] NetDevice link change callback proposal In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=653 --- Comment #1 from Tom Henderson 2009-08-06 17:58:16 EDT --- Created an attachment (id=544) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=544) proposed patch from Sebastien Vincent, July 27 2009 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 6 22:05:33 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 07 Aug 2009 01:05:33 -0400 Subject: [Ns-bugs] [Bug 650] PacketSocket::ShutdownRecv and PacketSocket::Close do not work In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=650 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Tom Henderson 2009-08-07 01:05:33 EDT --- changeset: 60cd412fa3dd -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 6 22:06:13 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 07 Aug 2009 01:06:13 -0400 Subject: [Ns-bugs] [Bug 649] UdpSocketImpl::Close () not implemented In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=649 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Tom Henderson 2009-08-07 01:06:13 EDT --- changeset: 6e048d6486d8 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 00:30:38 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 07 Aug 2009 03:30:38 -0400 Subject: [Ns-bugs] [Bug 630] Wimax doesn't compile with gcc-3.4.x In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=630 Faker Moatamri changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 00:29:59 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 07 Aug 2009 03:29:59 -0400 Subject: [Ns-bugs] [Bug 629] Wimax doesn't compile with gcc-4.3.x and gcc-4.4.x versions In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=629 Faker Moatamri changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 00:30:56 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 07 Aug 2009 03:30:56 -0400 Subject: [Ns-bugs] [Bug 633] Wimax doesn't compile in optimized mode In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=633 Faker Moatamri changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 16:09:56 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 07 Aug 2009 19:09:56 -0400 Subject: [Ns-bugs] [Bug 654] New: ConfigStore dies for attribute ns3::WifiRemoteStationManager::NonUnicastMode Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=654 Summary: ConfigStore dies for attribute ns3::WifiRemoteStationManager::NonUnicastMode Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: wifi AssignedTo: ns-bugs at isi.edu ReportedBy: tomh at tomh.org Estimated Hours: 0.0 When using the attached sample program and input xml file, the program asserts with this statement: "Could not set value for attribute ns3::WifiRemoteStationManager::NonUnicastMode " -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 16:20:26 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 07 Aug 2009 19:20:26 -0400 Subject: [Ns-bugs] [Bug 655] New: YansWifiPhyHelper::SetStandard("Standard", StringValue("802.11b")) doesn't work Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=655 Summary: YansWifiPhyHelper::SetStandard("Standard", StringValue("802.11b")) doesn't work Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: wifi AssignedTo: mathieu.lacage at sophia.inria.fr ReportedBy: tomh at tomh.org CC: ns-bugs at isi.edu Estimated Hours: 0.0 reported in ns-3-users thread: http://groups.google.com/group/ns-3-users/browse_thread/thread/b782d15c83761c09 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 16:29:59 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 07 Aug 2009 19:29:59 -0400 Subject: [Ns-bugs] [Bug 656] New: rate controls do not affect wifi-clear-channel-cmu example program results Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=656 Summary: rate controls do not affect wifi-clear-channel-cmu example program results Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: wifi AssignedTo: ns-bugs at isi.edu ReportedBy: tomh at tomh.org Estimated Hours: 0.0 >From ns-3-users thread 8/3/09 Hi everyone, I tried to set different rate controls in wifi-clear- channel-cmu example, but they all get the same results(even if I don't set the rate control method). Is this the expected behavior? Am I not understanding somehing? for example wifi.SetRemoteStationManager ("ns3::ConstantRateWifiManager", "DataMode",StringValue(modes[i]), "ControlMode",StringValue(modes [i])); wifi.SetRemoteStationManager("ns3::IdealRateWifiManager"); Duy -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 18:14:15 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 07 Aug 2009 21:14:15 -0400 Subject: [Ns-bugs] [Bug 656] rate controls do not affect wifi-clear-channel-cmu example program results In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=656 duy changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dnlove at gmail.com --- Comment #1 from duy 2009-08-07 21:14:15 EDT --- I think the result should be different for every rate control because of the varied RSS. Anyway, I tested two additional scenarios: 1) Fix two nodes 5000 meters apart 2) Set the receiver stationary and move the sender from within range to out of range There should be no communication at all in the first scenario, yet receiver is still receiving packets. Second scenario, the result is the same for all rate controls. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 19:43:01 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 07 Aug 2009 22:43:01 -0400 Subject: [Ns-bugs] [Bug 656] rate controls do not affect wifi-clear-channel-cmu example program results In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=656 --- Comment #2 from duy 2009-08-07 22:43:01 EDT --- I removed 802.11b phy, and it gets zero packets with the "5000 meters apart" scenario; however rate controls are still getting the same results in other scenarios mentioned above. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 21:04:39 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 08 Aug 2009 00:04:39 -0400 Subject: [Ns-bugs] [Bug 654] ConfigStore dies for attribute ns3::WifiRemoteStationManager::NonUnicastMode In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=654 --- Comment #2 from Tom Henderson 2009-08-08 00:04:39 EDT --- Created an attachment (id=546) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=546) test program -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 21:04:14 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 08 Aug 2009 00:04:14 -0400 Subject: [Ns-bugs] [Bug 654] ConfigStore dies for attribute ns3::WifiRemoteStationManager::NonUnicastMode In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=654 --- Comment #1 from Tom Henderson 2009-08-08 00:04:14 EDT --- Created an attachment (id=545) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=545) input xml file -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 21:23:44 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 08 Aug 2009 00:23:44 -0400 Subject: [Ns-bugs] [Bug 656] rate controls do not affect wifi-clear-channel-cmu example program results In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=656 --- Comment #3 from duy 2009-08-08 00:23:44 EDT --- Ok, I did some more testing, rate controls are now working normal using 802.11a instead. So, the problem lies in 802.11b. I think we can close this bug report and open a report on 802.11b, if no one has done it. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 21:39:45 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 08 Aug 2009 00:39:45 -0400 Subject: [Ns-bugs] [Bug 655] YansWifiPhyHelper::SetStandard("Standard", StringValue("802.11b")) doesn't work In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=655 --- Comment #1 from duy 2009-08-08 00:39:45 EDT --- *** Bug 656 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Aug 7 21:39:45 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 08 Aug 2009 00:39:45 -0400 Subject: [Ns-bugs] [Bug 656] rate controls do not affect wifi-clear-channel-cmu example program results In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=656 duy changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #4 from duy 2009-08-08 00:39:45 EDT --- *** This bug has been marked as a duplicate of bug 655 *** -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Aug 10 21:57:57 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 11 Aug 2009 00:57:57 -0400 Subject: [Ns-bugs] [Bug 658] New: python bindings do not build for gcc-4.4.0 Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=658 Summary: python bindings do not build for gcc-4.4.0 Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: python bindings AssignedTo: ns-bugs at isi.edu ReportedBy: tomh at tomh.org Estimated Hours: 0.0 Python bindings do not build for gcc-4.4.0 (Fedora Core 11): [615/707] cxx: build/debug/bindings/python/ns3module.cc -> build/debug/bindings/python/ns3module_3.o [616/707] cxx: bindings/python/ns3module_helpers.cc -> build/debug/bindings/python/ns3module_helpers_3.o In file included from /usr/include/python2.6/pyconfig.h:4, from /usr/include/python2.6/Python.h:8, from debug/bindings/python/ns3module.h:3, from ../bindings/python/ns3module_helpers.cc:2: /usr/include/python2.6/pyconfig-32.h:1022:1: error: "_POSIX_C_SOURCE" redefined In file included from /usr/include/stdint.h:26, from debug/ns3/ref-count-base.h:26, from ../bindings/python/ns3module_helpers.cc:1: /usr/include/features.h:158:1: error: this is the location of the previous definition In file included from /usr/include/python2.6/pyconfig.h:4, from /usr/include/python2.6/Python.h:8, from debug/bindings/python/ns3module.h:3, from ../bindings/python/ns3module_helpers.cc:2: /usr/include/python2.6/pyconfig-32.h:1031:1: error: "_XOPEN_SOURCE" redefined In file included from /usr/include/stdint.h:26, from debug/ns3/ref-count-base.h:26, from ../bindings/python/ns3module_helpers.cc:1: /usr/include/features.h:160:1: error: this is the location of the previous definition Waf: Leaving directory `/tmp/ns-3-allinone/ns-3-dev/build' Build failed -> task failed (err #1): {task: cxx ns3module_helpers.cc -> ns3module_helpers_3.o} -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 11 03:22:50 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 11 Aug 2009 06:22:50 -0400 Subject: [Ns-bugs] [Bug 634] [PATCH] Feature to grab Network Length out of Ipv4Mask In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=634 Antti M?kel? changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |659 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 11 03:22:49 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 11 Aug 2009 06:22:49 -0400 Subject: [Ns-bugs] [Bug 659] New: Static routing with support for metrics and longest-prefix-match-first support Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 Summary: Static routing with support for metrics and longest- prefix-match-first support Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: routing AssignedTo: ns-bugs at isi.edu ReportedBy: zarhan at cc.hut.fi Depends on: 634 Estimated Hours: 0.0 Created an attachment (id=547) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=547) Patch to improve static routing This patch uses the GetLength patch from bug #634, http://www.nsnam.org/bugzilla/show_bug.cgi?id=634 I've started to work on better Ipv4StaticRouting support that would allow me to have (most importantly) multiple routes to same destination, and also defining the "destination" as prefix and mask. Attached patch now includes support for metrics (with default parameter =0), and when performing route lookup (LookupStatic), first matches for longest prefix and then based on metrics. If metrics are equal, latest addition is picked. "Default route" and "Host Routes" are no longer considered anything special: Default is simply 0.0.0.0/0 and Host Route is simply a /32. A small change to Ipv4-routing-table-entry now has AddHostRouteTo and IsHost using Ipv4Mask::GetOnes() instead of GetZero - as the route IS to a /32, that's how it should be anyway. API is backwards-compatible. The default metric is zero, and added as last parameter to any function calls. NotifyInterfaceDown (without any changes) should take care of deleting routes appropriately when interface goes down. This *should* take care of e.g. automatically switching to secondary default route. Up to user to reconfigure any routes when interface comes back up. Comments and testing appreciated. For example, I haven't tested multicast. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 11 04:52:29 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 11 Aug 2009 07:52:29 -0400 Subject: [Ns-bugs] [Bug 659] Static routing with support for metrics and longest-prefix-match-first support In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 Antti M?kel? changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #547 is|0 |1 obsolete| | --- Comment #1 from Antti M?kel? 2009-08-11 07:52:28 EDT --- Created an attachment (id=548) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=548) Patch to improve static routing Slightly better logging for lookups. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 11 05:48:22 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 11 Aug 2009 08:48:22 -0400 Subject: [Ns-bugs] [Bug 659] Static routing with support for metrics and longest-prefix-match-first support In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 Antti M?kel? changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #548 is|0 |1 obsolete| | --- Comment #2 from Antti M?kel? 2009-08-11 08:48:21 EDT --- Created an attachment (id=549) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=549) Reworked default route handling Reworked default route handling to completely do away old structures while maintaining backwards compatibility (old system broke down at IfDown). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 11 05:55:38 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 11 Aug 2009 08:55:38 -0400 Subject: [Ns-bugs] [Bug 659] Static routing with support for metrics and longest-prefix-match-first support In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 Antti M?kel? changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #549 is|0 |1 obsolete| | --- Comment #3 from Antti M?kel? 2009-08-11 08:55:38 EDT --- Created an attachment (id=550) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=550) One-liner fix, actually failed the longest-match test case before -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 11 20:28:25 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 11 Aug 2009 23:28:25 -0400 Subject: [Ns-bugs] [Bug 658] python bindings do not build for gcc-4.4.0 In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=658 --- Comment #1 from nethu 2009-08-11 23:28:25 EDT --- Created an attachment (id=551) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=551) the gcc can't build helper.cc -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 11 21:40:05 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 12 Aug 2009 00:40:05 -0400 Subject: [Ns-bugs] [Bug 659] Static routing with support for metrics and longest-prefix-match-first support In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomh at tomh.org --- Comment #4 from Tom Henderson 2009-08-12 00:40:05 EDT --- (In reply to comment #3) > Created an attachment (id=550) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=550) [details] > One-liner fix, actually failed the longest-match test case before > +1. If you already wrote a set of test cases for this new code, can we add them as a unit test to this model? (such as populating the routing table with a number of routes, and then querying for a route) -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 12 01:09:23 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 12 Aug 2009 04:09:23 -0400 Subject: [Ns-bugs] [Bug 659] Static routing with support for metrics and longest-prefix-match-first support In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 --- Comment #5 from Antti M?kel? 2009-08-12 04:09:22 EDT --- (In reply to comment #4) > +1. If you already wrote a set of test cases for this new code, can we add > them as a unit test to this model? (such as populating the routing table with > a number of routes, and then querying for a route) I don't have formal test cases limited only to testing this - I'm testing this right now in the scope of my own work. I guess I could cook up something based on examples/static-routing-slash32.cc though. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 12 05:29:12 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 12 Aug 2009 08:29:12 -0400 Subject: [Ns-bugs] [Bug 660] New: NormalVariable RNG's first returned value is not expected Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=660 Summary: NormalVariable RNG's first returned value is not expected Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: simulation core AssignedTo: ns-bugs at isi.edu ReportedBy: zarhan at cc.hut.fi Estimated Hours: 0.0 Created an attachment (id=552) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=552) Program that shows oddities in NormalVariable. When using NormalVariable, the first GetValue() call after initialization returns a rather odd value. Test program attached. Anyway, asking for 10 random values returns 1.06956e-311 13.8052 11.2844 9.71656 2.41641 8.41882 13.7028 7.21069 10.5926 11.8275 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 12 16:56:34 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 12 Aug 2009 19:56:34 -0400 Subject: [Ns-bugs] [Bug 655] YansWifiPhyHelper::SetStandard("Standard", StringValue("802.11b")) doesn't work In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=655 --- Comment #2 from Gary Pei 2009-08-12 19:56:34 EDT --- Created an attachment (id=553) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=553) modified third.cc to run 802.11b -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Aug 12 16:58:42 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 12 Aug 2009 19:58:42 -0400 Subject: [Ns-bugs] [Bug 655] YansWifiPhyHelper::SetStandard("Standard", StringValue("802.11b")) doesn't work In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=655 Gary Pei changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guangyu.pei at boeing.com --- Comment #3 from Gary Pei 2009-08-12 19:58:42 EDT --- (In reply to comment #0) > reported in ns-3-users thread: > > http://groups.google.com/group/ns-3-users/browse_thread/thread/b782d15c83761c09 > This is a user error rather than a bug. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Aug 12 17:19:11 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 12 Aug 2009 20:19:11 -0400 Subject: [Ns-bugs] [Bug 655] YansWifiPhyHelper::SetStandard("Standard", StringValue("802.11b")) doesn't work In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=655 --- Comment #4 from Gary Pei 2009-08-12 20:19:11 EDT --- (From update of attachment 553) User has to set MAC standard as well. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Aug 12 17:26:45 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 12 Aug 2009 20:26:45 -0400 Subject: [Ns-bugs] [Bug 656] rate controls do not affect wifi-clear-channel-cmu example program results In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=656 Gary Pei changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guangyu.pei at boeing.com --- Comment #5 from Gary Pei 2009-08-12 20:26:45 EDT --- (In reply to comment #2) > I removed 802.11b phy, and it gets zero packets with the "5000 meters apart" > scenario; however rate controls are still getting the same results in other > scenarios mentioned above. > (In reply to comment #4) > > *** This bug has been marked as a duplicate of bug 655 *** > Please see my comments in 655. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 00:40:39 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 03:40:39 -0400 Subject: [Ns-bugs] [Bug 639] implementation of Buffer::CopyData(std::ostream* os, uint32_t size) is not correct In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=639 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Remaining Hours|0.01 |0.0 Resolution| |FIXED --- Comment #6 from Mathieu Lacage 2009-08-13 03:40:39 EDT --- changesets b0743dbc4e55 and b251fb79becb -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 00:48:09 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 03:48:09 -0400 Subject: [Ns-bugs] [Bug 638] Add a Tx trace source to UdpEchoClient class In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=638 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathieu.lacage at sophia.inria. | |fr Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Mathieu Lacage 2009-08-13 03:48:09 EDT --- since tom acked it, I pushed a slightly-modified version of the patch changeset e56da5fd6697 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 00:50:57 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 03:50:57 -0400 Subject: [Ns-bugs] [Bug 645] [patch] fixes for opening stats file with OMNeT++ In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=645 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathieu.lacage at sophia.inria. | |fr --- Comment #2 from Mathieu Lacage 2009-08-13 03:50:57 EDT --- I am curious: is there somewhere an official documentation for the omnet++ file format ? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 01:19:05 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 04:19:05 -0400 Subject: [Ns-bugs] [Bug 645] [patch] fixes for opening stats file with OMNeT++ In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=645 --- Comment #3 from Andras Varga 2009-08-13 04:19:04 EDT --- (In reply to comment #2) Yes, it's an appendix to the OMNeT++ documentation. http://www.omnetpp.org/doc/omnetpp40/manual/usman.html#sec477 If there's interest, it can be expanded and turned into a standalone specification. There's also an alternative implementation in Java: http://www.omnetpp.org/omnetpp/doc_details/2194-jresultwriter-09 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 04:07:27 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 07:07:27 -0400 Subject: [Ns-bugs] [Bug 654] ConfigStore dies for attribute ns3::WifiRemoteStationManager::NonUnicastMode In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=654 --- Comment #3 from Mathieu Lacage 2009-08-13 07:07:27 EDT --- Created an attachment (id=554) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=554) introduce Invalid-Mode for true -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 04:13:24 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 07:13:24 -0400 Subject: [Ns-bugs] [Bug 654] ConfigStore dies for attribute ns3::WifiRemoteStationManager::NonUnicastMode In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=654 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathieu.lacage at sophia.inria. | |fr Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Mathieu Lacage 2009-08-13 07:13:24 EDT --- changeset 3fdb8f60a863 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 04:17:07 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 07:17:07 -0400 Subject: [Ns-bugs] [Bug 644] Radiotap header is specific to 802.11g In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=644 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathieu.lacage at sophia.inria. | |fr --- Comment #8 from Mathieu Lacage 2009-08-13 07:17:07 EDT --- It would be nice if this patch used a WifiMode instead of the raw 500kbps argument. This might allow you to handle easily the 5/10/10mhz modes, no ? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 04:41:24 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 07:41:24 -0400 Subject: [Ns-bugs] [Bug 644] Radiotap header is specific to 802.11g In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=644 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #9 from Mathieu Lacage 2009-08-13 07:41:24 EDT --- changeset d0041768ff60 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 04:43:35 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 07:43:35 -0400 Subject: [Ns-bugs] [Bug 643] Interference Helper may not calculate noise interference properly In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=643 --- Comment #4 from Mathieu Lacage 2009-08-13 07:43:35 EDT --- I am not sure I understand the proposed fix. Can you provide a patch with "hg diff" ? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 04:59:38 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 07:59:38 -0400 Subject: [Ns-bugs] [Bug 643] Interference Helper may not calculate noise interference properly In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=643 --- Comment #5 from Mathieu Lacage 2009-08-13 07:59:38 EDT --- Created an attachment (id=555) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=555) a potential patch ? I believe that this patch reflects what you have in mind. I think I sort of understand what bug it is fixing. What would be really really cool is if you could find a way to convert your test program into a regression test added to interference-helper.cc (something along the lines of dcf-manager-test.cc). If you can't do this, I guess I can commit this patch if you confirm that it is what you expected but it's hard for me to feel very good about this since none of our existing tests outline this bug or change their output with or without the patch. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 05:00:15 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 08:00:15 -0400 Subject: [Ns-bugs] [Bug 655] YansWifiPhyHelper::SetStandard("Standard", StringValue("802.11b")) doesn't work In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=655 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #5 from Mathieu Lacage 2009-08-13 08:00:15 EDT --- marking as INVALID based on gary's comment. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 12:00:19 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 15:00:19 -0400 Subject: [Ns-bugs] [Bug 661] New: WifiMacHeader Print Control Characters Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=661 Summary: WifiMacHeader Print Control Characters Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: wifi AssignedTo: ns-bugs at isi.edu ReportedBy: dnlove at gmail.com Estimated Hours: 0.0 Created an attachment (id=556) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=556) Fix WifiMacHeader Print Control Characters See http://groups.google.com/group/ns-3-users/browse_thread/thread/239c284e60865053 Let me know if that patch should suffice -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 16:41:11 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 19:41:11 -0400 Subject: [Ns-bugs] [Bug 643] Interference Helper may not calculate noise interference properly In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=643 --- Comment #6 from Trevor Bosaw 2009-08-13 19:41:11 EDT --- Hey, Yeah, it looks like that patch does what I was talking about. In the future I will include diff files with my bug submissions. Also, I'll look into converting this script into a regression test over the next few days. The reason this fix doesn't change any of the current test outputs is that this only changes the output when the interfering packet and the intended packet are received at exactly the same time (delta = 0 in this script) To explain the situation again, in the function that populates the niChange array, (CalculateNoiseInterferenceW) we populate depending on whether the start or end time of the interfering packet overlaps with the given event. the overlap method counts a given time as overlapping with an event if the given time is within the range of the event, or equals the event's start or end time. When delta = 0, the intended packet arrives at the same time as the interfering packet, the interfering packet is counted as 'overlapping' with the intended packet, AND since the interfering packet contributes to the noise in the system when the intended packet's start time occurs, the interfering packet's noise is added to the 'noise interference at the start time' variable. You can see the error in the niChange array if you print out the members of the array at the end of this function, because there will be two entries that correspond to the interfering packet's power. This means for the rest of the duration of the intended signal, the interfering noise power will be too high by a level equal to the interfering packet power. (I hope that explanation makes sense, essentially if you look at the members of the niChange array at the end of the CalculateNoiseInterferenceW function, it should be apparent that there's something wrong...) -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 19:34:39 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 22:34:39 -0400 Subject: [Ns-bugs] [Bug 661] WifiMacHeader Print Control Characters In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=661 duy changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #556 is|0 |1 obsolete| | --- Comment #1 from duy 2009-08-13 22:34:39 EDT --- Created an attachment (id=557) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=557) Fix WifiMacHeader Print Control Characters -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 19:48:32 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 22:48:32 -0400 Subject: [Ns-bugs] [Bug 661] WifiMacHeader Print Control Characters In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=661 duy changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #557 is|0 |1 obsolete| | --- Comment #2 from duy 2009-08-13 22:48:32 EDT --- Created an attachment (id=558) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=558) temporary patch for now WifiMacHeader control characters -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 19:56:20 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 22:56:20 -0400 Subject: [Ns-bugs] [Bug 661] WifiMacHeader Print Control Characters In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=661 --- Comment #3 from duy 2009-08-13 22:56:20 EDT --- Is there any reason for m_seqFrag to be declared as uint8_t? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 20:04:51 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 13 Aug 2009 23:04:51 -0400 Subject: [Ns-bugs] [Bug 661] WifiMacHeader Print Control Characters In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=661 duy changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #558 is|0 |1 obsolete| | --- Comment #4 from duy 2009-08-13 23:04:51 EDT --- Created an attachment (id=559) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=559) Fix WifiMacHeader Print Control Characters typecast m_seqFrag from uint8_t to uint18_t since it brings side effects to displaying the rates if we are using std::hex. Let me know if you have other sugesstions. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 13 23:07:53 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 14 Aug 2009 02:07:53 -0400 Subject: [Ns-bugs] [Bug 643] Interference Helper may not calculate noise interference properly In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=643 --- Comment #7 from Mathieu Lacage 2009-08-14 02:07:53 EDT --- (In reply to comment #6) > Also, I'll look into converting this script into a regression test over the > next few days. The reason this fix doesn't change any of the current test Ok, I will wait to push this patch until we can add the test. Thanks a lot. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 14 00:13:13 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 14 Aug 2009 03:13:13 -0400 Subject: [Ns-bugs] [Bug 653] NetDevice link change callback proposal In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=653 Sebastien Vincent changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #544 is|0 |1 obsolete| | --- Comment #2 from Sebastien Vincent 2009-08-14 03:13:13 EDT --- Created an attachment (id=560) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=560) std::list => TracedCallback Update patch : - typedef TracedCallback to ListCallback; - use ListCallback in NetDevice (csma, point-to-point, wifi, emu). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 14 01:34:23 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 14 Aug 2009 04:34:23 -0400 Subject: [Ns-bugs] [Bug 645] [patch] fixes for opening stats file with OMNeT++ In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=645 --- Comment #4 from Andras Varga 2009-08-14 04:34:22 EDT --- Some explanation to the patch. The syntax for recording scalar values in the file is this: scalar where moduleName is supposed to denote the component the statistic comes from, like "the 802.11 MAC module of host 12", and the statisticName should be something like "num pks received" or "avg delay". moduleName in OMNeT++ is in a dotted notation ("net.host[12].wifi.mac"), in ns3 it could be a name like "/NodeList/0/ApplicationList/0/$Sender/Tx" -- it doesn't really matter. Global statistics can be recorded under the name of the root object, or using the abbreviation ".". The current ns3 code generates lines like this: scalar wifi-tx-frames count 30 scalar wifi-rx-frames count 30 scalar sender-tx-packets count 30 scalar receiver-rx-packets count 30 So the name is written where the moduleName should be, and the statisticName is "count". This should be like this: scalar ??? wifi-tx-frames 30 ^ moduleName should come here The patch largely addresses this issue. moduleName (i.e. its ns3 equivalent, a hierarchical name) was not available in the original C++ code where the file was written, so we had to change the code to take it there. It became the "context" parameter. The other change is how statistical summary info (like count, total, avg, min, max, stddev) are recorded. Currently it's like this in the ns3 code: scalar tx-pkt-size count 30 scalar tx-pkt-size total 1920 scalar tx-pkt-size average 64 scalar tx-pkt-size max 64 scalar tx-pkt-size min 64 Where again, moduleName is missing, but if we introduce it, where to write count, total, min, max? There are two a ways. A simple solution is to treat them as independent statistics, like this: scalar tx-pkt-size-count 30 scalar tx-pkt-size-total 1920 scalar tx-pkt-size-average 64 scalar tx-pkt-size-max 64 scalar tx-pkt-size-min 64 The file format offers a better solution, and we went for that: statistic tx-pkt-size field count 30 field sum 1920 field min 64 field max 64 This is why the StatisticalSummary interface was introduced in the code, made MinMaxAvgTotalCalculator implement it, and the OutputStatistic() method was added. Hope this makes it easier to interpret the changes introduced by the patch. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Aug 14 03:21:52 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 14 Aug 2009 06:21:52 -0400 Subject: [Ns-bugs] [Bug 641] CwMin setting for 802.11b In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=641 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathieu.lacage at sophia.inria. | |fr Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Mathieu Lacage 2009-08-14 06:21:51 EDT --- changeset 15221757964f -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 14 03:24:25 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 14 Aug 2009 06:24:25 -0400 Subject: [Ns-bugs] [Bug 661] WifiMacHeader Print Control Characters In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=661 --- Comment #5 from Mathieu Lacage 2009-08-14 06:24:25 EDT --- (From update of attachment 559) >- os << "ToDS=" << m_ctrlToDs << ", FromDS=" << m_ctrlFromDs >- << ", MoreFrag=" << m_ctrlMoreFrag << ", Retry=" << m_ctrlRetry >- << ", MoreData=" << m_ctrlMoreData >+ os << "ToDS=" << std::hex << (int) m_ctrlToDs << ", FromDS=" << std::hex << (int) m_ctrlFromDs >+ << ", MoreFrag=" << std::hex << (int) m_ctrlMoreFrag << ", Retry=" << std::hex << (int) m_ctrlRetry >+ << ", MoreData=" << std::hex << (int) m_ctrlMoreData You need to switch back to std::dec after formatting these fields. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 14 04:05:18 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 14 Aug 2009 07:05:18 -0400 Subject: [Ns-bugs] [Bug 662] New: the GetRequestedBandwidth() function doesn't return the correct value of BandwidthRequested Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=662 Summary: the GetRequestedBandwidth() function doesn't return the correct value of BandwidthRequested Product: ns-3 Version: pre-release Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: wimax AssignedTo: ns-bugs at isi.edu ReportedBy: peppe.piro at gmail.com CC: amine.ismail at sophia.inria.fr Estimated Hours: 0.0 In uplink-scheduler.cc there are those lines code 454 uint32_t requiredBandwidth = record->GetRequestedBandwidth() 455 - record->GetGrantedBandwidth(); to calculate the bandwidth required by the service flows. The problem is that the value that GetRequestedBandwidth() returned isn't correct. I have printed its value befor the sending and after the reception of the BandwidthRequest Messages. An example are following written: SS (Basic CID: 8) scheduling bandwidth request, bandwidth requested: 432 bytes, service: rtPS, CID: 43521, SFID: 107 GP_DEBUG: SendBandwidthRequest SetBr(bytesToRequest) = 432 GetBr() = 432 ServiceFlowManager: enqueuing packet SS (Basic CID: 8) sending burst, SFID: 107, pkts sent: 1, pkts rcvd: 0, bytes sent: 6, bytes rcvd: 0 GP_DEBUG: DoReceive MacHeaderType::HEADER_TYPE_BANDWIDTH GetBr() = 65712 GP_DEBUG: ProcessBandwidthRequest GetBr() = 65712 In this example the SS requires 432 bytes but in the BandwidthRequest Messages, received by BS, the requestedBandwidth is equal to 65712. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 14 11:34:20 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 14 Aug 2009 14:34:20 -0400 Subject: [Ns-bugs] [Bug 661] WifiMacHeader Print Control Characters In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=661 duy changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #559 is|0 |1 obsolete| | --- Comment #6 from duy 2009-08-14 14:34:20 EDT --- Created an attachment (id=561) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=561) Updated patch for Wifi Mac Headers Print Thanks Mathieu, I just updated it. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Aug 15 19:56:05 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 15 Aug 2009 22:56:05 -0400 Subject: [Ns-bugs] [Bug 658] python bindings do not build for gcc-4.4.0 In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=658 Wesley Eddy changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wesley.m.eddy at nasa.gov --- Comment #2 from Wesley Eddy 2009-08-15 22:56:05 EDT --- Apparently, all you have to do is switch the order of the 2 #include lines at the top of ns-3.5/bindings/python/ns3module_helpers.cc to fix this. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Aug 17 05:45:33 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 17 Aug 2009 08:45:33 -0400 Subject: [Ns-bugs] [Bug 659] Static routing with support for metrics and longest-prefix-match-first support In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 Antti M?kel? changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #550 is|0 |1 obsolete| | --- Comment #6 from Antti M?kel? 2009-08-17 08:45:33 EDT --- Created an attachment (id=562) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=562) Fix for notifyInterfaceDown Actually fixing bug in *original* NotifyInterfaceDown. The problem is that indexing changes when you RemoveRoute(), thus, if a route is getting removed you should NOT increase the index. Reworked for into a while loop instead. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 18 12:02:56 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 18 Aug 2009 15:02:56 -0400 Subject: [Ns-bugs] [Bug 663] New: RST from remote TCP crashes ns-3 TCP Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=663 Summary: RST from remote TCP crashes ns-3 TCP Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: craigdo at ee.washington.edu Estimated Hours: 0.0 In another manifestation of incorrect ns-3 TCP shutdown problems(s), ff ns-3 receives a reset while sending data, it doesn't reset, it crashes. If ns-3 gets a reset, it calls TcpSocketImpl::ProcessEvent() which eventually does: if (m_state == CLOSED && saveState != CLOSED && m_endPoint != 0) { NS_ASSERT (m_tcp != 0); /* * We want to deallocate the endpoint now. We can't just naively call * Deallocate (see the comment in TcpSocketImpl::~TcpSocketImpl), we * have to turn off the DestroyCallback to keep it from calling back * into TcpSocketImpl::Destroy and closing pretty much everything down. * Once we have the callback disconnected, we can DeAllocate the * endpoint which actually deals with destroying the actual endpoint, * and then zero our member varible on general principles. */ m_endPoint->SetDestroyCallback(MakeNullCallback()); m_tcp->DeAllocate (m_endPoint); m_endPoint = 0; } Notice that the RST causes m_endPoint to be zeroed. The ns-3 TCP may happily try to TcpSocketImpl::Retransmit after this happens. In this case, tcpHeader.SetSourcePort (m_endPoint->GetLocalPort()); crashes since m_endPoint has been zeroed when the RST was received. This can be worked around by detecting the condition and not actually trying to retransmit the bits in TcpSocketImpl::Retransmit() if (m_endPoint == 0) { return; } This is just a hack, though. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 18 17:55:14 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 18 Aug 2009 20:55:14 -0400 Subject: [Ns-bugs] [Bug 660] NormalVariable RNG's first returned value is not expected In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=660 duy changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dnlove at gmail.com --- Comment #1 from duy 2009-08-18 20:55:14 EDT --- In "src/core/random-variable.cc", the variable m_nextValid behaves a bit strange, I have no idea where it gets initialized to 248 after already being initialized to 0. Output of the order of event in my log printout from random-variable.cc: In constructor NormalVariableImpl m_nextValid 0 In NormalVariableImpl::GetValue() m_nextValid is 248 gdb debuging still shows the mysterious number 248 after it already gets assigned 0. There isn't many places where m_nextValid gets assigned, and it's a mystery why it gets that value. (In reply to comment #0) > Created an attachment (id=552) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=552) [details] > Program that shows oddities in NormalVariable. > > When using NormalVariable, the first GetValue() call after initialization > returns a rather odd value. > > Test program attached. Anyway, asking for 10 random values returns > > 1.06956e-311 > 13.8052 > 11.2844 > 9.71656 > 2.41641 > 8.41882 > 13.7028 > 7.21069 > 10.5926 > 11.8275 > -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 18 20:00:52 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 18 Aug 2009 23:00:52 -0400 Subject: [Ns-bugs] [Bug 660] NormalVariable RNG's first returned value is not expected In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=660 --- Comment #2 from duy 2009-08-18 23:00:51 EDT --- Created an attachment (id=563) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=563) fixed the first erroneous value of GetValue from NormalVariable Apparently, we also must initialize variable m_nextValid in NormalVariableImpl::NormalVariableImpl(const NormalVariableImpl& c) as well. Please see the patch. I reran your example script it outputs fine now. 13.8052 11.2844 9.71656 2.41641 8.41882 13.7028 7.21069 10.5926 11.8275 10.5249 14.0481 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 18 20:06:59 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 18 Aug 2009 23:06:59 -0400 Subject: [Ns-bugs] [Bug 660] NormalVariable RNG's first returned value is not expected In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=660 duy changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #563 is|0 |1 obsolete| | --- Comment #3 from duy 2009-08-18 23:06:59 EDT --- Created an attachment (id=564) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=564) fixed the first erroneous value of GetValue from NormalVariable same patch, just rearrange it a bit to look nice. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 19 00:54:12 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 19 Aug 2009 03:54:12 -0400 Subject: [Ns-bugs] [Bug 660] NormalVariable RNG's first returned value is not expected In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=660 --- Comment #4 from Antti M?kel? 2009-08-19 03:54:12 EDT --- Seems to work now. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 19 01:40:51 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 19 Aug 2009 04:40:51 -0400 Subject: [Ns-bugs] [Bug 660] NormalVariable RNG's first returned value is not expected In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=660 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathieu.lacage at sophia.inria. | |fr --- Comment #5 from Mathieu Lacage 2009-08-19 04:40:50 EDT --- if --regression still passes, please commit I see that m_static_nextValid and m_static_next are unused: can you kill them in a separate patch if I am right and --regression still passes ? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 19 12:35:32 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 19 Aug 2009 15:35:32 -0400 Subject: [Ns-bugs] [Bug 660] NormalVariable RNG's first returned value is not expected In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=660 --- Comment #6 from duy 2009-08-19 15:35:31 EDT --- Created an attachment (id=565) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=565) fixed the first erroneous value of GetValue from NormalVariable and removed unused variable fixed the erroneous first return of NormalVariable and removed unused variable "static bool m_static_nextValid;" "static double m_static_next;" -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 20 00:42:51 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 20 Aug 2009 03:42:51 -0400 Subject: [Ns-bugs] [Bug 660] NormalVariable RNG's first returned value is not expected In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=660 --- Comment #7 from duy 2009-08-20 03:42:51 EDT --- it passes regression tests, but I don't know how to commit, do you mean change the resolution to "fixed" and click "commit" and it will be applied in ns-3-dev? (In reply to comment #5) > if --regression still passes, please commit > > I see that m_static_nextValid and m_static_next are unused: can you kill them > in a separate patch if I am right and --regression still passes ? > -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 21 06:31:49 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 21 Aug 2009 09:31:49 -0400 Subject: [Ns-bugs] [Bug 664] New: memory fault/dangling pointer problems in tcp-socket-impl.cc, with suggested fixes Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=664 Summary: memory fault/dangling pointer problems in tcp-socket- impl.cc, with suggested fixes Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: wdr at bell-labs.com Estimated Hours: 0.0 Created an attachment (id=566) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=566) Revised version of source. Works for me. However, it's based on 3.5 stable, not dev. I found the following bugs in stable version 3.5 of internet-stack/tcp-socket- impl.cc. Symptoms are crashing with a memory fault and/or getting stuck in a loop when the simulation ends. 1. TcpSocketImpl::PersistTimeout() uses m_pendingData without verifying that it's not 0. It's clear that the lines up to and including SendPacket() should be guarded with a test, as in: if (!m_pendingData) { Ptr

= m_pendingData->...; ...; m_tcp->SendPacket (...); } But I'm not sure about last few lines, where it reschedules the event. Should those be invoked if m_pendingData is 0? 2. Sometimes the socket is deleted when there is a pending m_rextEvent. As a result, the scheduler calls the handler function on the freed space, with the usual nasty result. I think the solution is to cancel the event in TcpSocketImpl::ProcessEvent(), when it detects that the socket is closed: if (m_state == CLOSED && saveState != CLOSED && m_endPoint != 0) { ..... m_rextEvent.Cancel (); // ADD } 3. Under heavy load, the m_persistEvent event isn't always canceled before the socket is deleted. I don't know where it's supposed to be canceled, but one solution is to cancel it in the d'tor. And for safety, it would be nice to assert that the other events are no longer active. Eg, add the following to TcpSocketImpl::~TcpSocketImpl(): NS_ASSERT (m_retxEvent.IsExpired ()); NS_ASSERT (m_lastAckEvent.IsExpired ()); NS_ASSERT (m_delAckEvent.IsExpired ()); m_persistEvent.Cancel (); 1 & 3 are also a problem in version 3.4. I've attached a modified version that works for me. It's based on stable version 3.5. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 21 11:09:21 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 21 Aug 2009 14:09:21 -0400 Subject: [Ns-bugs] [Bug 665] New: Need Tutorial Sectino on Config Path and Tracing Use Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=665 Summary: Need Tutorial Sectino on Config Path and Tracing Use Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: documentation AssignedTo: ns-bugs at isi.edu ReportedBy: craigdo at ee.washington.edu Estimated Hours: 0.0 Our users are obviously having a hard time understanding how to construct correct config paths and use them. We need to have a tutorial section that does some hand-holding and detailed explanation of what is going on. In conjunction with some new NS_LOG messages in config.cc we need to walk through examples, and follow in detail, how one would figure out what goes right and what goes wrong in this area. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 21 12:24:18 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 21 Aug 2009 15:24:18 -0400 Subject: [Ns-bugs] [Bug 660] NormalVariable RNG's first returned value is not expected In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=660 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomh at tomh.org --- Comment #8 from Tom Henderson 2009-08-21 15:24:17 EDT --- (In reply to comment #7) > it passes regression tests, but I don't know how to commit, do you mean change > the resolution to "fixed" and click "commit" and it will be applied in > ns-3-dev? No, bugzilla is not linked to the repository in that way. I'll contact you about this. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 21 14:09:18 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 21 Aug 2009 17:09:18 -0400 Subject: [Ns-bugs] [Bug 666] New: wifi rates off by factor of 1000000 in ascii output Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=666 Summary: wifi rates off by factor of 1000000 in ascii output Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: trivial Priority: P5 Component: wifi AssignedTo: ns-bugs at isi.edu ReportedBy: nowatkom at gatech.edu Estimated Hours: 0.0 The ascii output for wifi rates is off by a factor of 1000000. This is fixed by changing line 139 of ns-3-dev/src/devices/wifi/supported-rates.cc The current line is: os << (rate) << "mbs"; The proposed fix is: os << (rate/1000000) << "mbs"; Current snip of output from /examples/wifi-ap.cc is: PHYTX mode=wifia-6mbs ns3::WifiMacHeader (MGT_BEACON ToDS=0, FromDS=0, MoreFrag=0, Retry=0, MoreData=0 Duration/ID=0us, DA=ff:ff:ff:ff:ff:ff, SA=00:00:00:00:00:03, BSSID=00:00:00:00:00:03, FragNumber=0, SeqNumber=0) ns3::MgtProbeResponseHeader (ssid=wifi-default, rates=[*6000000mbs 9000000mbs 12000000mbs 18000000mbs 24000000mbs 36000000mbs 48000000mbs 54000000mbs]) ns3::WifiMacTrailer () Snip of output from /examples/wifi-ap.cc after changing line 139: PHYTX mode=wifia-6mbs ns3::WifiMacHeader (MGT_BEACON ToDS=0, FromDS=0, MoreFrag=0, Retry=0, MoreData=0 Duration/ID=0us, DA=ff:ff:ff:ff:ff:ff, SA=00:00:00:00:00:03, BSSID=00:00:00:00:00:03, FragNumber=0, SeqNumber=0) ns3::MgtProbeResponseHeader (ssid=wifi-default, rates=[*6mbs 9mbs 12mbs 18mbs 24mbs 36mbs 48mbs 54mbs]) ns3::WifiMacTrailer () -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Aug 22 20:57:06 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 22 Aug 2009 23:57:06 -0400 Subject: [Ns-bugs] [Bug 659] Static routing with support for metrics and longest-prefix-match-first support In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 Bug 659 depends on bug 634, which changed state. Bug 634 Summary: [PATCH] Feature to grab Network Length out of Ipv4Mask http://www.nsnam.org/bugzilla/show_bug.cgi?id=634 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Aug 22 20:57:06 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 22 Aug 2009 23:57:06 -0400 Subject: [Ns-bugs] [Bug 634] [PATCH] Feature to grab Network Length out of Ipv4Mask In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=634 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Tom Henderson 2009-08-22 23:57:06 EDT --- (In reply to comment #3) > (In reply to comment #2) > > What about improving the implementation to detect a leading slash, and also > > allow these strings? > > > > Ipv4Mask ("/32") > > Ipv4Mask ("/24") > > etc. > > Sounds like a good idea. > > > > (Ipv6Prefix::Ipv6Prefix(uint8_t) DOES exist). > > > > > > Also Ipv6Prefix class didn't seem to have a convention for function name to > > > simply get the length, so I used this one. > > I didn't quite understand the above comment-- you are saying that you invented > > "GetMaskLength()" because there was no corresponding "GetPrefixLength()" > > function in IPv6? Should you also add a similar length function to > > Ipv6Prefix? > > Since Ipv4 stuff seems to talk about Masks (class name: Ipv4Mask) and Ipv6 > talks about prefixes (Ipv6Prefix) I went with "Mask" here just to keep with > what seemed to be convention on Ipv4 side. So it's just whether this should be > called GetPrefixLength() or GetMaskLength(). I elected to change this to GetPrefixLength(), for future IPv6 alignment, and because prefix length is a common term in IPv4 (strictly speaking, mask length is 32 bits, I suppose). changeset 0488cf67d707 I also added the option to specify masks as "/yy" string notation in the constructor. changeset dc159c3d34ee -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Aug 23 04:28:38 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 23 Aug 2009 07:28:38 -0400 Subject: [Ns-bugs] [Bug 667] New: patches to enable ECMP in global routing Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=667 Summary: patches to enable ECMP in global routing Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: routing AssignedTo: ns-bugs at isi.edu ReportedBy: wilsonwk at ee.cityu.edu.hk Estimated Hours: 0.0 Created an attachment (id=567) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=567) 1) Patch to amend CandidateQueue class *** Introduction *** As of changeset 258cf77942bc, the global routing implementation does not consider equal-cost-multi-paths (ECMP) when building routing tables on nodes. The patches included in this bug report is intended to enhance the global routing implementation in this respect. ** Usage node *** Apply the following patches in the order listed below (from 1) to 2) to 3)) 1) enable-ecmp-change-candidate-queue-to-consider-lsa-type-when-ordering.patch 2) enable-ecmp-in-global-routing.patch 3) enable-ecmp-add-ns-log-info.patch Set the "RandomEcmpRouting" attribute to true and packets are routed uniformly at random on ECMP. To disable random routing among ECMP, set the attribute to false. There exists several methods to balance traffic among several ECMP, but currently only pure-random is implemented. *** Change node *** Four major changes to global routing implementation are listed below - Amended CandidateQueue class so that network SPFVertex is always chosen before router SPFVertex when they are both equal distance from the root. This is an outstanding implementation in quagga also, according to the Kunihiro's comment that is left in the quagga 0.98.6 source code. - Amended GlobalRouteManagerImpl class so that it is able to store multiple parents SPFVertex and multiple next hops from the root. Regarding updating the list of next hops, the old list of next hops for a node is just flushed with the new list of next hops whenever shorter paths to the node is found. Discussion on this flushing maybe necessary in view of the comments left in the method quagga-0.98.6/ospf_spf.c/ospf_spf_consider_nexthop (). - Amended GlobalRouteManagerImpl class so that it now considers the case when a candidate SPFVertex is found to have equal distance to the root with an existing SPFVertex in the SPF tree. The amendment also allows adding multiple route entires into a root's routing table in cases there are two or more root's next hops for reaching a node. - Amended Ipv4GlobalRouting class so that it can select one of the multiple routes for a given node when there exist ECMP. Currently, only the following selection method is implemented --- a route is selected from multiple ECMP routes uniformly at random. *** Reference *** - RFC2328, Section 16.1 - quagga-0.98.6\ospfd\ospf_spf.c -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Aug 23 04:29:39 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 23 Aug 2009 07:29:39 -0400 Subject: [Ns-bugs] [Bug 667] patches to enable ECMP in global routing In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=667 --- Comment #1 from wilson thong 2009-08-23 07:29:39 EDT --- Created an attachment (id=568) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=568) 2) Patch to amend the SPF trees calculation -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Aug 23 04:30:48 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 23 Aug 2009 07:30:48 -0400 Subject: [Ns-bugs] [Bug 667] patches to enable ECMP in global routing In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=667 --- Comment #2 from wilson thong 2009-08-23 07:30:48 EDT --- Created an attachment (id=569) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=569) 3) Optional. To include more NS_LOG_INFO for debugging -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Aug 23 04:31:09 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 23 Aug 2009 07:31:09 -0400 Subject: [Ns-bugs] [Bug 667] patches to enable ECMP in global routing In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=667 wilson thong changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #568|2) Patch to amend the SPF |2) Patch to amend the SPF description|trees calculation |trees calculation and global | |routing protocol -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Aug 23 04:33:16 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 23 Aug 2009 07:33:16 -0400 Subject: [Ns-bugs] [Bug 667] patches to enable ECMP in global routing In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=667 wilson thong changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://groups.google.com/gro | |up/ns-3- | |users/browse_thread/thread/c | |a11d3ab23dc67e2# -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Aug 23 11:25:50 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 23 Aug 2009 14:25:50 -0400 Subject: [Ns-bugs] [Bug 667] patches to enable ECMP in global routing In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=667 Antti M?kel? changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zarhan at cc.hut.fi --- Comment #3 from Antti M?kel? 2009-08-23 14:25:50 EDT --- Just in case - I hope you are aware of my patch in bug #614 - not sure if it affects your design and how much. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Aug 23 12:37:28 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 23 Aug 2009 15:37:28 -0400 Subject: [Ns-bugs] [Bug 667] patches to enable ECMP in global routing In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=667 --- Comment #4 from wilson thong 2009-08-23 15:37:28 EDT --- Updated the "usage note" below. The fully qualified name for the attribute should be "ns3::Ipv4GlobalRouting::RandomEcmpRouting" (In reply to comment #0) > Created an attachment (id=567) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=567) [details] > 1) Patch to amend CandidateQueue class > > *** Introduction *** > > As of changeset 258cf77942bc, the global routing implementation does not > consider equal-cost-multi-paths (ECMP) when building routing tables on nodes. > The patches included in this bug report is intended to enhance the global > routing implementation in this respect. > > ** Usage node *** > > Apply the following patches in the order listed below (from 1) to 2) to 3)) > 1) enable-ecmp-change-candidate-queue-to-consider-lsa-type-when-ordering.patch > 2) enable-ecmp-in-global-routing.patch > 3) enable-ecmp-add-ns-log-info.patch > > Set the "ns3::Ipv4GlobalRouting::RandomEcmpRouting" attribute to true and packets are routed uniformly > at random on ECMP. To disable random routing among ECMP, set the attribute to > false. > > There exists several methods to balance traffic among several ECMP, but > currently only pure-random is implemented. > > *** Change node *** > > Four major changes to global routing implementation are listed below > > - Amended CandidateQueue class so that network SPFVertex is always chosen > before router SPFVertex when they are both equal distance from the root. This > is an outstanding implementation in quagga also, according to the Kunihiro's > comment that is left in the quagga 0.98.6 source code. > > - Amended GlobalRouteManagerImpl class so that it is able to store multiple > parents SPFVertex and multiple next hops from the root. Regarding updating the > list of next hops, the old list of next hops for a node is just flushed with > the new list of next hops whenever shorter paths to the node is found. > Discussion on this flushing maybe necessary in view of the comments left in the > method quagga-0.98.6/ospf_spf.c/ospf_spf_consider_nexthop (). > > - Amended GlobalRouteManagerImpl class so that it now considers the case when a > candidate SPFVertex is found to have equal distance to the root with an > existing SPFVertex in the SPF tree. The amendment also allows adding multiple > route entires into a root's routing table in cases there are two or more root's > next hops for reaching a node. > > - Amended Ipv4GlobalRouting class so that it can select one of the multiple > routes for a given node when there exist ECMP. Currently, only the following > selection method is implemented --- a route is selected from multiple ECMP > routes uniformly at random. > > *** Reference *** > - RFC2328, Section 16.1 > - quagga-0.98.6\ospfd\ospf_spf.c > -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Aug 23 12:41:57 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 23 Aug 2009 15:41:57 -0400 Subject: [Ns-bugs] [Bug 667] patches to enable ECMP in global routing In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=667 --- Comment #5 from wilson thong 2009-08-23 15:41:56 EDT --- Seem bug #614 doesn't affect to logic here, just some rework on coding. ^^ And I try my best to follow closely how quagga-0.98.6 does the ECMP. As long as we all follow quagga, I don't see the global routing design needs any big changes. (In reply to comment #3) > Just in case - I hope you are aware of my patch in bug #614 - not sure if it > affects your design and how much. > -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Aug 23 21:58:23 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 24 Aug 2009 00:58:23 -0400 Subject: [Ns-bugs] [Bug 653] NetDevice link change callback proposal In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=653 --- Comment #3 from Tom Henderson 2009-08-24 00:58:23 EDT --- (In reply to comment #2) > Created an attachment (id=560) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=560) [details] > std::list => TracedCallback > > Update patch : > - typedef TracedCallback to ListCallback; > - use ListCallback in NetDevice (csma, point-to-point, wifi, emu). > For the moment, how about just removing the typedef until requirements for a ListCallback are better sorted out, and just using a TracedCallback (with your other changes)? Plus, we need to patch CHANGES.html. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Aug 24 01:13:32 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 24 Aug 2009 04:13:32 -0400 Subject: [Ns-bugs] [Bug 653] NetDevice link change callback proposal In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=653 --- Comment #4 from Sebastien Vincent 2009-08-24 04:13:32 EDT --- Created an attachment (id=570) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=570) Use TracedCallback object in *-net-device Update patch. It also add code to flush IPv6 neighbor discovery cache (in Icmpv6L4Protocol) and some text in CHANGES.html. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Aug 24 18:33:37 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 24 Aug 2009 21:33:37 -0400 Subject: [Ns-bugs] [Bug 660] NormalVariable RNG's first returned value is not expected In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=660 duy changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #9 from duy 2009-08-24 21:33:36 EDT --- pushed in changeset 4736 fef6ccee5897 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Aug 24 19:02:42 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 24 Aug 2009 22:02:42 -0400 Subject: [Ns-bugs] [Bug 661] WifiMacHeader Print Control Characters In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=661 duy changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from duy 2009-08-24 22:02:42 EDT --- pushed in changeset 4737 5e4fb3918879 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Aug 25 08:01:04 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 25 Aug 2009 11:01:04 -0400 Subject: [Ns-bugs] [Bug 662] the GetRequestedBandwidth() function doesn't return the correct value of BandwidthRequested In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=662 Mohamed Amine ISMAIL changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ns-bugs at isi.edu |amine.ismail at sophia.inria.fr -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 26 03:35:56 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 26 Aug 2009 06:35:56 -0400 Subject: [Ns-bugs] [Bug 381] Wifi crashes on shutdown In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=381 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #7 from Nicola Baldo 2009-08-26 06:35:56 EDT --- I experienced this bug once again, so I am re-opening it. This time I can reproduce it with plain ns-3-dev. See attached program below. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 26 03:36:45 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 26 Aug 2009 06:36:45 -0400 Subject: [Ns-bugs] [Bug 381] Wifi crashes on shutdown In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=381 --- Comment #8 from Nicola Baldo 2009-08-26 06:36:45 EDT --- Created an attachment (id=572) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=572) program reproducing the bug -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Aug 26 21:23:13 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 27 Aug 2009 00:23:13 -0400 Subject: [Ns-bugs] [Bug 669] New: main-packet-printer broken Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=669 Summary: main-packet-printer broken Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: sample programs AssignedTo: ns-bugs at isi.edu ReportedBy: tomh at tomh.org Estimated Hours: 0.0 samples/main-packet-printer was not updated when the packet API was reworked. It needs to be added to wscript and needs to be updated. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 27 23:50:04 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 28 Aug 2009 02:50:04 -0400 Subject: [Ns-bugs] [Bug 614] [PATCH] Feature to allow to injecting routes to GlobalRouting In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=614 --- Comment #16 from Tom Henderson 2009-08-28 02:50:03 EDT --- (In reply to comment #14) > Created an attachment (id=529) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=529) [details] > Updated example > > Updated example (now uses Helper's GetGlobalRouting() instead of built-in). > I went to check this in and decided to change the API a bit (and revised some doxygen). The main change I made was to move the InjectRoute() API from class Ipv4GlobalRouting to class GlobalRouter. This latter class makes more sense IMO to store these routes; then, they do not have to be passed in from the Ipv4GlobalRouting class (which is really intended to store the forwarding table entries), and the helper API does not need to be changed anymore. The example program can obtain a pointer to GlobalRouter via GetObject (). See updated example. Please review these revisions before I check them in. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 27 23:50:32 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 28 Aug 2009 02:50:32 -0400 Subject: [Ns-bugs] [Bug 614] [PATCH] Feature to allow to injecting routes to GlobalRouting In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=614 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #528 is|0 |1 obsolete| | --- Comment #17 from Tom Henderson 2009-08-28 02:50:32 EDT --- Created an attachment (id=573) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=573) Updated patch -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Aug 27 23:50:55 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 28 Aug 2009 02:50:55 -0400 Subject: [Ns-bugs] [Bug 614] [PATCH] Feature to allow to injecting routes to GlobalRouting In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=614 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #529 is|0 |1 obsolete| | --- Comment #18 from Tom Henderson 2009-08-28 02:50:55 EDT --- Created an attachment (id=574) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=574) Updated example -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 28 00:37:26 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 28 Aug 2009 03:37:26 -0400 Subject: [Ns-bugs] [Bug 614] [PATCH] Feature to allow to injecting routes to GlobalRouting In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=614 --- Comment #19 from Antti M?kel? 2009-08-28 03:37:26 EDT --- (In reply to comment #16) > I went to check this in and decided to change the API a bit (and revised some > doxygen). The main change I made was to move the InjectRoute() API from class > Ipv4GlobalRouting to class GlobalRouter. This latter class makes more sense > IMO to store these routes; then, they do not have to be passed in from the > Ipv4GlobalRouting class (which is really intended to store the forwarding table > entries), and the helper API does not need to be changed anymore. The example > program can obtain a pointer to GlobalRouter via GetObject (). > See updated example. Makes sense to me. After all, GlobalRouter is a special case in the sense that there *does* exist an aggregated object that you can find directly from Node level. Should be more efficient this way instead of having to go through all the objects in ListRouting. Probably should create that WithdrawRoute(uint32_t) function too..should be simple enough, just copypaste GetRoute and change the "return *j" to "m_injectedRoutes.erase(j)". -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 28 07:51:17 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 28 Aug 2009 10:51:17 -0400 Subject: [Ns-bugs] [Bug 614] [PATCH] Feature to allow to injecting routes to GlobalRouting In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=614 --- Comment #20 from Tom Henderson 2009-08-28 10:51:17 EDT --- > Probably should create that WithdrawRoute(uint32_t) function too..should be > simple enough, just copypaste GetRoute and change the "return *j" to > "m_injectedRoutes.erase(j)". > How about aligning the WithdrawRoute method with InjectRoute, and namely just allow users to specify Network/Mask rather than a route index? The function could search for the route and erase it if found, and assert if not found. Users would have to explicitly call RecomputeRoutingTables to flush out the ExternalLSA. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 28 08:52:34 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 28 Aug 2009 11:52:34 -0400 Subject: [Ns-bugs] [Bug 614] [PATCH] Feature to allow to injecting routes to GlobalRouting In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=614 --- Comment #21 from Antti M?kel? 2009-08-28 11:52:34 EDT --- (In reply to comment #20) > > Probably should create that WithdrawRoute(uint32_t) function too..should be > > simple enough, just copypaste GetRoute and change the "return *j" to > > "m_injectedRoutes.erase(j)". > > > > How about aligning the WithdrawRoute method with InjectRoute, and namely just > allow users to specify Network/Mask rather than a route index? The function > could search for the route and erase it if found, and assert if not found. > Users would have to explicitly call RecomputeRoutingTables to flush out the > ExternalLSA. Well, I was going with the alignment to StaticRouting's RemoveRoute()-method since no such possibility exists there, either. I wouldn't do an assert on not finding it though - maybe return a boolean on whether it succeeded. Anyway, thanks for improving my patch.. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Aug 28 11:44:41 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 28 Aug 2009 14:44:41 -0400 Subject: [Ns-bugs] [Bug 614] [PATCH] Feature to allow to injecting routes to GlobalRouting In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=614 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #573 is|0 |1 obsolete| | --- Comment #22 from Tom Henderson 2009-08-28 14:44:41 EDT --- Created an attachment (id=575) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=575) add WithdrawRoute() and RemoveInjectedRoute() methods New api in this version + bool WithdrawRoute (Ipv4Address network, Ipv4Mask networkMask); + void RemoveInjectedRoute (uint32_t i); -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Aug 29 21:46:59 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 30 Aug 2009 00:46:59 -0400 Subject: [Ns-bugs] [Bug 612] example scripts In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=612 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #495 is|0 |1 obsolete| | --- Comment #3 from Tom Henderson 2009-08-30 00:46:59 EDT --- Created an attachment (id=576) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=576) wifi-simple-adhoc.cc align with ns-3-dev -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Aug 29 21:47:28 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 30 Aug 2009 00:47:28 -0400 Subject: [Ns-bugs] [Bug 612] example scripts In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=612 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #496 is|0 |1 obsolete| | --- Comment #4 from Tom Henderson 2009-08-30 00:47:28 EDT --- Created an attachment (id=577) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=577) wifi-simple-infra.cc -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Aug 29 21:48:15 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 30 Aug 2009 00:48:15 -0400 Subject: [Ns-bugs] [Bug 612] example scripts In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=612 --- Comment #6 from Tom Henderson 2009-08-30 00:48:15 EDT --- Created an attachment (id=579) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=579) wifi-simple-adhoc-grid.cc -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Aug 29 21:47:55 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 30 Aug 2009 00:47:55 -0400 Subject: [Ns-bugs] [Bug 612] example scripts In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=612 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #497 is|0 |1 obsolete| | --- Comment #5 from Tom Henderson 2009-08-30 00:47:55 EDT --- Created an attachment (id=578) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=578) wifi-simple-interference.cc -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Aug 29 21:51:38 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 30 Aug 2009 00:51:38 -0400 Subject: [Ns-bugs] [Bug 612] example scripts In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=612 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomh at tomh.org --- Comment #7 from Tom Henderson 2009-08-30 00:51:37 EDT --- The tracker is a bad place for these examples. I'd like to create an examples/wifi directory for these programs. Again, my hesistation in posting these to examples/ directory is because of the issue reported in bug 609; namely that ns-3 takes long enough to build/link without adding four more examples. So maybe we can provide a default build that doesn't try to link every example, and then create examples/wifi directory for these. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Aug 29 22:04:08 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 30 Aug 2009 01:04:08 -0400 Subject: [Ns-bugs] [Bug 658] python bindings do not build for gcc-4.4.0 In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=658 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Tom Henderson 2009-08-30 01:04:08 EDT --- this was previously fixed but not closed -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Aug 30 04:23:18 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 30 Aug 2009 07:23:18 -0400 Subject: [Ns-bugs] [Bug 659] Static routing with support for metrics and longest-prefix-match-first support In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 --- Comment #7 from Antti M?kel? 2009-08-30 07:23:18 EDT --- One place where backwards compatibility right now is broken - it used to be that if you have a default route set, doing a GetRoute(0) would always return the default first. Wondering if such a quirk should be included or not. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Aug 30 14:58:26 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 30 Aug 2009 17:58:26 -0400 Subject: [Ns-bugs] [Bug 659] Static routing with support for metrics and longest-prefix-match-first support In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 --- Comment #8 from Tom Henderson 2009-08-30 17:58:26 EDT --- (In reply to comment #7) > One place where backwards compatibility right now is broken - it used to be > that if you have a default route set, doing a GetRoute(0) would always return > the default first. Wondering if such a quirk should be included or not. > I'm not in favor of retaining the quirk. It duplicates GetDefaultRoute () and it seems to prevent a user from obtaining the first route stored in m_hostRoutes. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Aug 30 23:11:07 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 31 Aug 2009 02:11:07 -0400 Subject: [Ns-bugs] [Bug 659] Static routing with support for metrics and longest-prefix-match-first support In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 --- Comment #9 from Tom Henderson 2009-08-31 02:11:07 EDT --- I reviewed this again tonight and plan to push it in the next day or so (along with the patch in bug 614) if there are no other comments. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Aug 31 00:18:05 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 31 Aug 2009 03:18:05 -0400 Subject: [Ns-bugs] [Bug 659] Static routing with support for metrics and longest-prefix-match-first support In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 Antti M?kel? changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #562 is|0 |1 obsolete| | --- Comment #10 from Antti M?kel? 2009-08-31 03:18:05 EDT --- Created an attachment (id=580) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=580) New version aligned with GetPrefixLength() Uses GetPrefixLength instead of GetMaskLength, as per changes in other bug. Also, fix for GetDefaultRoute, now it returns empty Ipv4RoutingTableEntry instead of pure zero when there isn't a default route (just like in the old version). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Aug 31 23:12:59 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 01 Sep 2009 02:12:59 -0400 Subject: [Ns-bugs] [Bug 614] [PATCH] Feature to allow to injecting routes to GlobalRouting In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=614 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #23 from Tom Henderson 2009-09-01 02:12:59 EDT --- checked in as changeset a0e27af57c8d -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Aug 31 23:39:35 2009 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 01 Sep 2009 02:39:35 -0400 Subject: [Ns-bugs] [Bug 659] Static routing with support for metrics and longest-prefix-match-first support In-Reply-To: References: Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=659 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #11 from Tom Henderson 2009-09-01 02:39:34 EDT --- added as changeset 3dc675bb8b20 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.