Commit Graph
500 Commits
Author SHA1 Message Date
Mathieu Lacage 3e7898ae3c remove dead code 2007-05-03 00:35:39 +02:00
Mathieu Lacage 90eacfe39e remove dead code 2007-05-03 00:33:03 +02:00
Mathieu Lacage 87b3408a0e fix last leaks with new refcounted mechanism 2007-05-03 00:31:04 +02:00
Mathieu Lacage d1edc4f0e3 constify refcounted object base class 2007-05-03 00:23:23 +02:00
Mathieu Lacage e26095c940 port sample code to refcounting model 2007-05-03 00:12:39 +02:00
Mathieu Lacage 597cf5f841 remove dead method declaration and dead use 2007-05-02 23:45:26 +02:00
Mathieu Lacage 4c6ac89e26 implement properly the refcounting rules for the capability getters 2007-05-02 23:42:22 +02:00
Mathieu Lacage 330ea61b96 make capabilities and sockets refcounted 2007-05-02 23:18:51 +02:00
Mathieu Lacage 4e7a215f6a implement Dispose properly throughout the network stack 2007-05-02 23:08:41 +02:00
Mathieu Lacage f09be37481 use Dispose more extensively 2007-05-02 22:32:25 +02:00
Mathieu Lacage 4f1cb40b93 rework the socket/udp layer to remove the Ipv4EndPointDemux template 2007-05-02 19:14:34 +02:00
Mathieu Lacage 2289afeb21 fix segfault 2007-05-02 15:14:27 +02:00
Mathieu Lacage 3a0f38a0b7 use ref/unref for Node in more cases 2007-05-02 15:07:33 +02:00
Mathieu Lacage bde924e433 remove nil macro 2007-05-02 14:52:34 +02:00
Mathieu Lacage 1bce11a9bb remove dead files 2007-05-02 14:46:14 +02:00
Mathieu Lacage 385e072ef7 remove nil macro 2007-05-02 14:43:18 +02:00
Mathieu Lacage cac0524db5 remove nil macro 2007-05-02 14:41:34 +02:00
Mathieu Lacage cc91afd663 remove nil macro 2007-05-02 14:41:18 +02:00
Mathieu Lacage d9daa0b63d apply ref/unref rules consistently for Node 2007-05-02 14:40:40 +02:00
Mathieu Lacage bd14f334e7 remove useless methode declaration 2007-05-02 14:28:07 +02:00
Mathieu Lacage 1693d53539 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 04eca6a083 rework the Node and NodeList classes to manage reference counts correctly 2007-05-02 13:44:41 +02:00
Mathieu Lacage b1a7b0a705 a singleton template class to simplify the implementation of a few classes 2007-05-02 13:43:41 +02:00
Mathieu Lacage 66f0d86355 remove Node::Copy, Node::Create and Node::*Prototype* methods. 2007-05-02 12:34:53 +02:00
Mathieu Lacage d2cb8b7b5a do not leak the NetDevice from P2PTopology 2007-05-02 12:12:55 +02:00
Mathieu Lacage eed7a695a5 do not leak the channel from simple-p2p 2007-05-02 11:43:22 +02:00
Mathieu Lacage ad24f56895 do not use Simulator::StopAt to avoid too many memory leaks 2007-05-02 11:38:21 +02:00
Mathieu Lacage bbbaa4c346 make Application::Stop work 2007-05-02 11:37:52 +02:00
Mathieu Lacage 268af07f95 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 7bccedae23 destroy prototype stack upon Simulator::Destroy 2007-05-02 10:41:34 +02:00
Mathieu Lacage c7d8a02e3a 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 9a3b39648a manage NetDevice objects with refcounts 2007-05-02 10:25:06 +02:00
Mathieu Lacage 3a5cc38cea temporarily invoke node's Dispose from user script 2007-05-02 10:24:59 +02:00
Mathieu Lacage dc1bba4197 make sure that Simulator::Cancel deals correctly with events which were already scheduled 2007-05-02 10:20:44 +02:00
Mathieu Lacage 84469530c0 call dispose from within the destructor 2007-05-02 09:18:18 +02:00
Mathieu Lacage 533f1058a1 just a small typo 2007-05-02 09:18:02 +02:00
Mathieu Lacage be787dd579 derive from Object for proper refcounting 2007-05-02 09:17:42 +02:00
Mathieu Lacage 46c9165ab6 do not try to dispose the parent's ressources from InternetNode::Dispose 2007-05-02 09:17:17 +02:00
Mathieu Lacage 0311864c37 dispose properly from Node::Dispose 2007-05-02 09:16:58 +02:00
Mathieu Lacage ff9d79bedd add Object::Dispose 2007-05-02 09:16:32 +02:00
Mathieu Lacage c46256d176 merge in raj's dispose early work 2007-05-02 09:10:19 +02:00
Mathieu Lacage 1e1ac70e73 make sure that the code matches the documentation 2007-05-01 11:58:19 +02:00
Mathieu Lacage 0da8f5c763 merge Packet API changes needed for Packet pretty printing. 2007-05-01 11:54:21 +02:00
Mathieu Lacage 7e9497137e re-enable ascii trace output by default 2007-05-01 11:38:30 +02:00
Mathieu Lacage f69c11bae4 merge with pcap branch 2007-05-01 11:35:27 +02:00
Mathieu Lacage 0ec535bb60 remove DatagramSocket, use Socket base class for UdpSocket subclass. 2007-04-30 16:23:10 +02:00
Mathieu Lacage d73eebd130 remove unused headers 2007-04-30 10:37:57 +02:00
Mathieu Lacage 9230407c7e add NetDevice::SetReceiveCallback and use it 2007-04-30 10:37:22 +02:00
Mathieu Lacage 5717501324 use Node::AddDevice method 2007-04-30 10:24:43 +02:00
Mathieu Lacage 2568c50a1b fix build 2007-04-30 10:24:30 +02:00