Commit Graph
119 Commits
Author SHA1 Message Date
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
Mathieu Lacage 44f3dc15c8 remove ipv4 interface from public API 2007-04-30 10:00:34 +02:00
Mathieu Lacage a0f2f5cd5f plug memory leak reported by Gustavo Carneiro. 2007-04-18 07:44:43 +02:00
Mathieu Lacage 0f8916fc32 fix dox warnings 2007-03-30 11:08:47 +02:00
Mathieu Lacage 28d8eacb21 add context information to tx and rx trace callbacks 2007-03-29 23:41:16 +02:00
Mathieu Lacage 8d1be72fb6 put together a PcapTrace and test it 2007-03-29 23:24:10 +02:00
Mathieu Lacage 43154a98ee more doc 2007-03-29 18:04:56 +02:00
Mathieu Lacage f3498d43db doxygen for Ipv4L4Demux class 2007-03-29 17:43:52 +02:00
Mathieu Lacage 44c2de8644 doxygen for Ipv4L4Protocol class 2007-03-29 17:37:51 +02:00
Mathieu Lacage 2447c8c0cc doxygen for Ipv4 class 2007-03-29 17:37:39 +02:00
Mathieu Lacage 84c3f97d1b completely document DatagramSocket 2007-03-29 17:23:04 +02:00
Mathieu Lacage 3bce458fed document Ipv4Interface completely 2007-03-29 17:17:46 +02:00
Mathieu Lacage 36a2511782 document Channel base class 2007-03-29 17:09:16 +02:00
Mathieu Lacage 879063ce06 add NetDevice::GetChannel method and doxygen-document it 2007-03-29 17:07:04 +02:00
Mathieu Lacage 35c7952d39 add doxygen doc for missing methopds 2007-03-29 16:55:42 +02:00
mathieu@mathieu.inria.fr 3b8541394e split out AsciiTrace class from simple example 2007-03-28 19:26:58 +02:00
mathieu@mathieu.inria.fr 7644ff0a3c fix build zith gcc 4.1 2007-03-28 16:48:54 +02:00
Tom Henderson 57231a4f92 Switch over simple-p2p.cc to use OnOffApplication 2007-03-27 23:14:31 -07:00
Tom Henderson f94e93bea8 Add ApplicationList and Capability 2007-03-27 21:48:22 -07:00
Craig Dowell ecea538c16 net device copy and assignment, reference counted channel. 2007-03-27 15:41:08 -07:00
Craig Dowell 1e75e87d35 remove unused files, remove notion of PHY, make more realistic p2p-net-device and p2p-channel 2007-03-27 13:04:11 -07:00
Tom Henderson 3b5451b18a Make queues copyable; change p2p-topology.cc to reflect this 2007-03-25 17:47:59 -07:00
Raj@rajib-bhattacharjeas-computer.local 5a715608c5 Added back corrected version of TimeUnit(string) 2007-03-25 13:11:20 -04:00
Tom Henderson 2b9d39bfb0 remove 512-byte MTU for P2P net device; make default in base class equal to max uint16 2007-03-25 07:20:24 -07:00