#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"
#include "ns3/stats-module.h"
Go to the source code of this file.
Classes | |
class | MyApp |
Functions | |
static void | CwndChange (Ptr< OutputStreamWrapper > stream, uint32_t oldCwnd, uint32_t newCwnd) |
int | main (int argc, char *argv[]) |
NS_LOG_COMPONENT_DEFINE ("SeventhScriptExample") | |
static void | RxDrop (Ptr< PcapFileWrapper > file, Ptr< const Packet > p) |
|
static |
Definition at line 171 of file seventh.cc.
References ns3::Time::GetSeconds(), ns3::OutputStreamWrapper::GetStream(), ns3::Now(), and NS_LOG_UNCOND.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 185 of file seventh.cc.
References ns3::Node::AddApplication(), first::address, ns3::CommandLine::AddValue(), ns3::Ipv6AddressHelper::Assign(), ns3::Ipv4AddressHelper::Assign(), ns3::FileHelper::ConfigureFile(), ns3::GnuplotHelper::ConfigurePlot(), ns3::NodeContainer::Create(), ns3::PcapHelper::CreateFile(), ns3::AsciiTraceHelper::CreateFileStream(), CwndChange(), first::devices, ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv6InterfaceContainer::GetAddress(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::PacketSinkHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), first::interfaces, ns3::MakeBoundCallback(), first::nodes, ns3::CommandLine::Parse(), ns3::GnuplotHelper::PlotProbe(), first::pointToPoint, RxDrop(), ns3::Time::Seconds(), ns3::FileHelper::Set2dFormat(), ns3::ObjectBase::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::Ipv6AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::PointToPointHelper::SetDeviceAttribute(), first::stack, ns3::ApplicationContainer::Start(), ns3::ApplicationContainer::Stop(), ns3::ObjectBase::TraceConnectWithoutContext(), and ns3::FileHelper::WriteProbe().
NS_LOG_COMPONENT_DEFINE | ( | "SeventhScriptExample" | ) |
|
static |
Definition at line 178 of file seventh.cc.
References ns3::Now(), NS_LOG_UNCOND, and ns3::PcapFileWrapper::Write().
Referenced by main().