#include <fstream>
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/csma-module.h"
#include "ns3/applications-module.h"
#include "ns3/ipv6-static-routing-helper.h"
#include "ns3/ipv6-routing-table-entry.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | TearDownLink (Ptr< Node > nodeA, Ptr< Node > nodeB, uint32_t interfaceA, uint32_t interfaceB) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 72 of file ripng-simple-network.cc.
References ns3::Names::Add(), ns3::Ipv6ListRoutingHelper::Add(), ns3::CommandLine::AddValue(), ns3::Ipv6AddressHelper::Assign(), ns3::AsciiTraceHelper::CreateFileStream(), ns3::Simulator::Destroy(), ns3::AsciiTraceHelperForDevice::EnableAsciiAll(), ns3::PcapHelperForDevice::EnablePcapAll(), ns3::RipNgHelper::ExcludeInterface(), ns3::Ipv6InterfaceContainer::GetAddress(), ns3::Ping6Helper::Install(), ns3::CsmaHelper::Install(), ns3::InternetStackHelper::Install(), ns3::LOG_LEVEL_ALL, ns3::LOG_LEVEL_INFO, ns3::LogComponentEnable(), ns3::RipNg::NO_SPLIT_HORIZON, first::nodes, NS_LOG_INFO, ns3::CommandLine::Parse(), ns3::RipNg::POISON_REVERSE, ns3::Ipv6RoutingHelper::PrintRoutingTableAt(), ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::Ping6Helper::SetAttribute(), ns3::Ipv6AddressHelper::SetBase(), ns3::CsmaHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::Ipv6InterfaceContainer::SetDefaultRouteInAllNodes(), ns3::Ipv6InterfaceContainer::SetForwarding(), ns3::RipNgHelper::SetInterfaceMetric(), ns3::InternetStackHelper::SetIpv4StackInstall(), ns3::Ping6Helper::SetLocal(), ns3::Ping6Helper::SetRemote(), ns3::InternetStackHelper::SetRoutingHelper(), ns3::RipNg::SPLIT_HORIZON, ns3::ApplicationContainer::Start(), ns3::Simulator::Stop(), ns3::ApplicationContainer::Stop(), TearDownLink(), and verbose.
void TearDownLink | ( | Ptr< Node > | nodeA, |
Ptr< Node > | nodeB, | ||
uint32_t | interfaceA, | ||
uint32_t | interfaceB | ||
) |
Definition at line 66 of file ripng-simple-network.cc.
References ns3::Object::GetObject().
Referenced by main().