equal
deleted
inserted
replaced
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 |