diff --git a/doc/manual/manual.texi b/doc/manual/manual.texi index 5265db8a5..a465448c9 100644 --- a/doc/manual/manual.texi +++ b/doc/manual/manual.texi @@ -128,7 +128,7 @@ Simulator version: @setchapternewpage odd @headings off @everyheading @thischapter @| @| ns-3 manual -@everyfooting ns-3.6 @| @thispage @| @today +@everyfooting ns-3 @| @thispage @| @today @include organization.texi @unnumbered Part 1: ns-3 core diff --git a/doc/manual/routing.texi b/doc/manual/routing.texi index 116449544..e0a59ad9d 100644 --- a/doc/manual/routing.texi +++ b/doc/manual/routing.texi @@ -190,19 +190,29 @@ straightforward now that the underlying OSPF SPF framework is in place. Presently, we can handle IPv4 point-to-point, numbered links, as well as shared broadcast (CSMA) links, and we do not do equal-cost multipath. -The GlobalRouteManager first walks the list of nodes and aggregates -a GlobalRouter interface to each one as follows: +Typically, an Ipv4GlobalRoutingHelper class is used to create global +routes. The InternetStackHelper, by default, will cause the below +helper code to be called to aggregate a GlobalRouter +object to each node. @verbatim - typedef std::vector < Ptr >::iterator Iterator; - for (Iterator i = NodeList::Begin (); i != NodeList::End (); i++) - { - Ptr node = *i; - Ptr globalRouter = CreateObject (node); - node->AggregateObject (globalRouter); - } +Ptr +Ipv4GlobalRoutingHelper::Create (Ptr node) const +{ + NS_LOG_LOGIC ("Adding GlobalRouter interface to node " << + node->GetId ()); + + Ptr globalRouter = CreateObject (); + node->AggregateObject (globalRouter); + + NS_LOG_LOGIC ("Adding GlobalRouting Protocol to node " << node->GetId ()); + Ptr globalRouting = CreateObject (); + globalRouter->SetRoutingProtocol (globalRouting); + + return globalRouting; +} @end verbatim -This interface is later queried and used to generate a Link State +This object interface is later queried and used to generate a Link State Advertisement for each router, and this link state database is fed into the OSPF shortest path computation logic. The Ipv4 API is finally used to populate the routes themselves. diff --git a/doc/manual/tcp.texi b/doc/manual/tcp.texi index 3b99a0451..c25aa8d48 100644 --- a/doc/manual/tcp.texi +++ b/doc/manual/tcp.texi @@ -105,7 +105,7 @@ for @code{class TcpSocket}. @subsection Current limitations @itemize @bullet @item Only Tahoe congestion control is presently supported. -@item Only IPv4 is supported (IPv6 support will start to be added after ns-3.6). +@item Only IPv4 is supported @end itemize @section Network Simulation Cradle