tutorial: s/internet-node/internet-stack
authorTom Henderson <tomh@tomh.org>
Tue, 10 Jun 2008 06:08:16 -0700
changeset 3261 b0987a6a74c8
parent 3260 8c0ab08144e6
child 3262 15d58e28940f
child 3267 d0c70dbe918e
child 3894 6b3415c550e1
tutorial: s/internet-node/internet-stack
doc/tutorial/introduction.texi
doc/tutorial/other.texi
doc/tutorial/routing.texi
--- a/doc/tutorial/introduction.texi	Mon Jun 09 15:40:22 2008 -0700
+++ b/doc/tutorial/introduction.texi	Tue Jun 10 06:08:16 2008 -0700
@@ -1272,14 +1272,14 @@
 
 @verbatim
   #include "ns3/ptr.h"
-  #include "ns3/internet-node.h"
+  #include "ns3/internet-stack.h"
 @end verbatim
 
 @cindex include files
 The ns-3 build system places the core include files it needs into a 
 directory called @code{ns-3} and so whenever you need to include one of the
 core files you need to explicitly code this.  The file @code{ptr.h} defines
-the generic smart pointer that we use.  The file @code{internet-node.h}
+the generic smart pointer that we use.  The file @code{internet-stack.h}
 defines the class InternetNode which, as described above, represents an IP
 version 4-based computing element in the simulator.
 
@@ -1455,7 +1455,7 @@
 @verbatim
   #include "ns3/log.h"
   #include "ns3/ptr.h"
-  #include "ns3/internet-node.h"
+  #include "ns3/internet-stack.h"
   #include "ns3/csma-channel.h"
   #include "ns3/mac48-address.h"
   #include "ns3/csma-net-device.h"
@@ -1632,7 +1632,7 @@
 @verbatim
   #include "ns3/log.h"
   #include "ns3/ptr.h"
-  #include "ns3/internet-node.h"
+  #include "ns3/internet-stack.h"
   #include "ns3/csma-channel.h"
   #include "ns3/mac48-address.h"
   #include "ns3/csma-net-device.h"
@@ -1883,7 +1883,7 @@
 @verbatim
   #include "ns3/log.h"
   #include "ns3/ptr.h"
-  #include "ns3/internet-node.h"
+  #include "ns3/internet-stack.h"
   #include "ns3/csma-channel.h"
   #include "ns3/mac48-address.h"
   #include "ns3/csma-net-device.h"
--- a/doc/tutorial/other.texi	Mon Jun 09 15:40:22 2008 -0700
+++ b/doc/tutorial/other.texi	Tue Jun 10 06:08:16 2008 -0700
@@ -103,7 +103,7 @@
 
 #include "ns3/log.h"
 #include "ns3/ptr.h"
-#include "ns3/internet-node.h"
+#include "ns3/internet-stack.h"
 #include "ns3/point-to-point-channel.h"
 #include "ns3/mac48-address.h"
 #include "ns3/point-to-point-net-device.h"
@@ -313,7 +313,7 @@
 
 #include "ns3/log.h"
 #include "ns3/ptr.h"
-#include "ns3/internet-node.h"
+#include "ns3/internet-stack.h"
 #include "ns3/point-to-point-channel.h"
 #include "ns3/mac48-address.h"
 #include "ns3/point-to-point-net-device.h"
@@ -1846,7 +1846,7 @@
 call @code{GetObject} on the resulting smart pointer.  Well, I'm afraid that's
 not entirely true.  It's slightly more complicated.
 
-Take a look at @code{src/internet-node/internet-node.h} and find the class
+Take a look at @code{src/internet-stack/internet-stack.h} and find the class
 declaration for @code{InternetNode}.
 
 @verbatim
@@ -1956,7 +1956,7 @@
 methods specified in the @code{Ipv4} class to access the @code{Ipv4 Object}
 methods which are, in turn, implemented in the @code{Ipv4Impl} object.
 
-If you now look in the file, @code{src/internet-node/internet-node.cc} you
+If you now look in the file, @code{src/internet-stack/internet-stack.cc} you
 will see the following code in @code{InternetNode::Construct} that creates the
 @code{Ipv4} Interface and aggregates it.
 
@@ -2013,7 +2013,7 @@
 In the case of @code{Ipv4Impl}, you know that the class inherits somehow 
 from @code{Object} since there is a call to @code{AggregateObject} that
 refers to an instance of an @code{Ipv4Impl}.  You will have to go to
-the header file @code{src/internet-node/ipv4-impl.h} and find that
+the header file @code{src/internet-stack/ipv4-impl.h} and find that
 @code{Ipv4Impl} inherits from class @code{Ipv4}.  You will then have go to
 the file @code{src/node/ipv4.h} and see that it inherits from @code{Object} and
 defines a @code{GetTypeId}.  Thus the @code{Object} for which you can
--- a/doc/tutorial/routing.texi	Mon Jun 09 15:40:22 2008 -0700
+++ b/doc/tutorial/routing.texi	Tue Jun 10 06:08:16 2008 -0700
@@ -2,7 +2,7 @@
 @chapter ns-3 routing overview
 
 This chapter describes the overall design of routing in the 
-@code{src/internet-node}
+@code{src/internet-stack}
 module, and some details about the routing approachs currently
 implemented.
 
@@ -97,7 +97,7 @@
   void AddRoutingProtocol (Ptr<Ipv4RoutingProtocol> routingProtocol,
                            int16_t priority);
 @end verbatim
-This method is implemented by class Ipv4L3Protocol in the internet-node
+This method is implemented by class Ipv4L3Protocol in the internet-stack
 module.
 
 The priority variable above governs the priority in which the routing
@@ -174,7 +174,7 @@
 @node Static routing
 @section Static routing
 
-The internet-node module provides one routing protocol (Ipv4StaticRouting)
+The internet-stack module provides one routing protocol (Ipv4StaticRouting)
 by default.  This routing protocol allows one to add unicast or multicast
 static routes to a node.
 
@@ -193,7 +193,7 @@
 @uref{http://www.nsnam.org/doxygen/index.html,,Doxygen} documentation
 provides full documentation of these methods.  These methods are forwarding
 functions to the actual implementation in Ipv4StaticRouting, when using
-the internet-node module.
+the internet-stack module.
 
 @node Multicast routing
 @section Multicast routing