Commit Graph

112 Commits

Author SHA1 Message Date
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
Mathieu Lacage
6d4e502109 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
1eeab81136 manage NetDevice objects with refcounts 2007-05-02 10:25:06 +02:00
Mathieu Lacage
d4814abf5f just a small typo 2007-05-02 09:18:02 +02:00
Mathieu Lacage
cdee56670e derive from Object for proper refcounting 2007-05-02 09:17:42 +02:00
Mathieu Lacage
63a732f71e do not try to dispose the parent's ressources from InternetNode::Dispose 2007-05-02 09:17:17 +02:00
Mathieu Lacage
8c580647fd dispose properly from Node::Dispose 2007-05-02 09:16:58 +02:00
Mathieu Lacage
9eaf9191d8 merge in raj's dispose early work 2007-05-02 09:10:19 +02:00
Mathieu Lacage
e8633acdca merge Packet API changes needed for Packet pretty printing. 2007-05-01 11:54:21 +02:00
Mathieu Lacage
a49c5e804c merge with pcap branch 2007-05-01 11:35:27 +02:00
Mathieu Lacage
399ba068e1 remove DatagramSocket, use Socket base class for UdpSocket subclass. 2007-04-30 16:23:10 +02:00
Mathieu Lacage
f3febd91ac remove unused headers 2007-04-30 10:37:57 +02:00
Mathieu Lacage
4873ff5f39 add NetDevice::SetReceiveCallback and use it 2007-04-30 10:37:22 +02:00
Mathieu Lacage
f311b5f77b fix build 2007-04-30 10:24:30 +02:00
Mathieu Lacage
4219858cc2 remove external NetDeviceList and use the Node's integrated list 2007-04-30 10:21:49 +02:00
Mathieu Lacage
50e9149f90 add NetDevice list into Node base class 2007-04-30 10:16:04 +02:00
Mathieu Lacage
bb58b03aef use NetDevice::NeedsArp where needed 2007-04-30 10:07:53 +02:00
Mathieu Lacage
cd2fabe2f1 add NetDevice::NeedsArp method 2007-04-30 10:05:46 +02:00
Mathieu Lacage
e63689a66f remove ipv4 interface from public API 2007-04-30 10:00:34 +02:00
Mathieu Lacage
f7017e22a0 plug memory leak reported by Gustavo Carneiro. 2007-04-18 07:44:43 +02:00
Mathieu Lacage
173dbba314 fix dox warnings 2007-03-30 11:08:47 +02:00
Mathieu Lacage
aeed4279d7 add context information to tx and rx trace callbacks 2007-03-29 23:41:16 +02:00
Mathieu Lacage
3af7a78855 put together a PcapTrace and test it 2007-03-29 23:24:10 +02:00
Mathieu Lacage
0932fee6b2 more doc 2007-03-29 18:04:56 +02:00
Mathieu Lacage
99c79ebf7e doxygen for Ipv4L4Demux class 2007-03-29 17:43:52 +02:00
Mathieu Lacage
4f3783760b doxygen for Ipv4L4Protocol class 2007-03-29 17:37:51 +02:00
Mathieu Lacage
65ffa3827a doxygen for Ipv4 class 2007-03-29 17:37:39 +02:00
Mathieu Lacage
035a670993 completely document DatagramSocket 2007-03-29 17:23:04 +02:00
Mathieu Lacage
adfedc643b document Ipv4Interface completely 2007-03-29 17:17:46 +02:00
Mathieu Lacage
11d19f32e1 document Channel base class 2007-03-29 17:09:16 +02:00
Mathieu Lacage
2584c78959 add NetDevice::GetChannel method and doxygen-document it 2007-03-29 17:07:04 +02:00
Mathieu Lacage
f83f28eacc add doxygen doc for missing methopds 2007-03-29 16:55:42 +02:00
Unknown
da52245cc8 split out AsciiTrace class from simple example 2007-03-28 19:26:58 +02:00
Unknown
dc1a82772b fix build zith gcc 4.1 2007-03-28 16:48:54 +02:00
Tom Henderson
5233780b1c Switch over simple-p2p.cc to use OnOffApplication 2007-03-27 23:14:31 -07:00
Tom Henderson
f1cd4984a1 Add ApplicationList and Capability 2007-03-27 21:48:22 -07:00
Craig Dowell
6af1c8bb1f net device copy and assignment, reference counted channel. 2007-03-27 15:41:08 -07:00
Craig Dowell
994c7be384 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
a3663bc40c Make queues copyable; change p2p-topology.cc to reflect this 2007-03-25 17:47:59 -07:00
Unknown
be28cb56ff Added back corrected version of TimeUnit(string) 2007-03-25 13:11:20 -04:00
Tom Henderson
c2a49fc1c2 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
Tom Henderson
f62c2ad8e5 Revert Raj's time unit patch-- causing compilation errors 2007-03-25 06:43:34 -07:00
Raj Bhattacharjea
ad941f038c Added TimeUnit<1>::TimeUnit<1>(const std::string&) 2007-03-23 13:47:22 -04:00
George F. Riley
8b9fb7b105 Clean up parameter passing per TOm's request 2007-03-22 14:54:20 -04:00
Tom Henderson
d52242c4ae OnOffApplication functioning; some Node class cleanup 2007-03-21 23:17:11 -07:00
Tom Henderson
9e86e12f6f Add nodes to NodeList in static Create method; cut over simple-serial.cc to use this node factory 2007-03-20 06:28:24 -07:00
Tom Henderson
b9e6974c8e Add static node factory methods to class Node 2007-03-19 22:19:38 -07:00
Tom Henderson
3e2f129922 Add base class IPAddr; L4Protocol; Protocol; OnOff Application, and base class Socket 2007-03-18 14:35:44 -07:00