Commit Graph

129 Commits

Author SHA1 Message Date
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
c82b51d8da remove Node::Copy, Node::Create and Node::*Prototype* methods. 2007-05-02 12:34:53 +02:00
Mathieu Lacage
54e9226bdd make Application::Stop work 2007-05-02 11:37:52 +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
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
9eaf9191d8 merge in raj's dispose early work 2007-05-02 09:10: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
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
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
f7017e22a0 plug memory leak reported by Gustavo Carneiro. 2007-04-18 07:44:43 +02:00
Mathieu Lacage
173dbba314 fix dox warnings 2007-03-30 11:08:47 +02:00
Mathieu Lacage
aeed4279d7 add context information to tx and rx trace callbacks 2007-03-29 23:41:16 +02:00
Mathieu Lacage
3af7a78855 put together a PcapTrace and test it 2007-03-29 23:24:10 +02:00
Mathieu Lacage
0932fee6b2 more doc 2007-03-29 18:04:56 +02:00
Mathieu Lacage
99c79ebf7e doxygen for Ipv4L4Demux class 2007-03-29 17:43:52 +02:00
Mathieu Lacage
4f3783760b doxygen for Ipv4L4Protocol class 2007-03-29 17:37:51 +02:00
Mathieu Lacage
65ffa3827a doxygen for Ipv4 class 2007-03-29 17:37:39 +02:00
Mathieu Lacage
035a670993 completely document DatagramSocket 2007-03-29 17:23:04 +02:00
Mathieu Lacage
adfedc643b document Ipv4Interface completely 2007-03-29 17:17:46 +02:00
Mathieu Lacage
11d19f32e1 document Channel base class 2007-03-29 17:09:16 +02:00
Mathieu Lacage
2584c78959 add NetDevice::GetChannel method and doxygen-document it 2007-03-29 17:07:04 +02:00