Commit Graph

160 Commits

Author SHA1 Message Date
Mathieu Lacage
6495c220a9 rename ns-unknown.h/cc ns-unknown-manager.h/cc 2007-05-11 18:42:39 +02:00
Mathieu Lacage
24d19e29c0 rename Ptr::Get and Ptr::Peek to GetPointer and PeekPointer 2007-05-11 09:46:01 +02:00
Mathieu Lacage
4bd2abebd2 use Ptr<> everywhere Object or NsUnknown are used 2007-05-10 20:19:26 +02:00
Mathieu Lacage
2d66e7e804 make sure that NodeList::GetNode is correctly implemented 2007-05-10 08:34:32 +02:00
Mathieu Lacage
f5451f5bce rename NodeList::PeekNode to NodeList::GetNode 2007-05-10 08:19:19 +02:00
Mathieu Lacage
e322d7f1df implement properly NetDevice::DoDispose and rename NetDevice::PeekNode to NetDevice::GetNode 2007-05-10 08:18:41 +02:00
Mathieu Lacage
96e58ed708 convert UdpSocket and Udp to Ptr<Node> 2007-05-10 07:51:59 +02:00
Mathieu Lacage
c12d5a1142 revert Ipv4Interface * -> Ptr<Ipv4Interface> 2007-05-10 07:30:37 +02:00
Raj Bhattacharjea
bd73c92bb5 Hacked arraytraceresolver to compile, but segfaults upon running simple-p2p 2007-05-09 16:56:33 -04:00
Raj Bhattacharjea
de3b9c78f3 Removed manual ref/unref calls for Ptr<Node> 2007-05-09 14:50:14 -04:00
Raj Bhattacharjea
ecfcfa977d Node* -> Ptr<Node> 2007-05-09 13:26:21 -04:00
Tom Henderson
ea55c60fe3 Enable both ascii and pcap tracing 2007-05-04 12:17:14 -07:00
Tom Henderson
a6f05a05e0 Cosmetic: change strings in the bind commands for queue. Move Bind() before CommandLine::Parse() in example script 2007-05-04 11:50:02 -07:00
Mathieu Lacage
4b68e3f7fe define class Iid to replace the uint32_t as suggested by Gustavo 2007-05-06 11:20:12 +02:00
Mathieu Lacage
6e437f5103 move code around 2007-05-04 15:04:07 +02:00
Mathieu Lacage
ccd6f5b640 merge with HEAD 2007-05-04 14:03:12 +02:00
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
db843fd786 remove more dead code 2007-05-03 00:37:48 +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
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