Commit Graph

517 Commits

Author SHA1 Message Date
Mathieu Lacage
4f05b2b2fc remove Node::GetIpv4 2007-05-03 15:24:34 +02:00
Mathieu Lacage
b4810cc153 remove Node::GetArp 2007-05-03 14:39:37 +02:00
Mathieu Lacage
2f1189d766 remove Node::GetUdp 2007-05-03 14:23:41 +02:00
Mathieu Lacage
b1eccbe7bf define and implement IUdp 2007-05-03 14:20:04 +02:00
Mathieu Lacage
c2bd604574 remove spurious call to Dispose 2007-05-03 13:49:24 +02:00
Mathieu Lacage
b15d1043d1 finish Dispose -> DoDispose rework 2007-05-03 13:24:43 +02:00
Mathieu Lacage
e89d1692e5 make ApplicationList an NsUnknown object. 2007-05-03 13:17:29 +02:00
Mathieu Lacage
b0399a9f9c fix valgrind warning: UdpSocket must manage carefully its Ipv4EndPoint to avoid double deleting it. 2007-05-03 13:11:50 +02:00
Mathieu Lacage
69ffe8defb make Ipv4L4Demux an NsUnknown object. 2007-05-03 12:46:50 +02:00
Mathieu Lacage
0e11e9f7f4 make L3Demux an NsUnknown object. 2007-05-03 12:33:08 +02:00
Mathieu Lacage
20d0136449 make Node derive from NsUnknown rather than Object 2007-05-03 11:08:13 +02:00
Mathieu Lacage
3e3d180edb disable the default constructor to avoid bugs 2007-05-03 11:06:51 +02:00
Mathieu Lacage
5b4433d50b add NsUnknown::Dispose 2007-05-03 11:01:26 +02:00
Mathieu Lacage
0db7be7cb8 rename the class itself 2007-05-03 10:58:08 +02:00
Mathieu Lacage
37434dca9c rename files 2007-05-03 10:49:28 +02:00
Mathieu Lacage
3ec8e09b8a airplane COM code 2007-05-03 10:34:35 +02:00
Mathieu Lacage
db843fd786 remove more dead code 2007-05-03 00:37:48 +02:00
Mathieu Lacage
97f57a698b remove dead code 2007-05-03 00:35:39 +02:00
Mathieu Lacage
62a6143de1 remove dead code 2007-05-03 00:33:03 +02:00
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
Mathieu Lacage
3dbf9f25e1 rework the socket/udp layer to remove the Ipv4EndPointDemux template 2007-05-02 19:14:34 +02: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