Commit Graph

109 Commits

Author SHA1 Message Date
Mathieu Lacage
720fae1bbe rework the refcounting framework to use the MakeNewObject function 2007-05-11 08:59:49 +02:00
Mathieu Lacage
4bd2abebd2 use Ptr<> everywhere Object or NsUnknown are used 2007-05-10 20:19:26 +02:00
Mathieu Lacage
349f970d82 remove leaks and rework the Ptr class to work with a new refcount mechanism 2007-05-10 18:33:52 +02: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
Raj Bhattacharjea
4e32c8f56e Ptr changed to use Object's refcounts 2007-05-08 11:44:04 -04:00
Mathieu Lacage
ccd6f5b640 merge with HEAD 2007-05-04 14:03:12 +02:00
Mathieu Lacage
b1eccbe7bf define and implement IUdp 2007-05-03 14:20:04 +02:00
Mathieu Lacage
4a90819ba6 port sample code to refcounting model 2007-05-03 00:12:39 +02:00
Raj Bhattacharjea
34160210b4 Added default value sample 2007-05-02 15:23:35 -04:00
Mathieu Lacage
43adf5863d apply ref/unref rules consistently for Node 2007-05-02 14:40:40 +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
c82b51d8da remove Node::Copy, Node::Create and Node::*Prototype* methods. 2007-05-02 12:34:53 +02:00
Mathieu Lacage
e8633acdca merge Packet API changes needed for Packet pretty printing. 2007-05-01 11:54:21 +02:00
Mathieu Lacage
399ba068e1 remove DatagramSocket, use Socket base class for UdpSocket subclass. 2007-04-30 16:23:10 +02:00
Mathieu Lacage
52646de997 use Node::AddDevice method 2007-04-30 10:24:43 +02:00
Mathieu Lacage
e63689a66f remove ipv4 interface from public API 2007-04-30 10:00:34 +02:00
Tom Henderson
504a77f44d Fix bug 14 2007-04-17 21:29:30 -07:00
Mathieu Lacage
9bc94d7f80 remove useless code 2007-03-29 22:39:26 +02:00
Mathieu Lacage
04a6e02b58 remove dead code 2007-03-29 22:39:11 +02:00
Mathieu Lacage
51d7f89ece fix compilation for optimized builds 2007-03-29 13:24:22 +02:00
Tom Henderson
dd986b3340 Rename classes from Serial to PointToPoint 2007-03-25 07:13:03 -07:00
Tom Henderson
00960518d3 Rename file names from serial to p2p 2007-03-25 06:59:11 -07:00
Tom Henderson
8cc849de4f Move ns-2/simple.cc to examples/simple-serial.cc 2007-03-19 21:01:35 -07:00
Tom Henderson
d156b4ab86 Add Mathieu's super object container; add Rx trace on SerialNetDevice 2007-03-19 07:02:14 -07:00
Tom Henderson
cd132b39ed Add SerialTopology functions and remove from simple.cc file 2007-03-19 00:40:44 -07:00
Tom Henderson
07cdc040b9 Remove MacAddress from SerialNetDevice constructors, make SerialChannel name argument optional, some trace formatting 2007-03-19 00:21:21 -07:00
Tom Henderson
0689d2c0d7 Begin checkin of ns-3-gfr; s/UdpSocket/DatagramSocket; bring in Application base class and onoff-application, and base class socket; bring in random number generator files 2007-03-18 14:30:26 -07:00
Tom Henderson
327949573d move channel.cc channel.h to node directory; merge ns-3-tracing from mathieu 2007-03-18 14:06:51 -07:00
Craig Dowell
e4f68cc58d serial channel functionality 2007-03-18 03:43:49 -07:00
Tom Henderson
4b39fb88ae Rename UdpSocket to DatagramSocket 2007-03-17 23:16:59 -07:00
Tom Henderson
c2460c024a Rename simple.tcl.cc to simple.cc; remove OTcl comments 2007-03-07 22:45:17 -08:00
Tom Henderson
e7e003521d Fix bug 8: Enque/Deque misspelled 2007-03-07 22:26:20 -08:00
Mathieu Lacage
2218e346ae merge with trunk 2007-02-22 09:40:46 +01:00
Mathieu Lacage
f07316cd2c add some simple packet content dumping. 2007-02-21 23:09:42 +01:00
Mathieu Lacage
b95ce71aaf make trailing ';' mandatory for NS_ASSERT* and NS_FATAL_ERROR macros. fix uses. 2007-02-21 20:07:39 +01:00
Mathieu Lacage
29b2db3a67 make trailing ';' mandatory with NS_DEBUG macros. fix all invalid uses. 2007-02-21 20:04:32 +01:00
Mathieu Lacage
a9d2b13fa1 avoid dumping the first packet 2007-02-21 18:28:25 +01:00
Mathieu Lacage
62ff2e87b3 fix coding style 2007-02-21 17:58:14 +01:00
Mathieu Lacage
b3e2607291 make the multiple-queue tracing case work 2007-02-21 17:55:14 +01:00
Mathieu Lacage
6efb114f27 connect to simple queue event names. 2007-02-21 17:46:40 +01:00
Mathieu Lacage
76322a79de fix queue tracing 2007-02-21 17:06:19 +01:00
Unknown
cc8286b25e Plumb in outbound SerialPhy 2007-02-20 23:58:21 -08:00
Unknown
0523df8827 Added tracing support to simple.tcl.cc (Craig) 2007-02-20 22:55:09 -08:00
Mathieu Lacage
ac3a5df3b5 fix routing table configuration 2007-02-19 12:22:20 +01:00
Mathieu Lacage
76311fe551 bind sinks to port 80 2007-02-19 11:39:27 +01:00
Mathieu Lacage
6c7109309f do not generate zero-sized packets 2007-02-19 10:52:04 +01:00
Mathieu Lacage
3326fdba35 use new NS_ASSERT macro rather than assert. this makes the code build on my machine. 2007-02-19 10:23:50 +01:00
Tom Henderson
847aca86cf Added all UDP sources, sinks, routes-- not working yet 2007-02-19 00:44:05 -08:00
Tom Henderson
17a41557f2 Add UdpSockets to simple.tcl.cc 2007-02-19 00:00:49 -08:00
Tom Henderson
f0d12b6e81 Enhanced AddDuplexLink() 2007-02-18 23:29:05 -08:00