#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"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("FirstScriptExample") | |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 28 of file first.cc.
References first::address, ns3::Ipv4AddressHelper::Assign(), first::clientApps, ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), first::devices, first::echoClient, first::echoServer, ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::UdpEchoServerHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), first::interfaces, ns3::LOG_LEVEL_INFO, ns3::LogComponentEnable(), first::nodes, ns3::Time::NS, first::pointToPoint, ns3::Simulator::Run(), first::serverApps, ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::Time::SetResolution(), first::stack, ns3::ApplicationContainer::Start(), and ns3::ApplicationContainer::Stop().
NS_LOG_COMPONENT_DEFINE | ( | "FirstScriptExample" | ) |