#include <fstream>
#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.
Classes | |
class | MyApp |
Functions | |
static void | CwndChange (uint32_t oldCwnd, uint32_t newCwnd) |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("FifthScriptExample") | |
static void | RxDrop (Ptr< const Packet > p) |
|
static |
Definition at line 164 of file fifth.cc.
References ns3::Now(), and NS_LOG_UNCOND.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 176 of file fifth.cc.
References ns3::Node::AddApplication(), first::address, ns3::Ipv4AddressHelper::Assign(), ns3::NodeContainer::Create(), CwndChange(), first::devices, ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::PacketSinkHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), first::interfaces, ns3::MakeCallback(), first::nodes, first::pointToPoint, RxDrop(), ns3::Time::Seconds(), ns3::ObjectBase::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::Application::SetStartTime(), ns3::Application::SetStopTime(), MyApp::Setup(), first::stack, ns3::ApplicationContainer::Start(), ns3::ApplicationContainer::Stop(), and ns3::ObjectBase::TraceConnectWithoutContext().
NS_LOG_COMPONENT_DEFINE | ( | "FifthScriptExample" | ) |
Definition at line 170 of file fifth.cc.
References ns3::Now(), and NS_LOG_UNCOND.
Referenced by main().