Commit Graph

703 Commits (66c3a25fe1df34810316138c8a92c048031ded53)

Author SHA1 Message Date
Mathieu Lacage 5c9a4d2328 fix last leaks with new refcounted mechanism 2007-05-03 00:31:04 +02:00
Mathieu Lacage 66780ca8aa constify refcounted object base class 2007-05-03 00:23:23 +02:00
Mathieu Lacage 4a90819ba6 port sample code to refcounting model 2007-05-03 00:12:39 +02:00
Mathieu Lacage 08e8dbec66 remove dead method declaration and dead use 2007-05-02 23:45:26 +02:00
Mathieu Lacage 77a1488dd2 implement properly the refcounting rules for the capability getters 2007-05-02 23:42:22 +02:00
Mathieu Lacage e5d10e4bf7 make capabilities and sockets refcounted 2007-05-02 23:18:51 +02:00
Mathieu Lacage 5528c400d0 implement Dispose properly throughout the network stack 2007-05-02 23:08:41 +02:00
Mathieu Lacage 43154a6a64 use Dispose more extensively 2007-05-02 22:32:25 +02:00
Raj Bhattacharjea 34160210b4 Added default value sample 2007-05-02 15:23:35 -04:00
Raj Bhattacharjea b31f827d9b Merged in default code 2007-05-02 13:39:39 -04:00
Mathieu Lacage 3dbf9f25e1 rework the socket/udp layer to remove the Ipv4EndPointDemux template 2007-05-02 19:14:34 +02:00
Raj Bhattacharjea a158a93198 Randomvariable Lognormal added 2007-05-02 09:37:15 -04:00
Mathieu Lacage 2d41f0a3c1 fix segfault 2007-05-02 15:14:27 +02:00
Mathieu Lacage 9021652bd3 use ref/unref for Node in more cases 2007-05-02 15:07:33 +02:00
Mathieu Lacage 48899c0ba7 remove nil macro 2007-05-02 14:52:34 +02:00
Mathieu Lacage e24a6a189a remove dead files 2007-05-02 14:46:14 +02:00
Mathieu Lacage b20e550e89 remove nil macro 2007-05-02 14:43:18 +02:00
Mathieu Lacage ad230ae351 remove nil macro 2007-05-02 14:41:34 +02:00
Mathieu Lacage 0ee24c204f remove nil macro 2007-05-02 14:41:18 +02:00
Mathieu Lacage 43adf5863d apply ref/unref rules consistently for Node 2007-05-02 14:40:40 +02:00
Mathieu Lacage c5193f1e74 remove useless methode declaration 2007-05-02 14:28:07 +02:00
Mathieu Lacage 1893fea2ea rename NodeList::GetNode to NodeList::PeekNode to avoid memory leaks. Call Dispose from NodeListPriv::~NodeListPriv 2007-05-02 13:59:29 +02:00
Mathieu Lacage acf2d25cd5 rework the Node and NodeList classes to manage reference counts correctly 2007-05-02 13:44:41 +02:00
Mathieu Lacage 3cc6ff972b a singleton template class to simplify the implementation of a few classes 2007-05-02 13:43:41 +02:00
Mathieu Lacage c82b51d8da remove Node::Copy, Node::Create and Node::*Prototype* methods. 2007-05-02 12:34:53 +02:00
Mathieu Lacage 3b476dbd6c do not leak the NetDevice from P2PTopology 2007-05-02 12:12:55 +02:00
Mathieu Lacage a6e2a3fc30 do not leak the channel from simple-p2p 2007-05-02 11:43:22 +02:00
Mathieu Lacage 767fceb6f0 do not use Simulator::StopAt to avoid too many memory leaks 2007-05-02 11:38:21 +02:00
Mathieu Lacage 54e9226bdd make Application::Stop work 2007-05-02 11:37:52 +02:00
Mathieu Lacage 0c235e8edd improve debugger output for time variables when we do not need the 128 bit statistics 2007-05-02 11:22:27 +02:00
Mathieu Lacage 9bb706c627 destroy prototype stack upon Simulator::Destroy 2007-05-02 10:41:34 +02:00
Mathieu Lacage 6d4e502109 destroy the Node vector upon Simulator::Destroy rather than wait until the global static destructor of Node::g_nodes is invoked. This fixes a bad assert caught with valgrind. 2007-05-02 10:33:39 +02:00
Mathieu Lacage 1eeab81136 manage NetDevice objects with refcounts 2007-05-02 10:25:06 +02:00
Mathieu Lacage 5f7f31e7c9 temporarily invoke node's Dispose from user script 2007-05-02 10:24:59 +02:00
Mathieu Lacage b7ad24cea9 make sure that Simulator::Cancel deals correctly with events which were already scheduled 2007-05-02 10:20:44 +02:00
Mathieu Lacage 6e03b80cd0 call dispose from within the destructor 2007-05-02 09:18:18 +02:00
Mathieu Lacage d4814abf5f just a small typo 2007-05-02 09:18:02 +02:00
Mathieu Lacage cdee56670e derive from Object for proper refcounting 2007-05-02 09:17:42 +02:00
Mathieu Lacage 63a732f71e do not try to dispose the parent's ressources from InternetNode::Dispose 2007-05-02 09:17:17 +02:00
Mathieu Lacage 8c580647fd dispose properly from Node::Dispose 2007-05-02 09:16:58 +02:00
Mathieu Lacage fb6b984be4 add Object::Dispose 2007-05-02 09:16:32 +02:00
Mathieu Lacage 9eaf9191d8 merge in raj's dispose early work 2007-05-02 09:10:19 +02:00
Tom Henderson d4ddfc18f5 Provide correct exit value based on RunTests() success 2007-05-01 17:55:04 -07:00
Mathieu Lacage 4206fd3bce make sure that the code matches the documentation 2007-05-01 11:58:19 +02:00
Mathieu Lacage e8633acdca merge Packet API changes needed for Packet pretty printing. 2007-05-01 11:54:21 +02:00
Mathieu Lacage 47c1f224dc re-enable ascii trace output by default 2007-05-01 11:38:30 +02:00
Mathieu Lacage a49c5e804c merge with pcap branch 2007-05-01 11:35:27 +02:00
Mathieu Lacage 399ba068e1 remove DatagramSocket, use Socket base class for UdpSocket subclass. 2007-04-30 16:23:10 +02:00
Mathieu Lacage f3febd91ac remove unused headers 2007-04-30 10:37:57 +02:00
Mathieu Lacage 4873ff5f39 add NetDevice::SetReceiveCallback and use it 2007-04-30 10:37:22 +02:00