#include "ns3/abort.h"#include "ns3/core-module.h"#include "ns3/internet-module.h"#include "ns3/network-module.h"#include "ns3/emu-module.h"#include "ns3/applications-module.h"#include "ns3/ipv4-static-routing-helper.h"#include "ns3/ipv4-list-routing-helper.h"
Include dependency graph for emu-ping.cc:Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
| NS_LOG_COMPONENT_DEFINE ("PingEmulationExample") | |
| static void | PingRtt (std::string context, Time rtt) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 74 of file emu-ping.cc.
References ns3::Names::Add(), ns3::Ipv4::AddAddress(), ns3::Node::AddApplication(), ns3::Node::AddDevice(), ns3::CommandLine::AddValue(), ns3::Mac48Address::Allocate(), ns3::GlobalValue::Bind(), ns3::Config::Connect(), ns3::Simulator::Destroy(), ns3::PcapHelperForDevice::EnablePcap(), ns3::Object::GetObject(), ns3::Ipv4StaticRoutingHelper::GetStaticRouting(), ns3::InternetStackHelper::Install(), ns3::MakeCallback(), NS_ABORT_MSG_IF, NS_LOG_INFO, ns3::CommandLine::Parse(), PingRtt(), ns3::Simulator::Run(), ns3::Seconds(), ns3::ObjectBase::SetAttribute(), ns3::Ipv4StaticRouting::SetDefaultRoute(), ns3::Ipv4::SetMetric(), ns3::EmuNetDevice::SetQueue(), ns3::Application::SetStartTime(), ns3::Application::SetStopTime(), ns3::Ipv4::SetUp(), and ns3::Simulator::Stop().
Here is the call graph for this function:| NS_LOG_COMPONENT_DEFINE | ( | "PingEmulationExample" | ) |
|
static |
Definition at line 68 of file emu-ping.cc.
References NS_LOG_UNCOND.
Referenced by main().
Here is the caller graph for this function: