Commit Graph

560 Commits

Author SHA1 Message Date
Mathieu Lacage
2d66e7e804 make sure that NodeList::GetNode is correctly implemented 2007-05-10 08:34:32 +02:00
Mathieu Lacage
60734cd2db implement properly Application::DoDispose and rename Application::PeekNOde to Application::GetNode 2007-05-10 08:19:53 +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
96f4b45eab remove some dead code 2007-05-10 08:03:07 +02:00
Mathieu Lacage
11d883f2a6 remove useless forward declaration 2007-05-10 07:58:31 +02:00
Mathieu Lacage
66bc2db9d1 convert Node * to Ptr<Node> 2007-05-10 07:58:18 +02:00
Mathieu Lacage
96e58ed708 convert UdpSocket and Udp to Ptr<Node> 2007-05-10 07:51:59 +02:00
Mathieu Lacage
ad8424e6d1 convert Node * to Ptr<Node> 2007-05-10 07:44:18 +02:00
Mathieu Lacage
817876d6fe convert Node * to Ptr<Node> 2007-05-10 07:43:52 +02:00
Mathieu Lacage
4d1c0647c8 remove useless forward declaration 2007-05-10 07:42:31 +02:00
Mathieu Lacage
5bd6229ac1 convert more code to use Ptr<Node> instead of Node * 2007-05-10 07:35:53 +02:00
Mathieu Lacage
b67d398976 convert Arp code to use Ptr<Node> instead of Node * 2007-05-10 07:33:26 +02:00
Mathieu Lacage
c12d5a1142 revert Ipv4Interface * -> Ptr<Ipv4Interface> 2007-05-10 07:30:37 +02:00
Mathieu Lacage
90a0cb3ad2 remove ptr from ArrayTraceResolver 2007-05-10 07:25:47 +02:00
Mathieu Lacage
2eb20b5743 merge 2007-05-10 07:19:38 +02:00
Unknown
a70e279787 some Ipv4Interface* -> Ptr<Ipv4Interface>, and unhack arraytraceresolver, still segfaults 2007-05-09 23:23:05 -04:00
Mathieu Lacage
a82cf78743 remove ptr::Remove, make ptr::Peek share the same signature as ptr::Get 2007-05-09 19:48:33 +02:00
Mathieu Lacage
80854a2c39 remove ptr::Remove, make ptr::Peek share the same signature as ptr::Get 2007-05-09 19:48:33 +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
Raj Bhattacharjea
4e32c8f56e Ptr changed to use Object's refcounts 2007-05-08 11:44:04 -04:00
Mathieu Lacage
5461e0a056 fix doxygen doc error 2007-05-09 17:07:50 +02: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
8819fdde7a make the code work on g++ 3.4.4 2007-05-07 23:05:17 +02:00
Mathieu Lacage
1808ad3c6d add extra test for object creation with multiple interfaces 2007-05-07 15:55:37 +02:00
Mathieu Lacage
440479be65 add more tests 2007-05-07 13:45:30 +02:00
Mathieu Lacage
d35f6e80df use Callback::Assign 2007-05-07 13:45:15 +02:00
Mathieu Lacage
0bd8f12c64 use Callback::Assign 2007-05-07 13:44:33 +02:00
Mathieu Lacage
9e269500d2 add Callback::Assign 2007-05-07 13:44:22 +02:00
Mathieu Lacage
658cc9cd23 rework and document API 2007-05-07 13:21:29 +02:00
Mathieu Lacage
aa4cf039bf a first draft of a component manager 2007-05-06 18:59:36 +02: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
Raj Bhattacharjea
c7db73ec6b Added static RNGs, like ExponentialVariable::GetSingleValue(mean) 2007-05-03 14:19:33 -04: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
3e3d180edb disable the default constructor to avoid bugs 2007-05-03 11:06:51 +02:00