#include <iostream>
#include <fstream>
#include <string>
#include <cassert>
#include "ns3/csma-net-device.h"
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/applications-module.h"
#include "ns3/ipv4-static-routing.h"
#include "ns3/ipv4-global-routing.h"
#include "ns3/ipv4-list-routing.h"
#include "ns3/ipv4-routing-table-entry.h"
#include "ns3/global-router-interface.h"
#include "ns3/ipv4-static-routing-helper.h"
#include "ns3/ipv4-list-routing-helper.h"
#include "ns3/ipv4-global-routing-helper.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("GlobalRouterInjectionTest") | |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 48 of file global-injection-slash32.cc.
References ns3::Ipv4ListRoutingHelper::Add(), ns3::Ipv4::AddAddress(), ns3::Node::AddDevice(), ns3::Ipv4StaticRouting::AddHostRouteTo(), ns3::Ipv4::AddInterface(), ns3::Mac48Address::Allocate(), ns3::Ipv4AddressHelper::Assign(), ns3::AsciiTraceHelper::CreateFileStream(), ns3::Simulator::Destroy(), ns3::AsciiTraceHelperForDevice::EnableAsciiAll(), ns3::PcapHelperForDevice::EnablePcapAll(), ns3::Ipv4Address::GetAny(), ns3::Ipv4InterfaceAddress::GetLocal(), ns3::Object::GetObject(), ns3::Ipv4StaticRoutingHelper::GetStaticRouting(), ns3::GlobalRouter::InjectRoute(), ns3::PacketSinkHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), ns3::CommandLine::Parse(), ns3::Ipv4GlobalRoutingHelper::PopulateRoutingTables(), port, ns3::Ipv4GlobalRoutingHelper::RecomputeRoutingTables(), ns3::Simulator::Run(), ns3::CsmaNetDevice::SetAddress(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::OnOffHelper::SetConstantRate(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::Ipv4::SetMetric(), ns3::InternetStackHelper::SetRoutingHelper(), ns3::Ipv4::SetUp(), ns3::ApplicationContainer::Start(), and ns3::ApplicationContainer::Stop().
NS_LOG_COMPONENT_DEFINE | ( | "GlobalRouterInjectionTest" | ) |