#include <ctime>
#include <sstream>
#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-helper.h"
#include "ns3/ipv4-list-routing-helper.h"
#include "ns3/ipv4-nix-vector-helper.h"
#include "ns3/topology-read-module.h"
#include <list>
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("TopologyCreationExperiment") | |
static void | SinkRx (Ptr< const Packet > p, const Address &ad) |
Variables | |
static std::list< unsigned int > | data |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 59 of file topology-example-sim.cc.
References ns3::Ipv4ListRoutingHelper::Add(), ns3::NodeContainer::Add(), ns3::CommandLine::AddValue(), ns3::Ipv4AddressHelper::Assign(), ns3::Config::ConnectWithoutContext(), ns3::Simulator::Destroy(), ns3::NodeContainer::Get(), ns3::Ipv4::GetAddress(), ns3::UniformRandomVariable::GetInteger(), ns3::NodeContainer::GetN(), ns3::Object::GetObject(), ns3::TopologyReaderHelper::GetTopologyReader(), ns3::PacketSinkHelper::Install(), ns3::OnOffHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), ns3::TopologyReader::LinksBegin(), ns3::TopologyReader::LinksEnd(), ns3::TopologyReader::LinksSize(), ns3::MakeCallback(), ns3::Ipv4AddressHelper::NewNetwork(), NS_LOG_ERROR, NS_LOG_INFO, ns3::CommandLine::Parse(), ns3::TopologyReader::Read(), ns3::Simulator::Run(), ns3::Seconds(), ns3::OnOffHelper::SetAttribute(), ns3::ObjectBase::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::OnOffHelper::SetConstantRate(), ns3::Config::SetDefault(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::TopologyReaderHelper::SetFileName(), ns3::TopologyReaderHelper::SetFileType(), ns3::InternetStackHelper::SetRoutingHelper(), SinkRx(), ns3::ApplicationContainer::Start(), and ns3::ApplicationContainer::Stop().
NS_LOG_COMPONENT_DEFINE | ( | "TopologyCreationExperiment" | ) |
Definition at line 48 of file topology-example-sim.cc.
References ns3::Ipv4Header::GetTtl(), and ns3::Packet::PeekHeader().
Referenced by main().
|
static |
Definition at line 46 of file topology-example-sim.cc.
Referenced by ns3::ByteTagList::Allocate(), ns3::PacketMetadata::Allocate(), ns3::Buffer::Allocate(), ns3::dsr::DsrRouting::CheckSendBuffer(), ns3::PacketMetadata::Create(), ns3::Buffer::Deallocate(), ns3::Ipv6ExtensionHeader::Deserialize(), ns3::dsr::DsrFsHeader::Deserialize(), ns3::Icmpv6DestinationUnreachable::Deserialize(), ns3::Icmpv6TooBig::Deserialize(), ns3::Icmpv6TimeExceeded::Deserialize(), ns3::Icmpv6ParameterError::Deserialize(), TestEmptyOptionField::DoRun(), ns3::LenaPssFfMacSchedulerTestCase1::DoRun(), ns3::LenaFdTbfqFfMacSchedulerTestCase1::DoRun(), ns3::LenaTdTbfqFfMacSchedulerTestCase1::DoRun(), ns3::dsr::DsrFsHeaderTest::DoRun(), TestOptionWithoutAlignment::DoRun(), TestOptionWithAlignment::DoRun(), TestFulfilledAlignment::DoRun(), ReadFileTestCase::DoRun(), ns3::UanMacRcGw::EndCycle(), ns3::PacketTagList::FreeData(), Histogramm(), ns3::Packet::PeekData(), ns3::WifiRemoteStationManager::PrepareForQueue(), ns3::dsr::DsrOptionSR::Process(), ns3::dsr::DsrOptionRerr::Process(), ns3::Ipv6Extension::ProcessOptions(), ns3::dsr::DsrRouting::PromiscReceive(), Bench::ReadDistribution(), ns3::Buffer::Iterator::ReadLsbtohU16(), ns3::Buffer::Iterator::ReadLsbtohU32(), ns3::Buffer::Iterator::ReadLsbtohU64(), ns3::TagBuffer::ReadU16(), ns3::Buffer::Iterator::ReadU16(), ns3::TagBuffer::ReadU32(), ns3::Buffer::Iterator::ReadU32(), ns3::TagBuffer::ReadU64(), ns3::Buffer::Iterator::ReadU64(), ns3::Buffer::Iterator::ReadU8(), ns3::NscTcpL4Protocol::Receive(), ns3::dsr::DsrRouting::Receive(), ns3::V4Ping::Send(), ns3::Ping6::Send(), ns3::NscTcpL4Protocol::send_callback(), ns3::dsr::DsrRouting::SendPacketFromBuffer(), MyHeader::SetData(), ns3::AnimationInterface::WriteN(), and ns3::Buffer::Iterator::WriteU8().