#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 (Ptr< OutputStreamWrapper > stream, uint32_t oldCwnd, uint32_t newCwnd) |
int | main (int argc, char *argv[]) |
static void | RxDrop (Ptr< PcapFileWrapper > file, Ptr< const Packet > p) |
|
static |
Definition at line 163 of file sixth.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 177 of file sixth.cc.
References ns3::Node::AddApplication(), first::address, ns3::Ipv4AddressHelper::Assign(), ns3::NodeContainer::Create(), ns3::PcapHelper::CreateFile(), ns3::AsciiTraceHelper::CreateFileStream(), CwndChange(), first::devices, ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::PacketSinkHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), first::interfaces, ns3::MakeBoundCallback(), first::nodes, first::pointToPoint, RxDrop(), ns3::Seconds(), ns3::ObjectBase::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::PointToPointHelper::SetDeviceAttribute(), first::stack, ns3::ApplicationContainer::Start(), ns3::ApplicationContainer::Stop(), and ns3::ObjectBase::TraceConnectWithoutContext().
|
static |
Definition at line 170 of file sixth.cc.
References ns3::Now(), NS_LOG_UNCOND, and ns3::PcapFileWrapper::Write().
Referenced by main().