src/helper/internet-stack-helper.cc
changeset 5784 512909f442f7
parent 5360 f9f9f1f41517
child 5873 df27945958ff
equal deleted inserted replaced
5783:66c507d12317 5784:512909f442f7
   358       CreateAndAggregateObjectFromTypeId (node, "ns3::Icmpv6L4Protocol");
   358       CreateAndAggregateObjectFromTypeId (node, "ns3::Icmpv6L4Protocol");
   359       /* TODO add UdpL4Protocol / TcpL4Protocol for IPv6 */
   359       /* TODO add UdpL4Protocol / TcpL4Protocol for IPv6 */
   360       Ptr<Ipv6> ipv6 = node->GetObject<Ipv6> ();
   360       Ptr<Ipv6> ipv6 = node->GetObject<Ipv6> ();
   361       Ptr<Ipv6RoutingProtocol> ipv6Routing = m_routingv6->Create (node);
   361       Ptr<Ipv6RoutingProtocol> ipv6Routing = m_routingv6->Create (node);
   362       ipv6->SetRoutingProtocol (ipv6Routing);
   362       ipv6->SetRoutingProtocol (ipv6Routing);
       
   363 
       
   364       /* register IPv6 extensions and options */
       
   365       ipv6->RegisterExtensions ();
       
   366       ipv6->RegisterOptions ();
   363     }
   367     }
   364 }
   368 }
   365 
   369 
   366 void
   370 void
   367 InternetStackHelper::Install (std::string nodeName) const
   371 InternetStackHelper::Install (std::string nodeName) const