Commit Graph

44 Commits

Author SHA1 Message Date
Mathieu Lacage
e20b40ee61 backout 9856d1175cbb:642d6798feaa:27dd3e15308a 2007-08-29 09:35:53 +02:00
George Riley
391b3eef11 Change the protocol stack processing to pass packets by non-const
reference, rather than const reference and value as was previously done.
Also change  the queue semantics to return the packet on a deque, rather
than requiring a packet as a parameter.  The problem with the original
approach was that packet UID's were getting skipped.  The fix handles
the uid properly, and we get sequential packet uid's on the trace file.
2007-08-24 11:44:11 -04:00
Mathieu Lacage
1a1dda1796 build with the new TraceContextElement API 2007-08-06 19:40:18 +02:00
Mathieu Lacage
707b722c36 fix tracing 2007-08-01 13:53:48 +02:00
Mathieu Lacage
dd3ca3aa63 replace Node::DoCreateTraceResolver with Node::DoFillTraceResolver 2007-08-01 12:33:44 +02:00
Mathieu Lacage
e05f635db5 rework the NetDevice <-> Node interface 2007-08-01 08:58:18 +02:00
Mathieu Lacage
b4237e51dc implement the Node::ProtocolHandler support. 2007-07-31 09:09:31 +02:00
Mathieu Lacage
7af432c313 small cleanups 2007-07-31 07:54:26 +02:00
Emmanuelle Laprise
826d8e0303 Removed the const after the DoAddDevice function because it is used to
add a callback on the packet receive function. But, in some cases (ie
ethernet learning), it is going to be needed to have a non-const
function that is called on packet reception.
2007-07-02 19:59:40 -05:00
Mathieu Lacage
359a2f98a8 rename i-node to node 2007-06-04 16:21:05 +02:00
Mathieu Lacage
1b0dbb2b34 rename node.h to i-node.h 2007-05-14 09:09:43 +02:00
Mathieu Lacage
52d60ea049 add dox documentation for Node 2007-05-13 11:46:11 +02:00
Mathieu Lacage
88c5dfecb0 make the Node API more consistent 2007-05-13 11:30:15 +02:00
Mathieu Lacage
26c628e81a remove ApplicationList. Move functionality to Node class 2007-05-13 09:46:38 +02:00
Mathieu Lacage
666e00b097 rename Iid to InterfaceId 2007-05-11 18:57:45 +02:00
Mathieu Lacage
e22e6188cf rename NsUnknown to Interface and NsUnknownManager to ComponentManager 2007-05-11 18:52:05 +02:00
Mathieu Lacage
6495c220a9 rename ns-unknown.h/cc ns-unknown-manager.h/cc 2007-05-11 18:42:39 +02:00
Mathieu Lacage
4bd2abebd2 use Ptr<> everywhere Object or NsUnknown are used 2007-05-10 20:19:26 +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
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
e89d1692e5 make ApplicationList an NsUnknown object. 2007-05-03 13:17:29 +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
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
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
9eaf9191d8 merge in raj's dispose early work 2007-05-02 09:10:19 +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
Tom Henderson
f1cd4984a1 Add ApplicationList and Capability 2007-03-27 21:48:22 -07: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
b9e6974c8e Add static node factory methods to class Node 2007-03-19 22:19:38 -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
Mathieu Lacage
8c31ac1950 remove SetNodeId and implement GetId and GetSystemId 2007-02-12 16:01:18 +01:00
Mathieu Lacage
9a899b14b1 add arp stack 2007-02-12 15:55:49 +01:00
Mathieu Lacage
ea343befaf add Ipv4 and Udp node capabilities, rework Copy methods to include an extra Node * argument 2007-02-12 13:06:05 +01:00
Mathieu Lacage
9609fe68f0 code from all trees. 2007-02-08 15:37:48 +01:00
Mathieu Lacage
e73ac88cf2 change emacs style commands 2007-02-08 11:13:49 +01:00
Mathieu Lacage
0d9305c70a initial node base class from george's repo. 2007-02-08 11:11:24 +01:00