Commit Graph

487 Commits

Author SHA1 Message Date
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
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
Mathieu Lacage
52646de997 use Node::AddDevice method 2007-04-30 10:24:43 +02:00
Mathieu Lacage
f311b5f77b fix build 2007-04-30 10:24:30 +02:00
Mathieu Lacage
4219858cc2 remove external NetDeviceList and use the Node's integrated list 2007-04-30 10:21:49 +02:00
Mathieu Lacage
50e9149f90 add NetDevice list into Node base class 2007-04-30 10:16:04 +02:00
Mathieu Lacage
bb58b03aef use NetDevice::NeedsArp where needed 2007-04-30 10:07:53 +02:00
Mathieu Lacage
cd2fabe2f1 add NetDevice::NeedsArp method 2007-04-30 10:05:46 +02:00
Mathieu Lacage
e63689a66f remove ipv4 interface from public API 2007-04-30 10:00:34 +02:00
Mathieu Lacage
6bc3146a79 handle const methods on const objects 2007-04-30 09:48:35 +02:00
Mathieu Lacage
75c78de2b3 a new testcase with the corresponding bug fix. 2007-04-19 22:29:09 +02:00
Mathieu Lacage
7f228cc6f4 remove debugging output from tests 2007-04-19 11:00:18 +02:00
Mathieu Lacage
48dee43f04 make sure that TagRegistry member variables are always initialized when needed. 2007-04-19 10:41:29 +02:00
Mathieu Lacage
c0f7585f95 implement constructor/destructor handling for tags 2007-04-19 10:28:51 +02:00
Mathieu Lacage
363c64c04f fix optimized build warning 2007-04-19 10:28:10 +02:00
Unknown
207976b5fe merge with trunk 2007-04-18 19:17:13 +02:00
Unknown
50728fecb3 fix coding style 2007-04-18 19:16:03 +02:00