Commit Graph
142 Commits
Author SHA1 Message Date
Mathieu Lacage d010641854 remove Node::GetArp 2007-05-03 14:39:37 +02:00
Mathieu Lacage d67ce9f5ec remove Node::GetUdp 2007-05-03 14:23:41 +02:00
Mathieu Lacage 5e8a744bec define and implement IUdp 2007-05-03 14:20:04 +02:00
Mathieu Lacage b406de2008 remove spurious call to Dispose 2007-05-03 13:49:24 +02:00
Mathieu Lacage d16948bfe6 finish Dispose -> DoDispose rework 2007-05-03 13:24:43 +02:00
Mathieu Lacage 319e187ce7 make ApplicationList an NsUnknown object. 2007-05-03 13:17:29 +02:00
Mathieu Lacage 2b1f2aba00 fix valgrind warning: UdpSocket must manage carefully its Ipv4EndPoint to avoid double deleting it. 2007-05-03 13:11:50 +02:00
Mathieu Lacage b23a6e2dac make Ipv4L4Demux an NsUnknown object. 2007-05-03 12:46:50 +02:00
Mathieu Lacage b34bca62b3 make L3Demux an NsUnknown object. 2007-05-03 12:33:08 +02:00
Mathieu Lacage ce7a8de796 make Node derive from NsUnknown rather than Object 2007-05-03 11:08:13 +02:00
Mathieu Lacage a3f12a3db5 remove more dead code 2007-05-03 00:37:48 +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 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 66f0d86355 remove Node::Copy, Node::Create and Node::*Prototype* methods. 2007-05-02 12:34:53 +02:00
Mathieu Lacage bbbaa4c346 make Application::Stop work 2007-05-02 11:37:52 +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 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 c46256d176 merge in raj's dispose early work 2007-05-02 09:10: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 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 2568c50a1b fix build 2007-04-30 10:24:30 +02:00
Mathieu Lacage 6d1fbb99fa remove external NetDeviceList and use the Node's integrated list 2007-04-30 10:21:49 +02:00
Mathieu Lacage f856c72ac2 add NetDevice list into Node base class 2007-04-30 10:16:04 +02:00
Mathieu Lacage deb602517b use NetDevice::NeedsArp where needed 2007-04-30 10:07:53 +02:00
Mathieu Lacage 47b222e2d8 add NetDevice::NeedsArp method 2007-04-30 10:05:46 +02:00