#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/flow-monitor-module.h"
#include "ns3/internet-module.h"
#include "ns3/ipv4-global-routing-helper.h"
#include "ns3/network-module.h"
#include "ns3/packet-sink.h"
#include "ns3/point-to-point-module.h"
#include "ns3/traffic-control-module.h"
#include <fstream>
#include <iomanip>
#include <iostream>
#include <string>
Go to the source code of this file.
Functions | |
void | ConnectSocketTraces () |
static void | CwndTracer (uint32_t oldval, uint32_t newval) |
static void | PacingRateTracer (DataRate oldval, DataRate newval) |
static void | RxTracer (Ptr< const Packet > p, Ptr< Ipv4 > ipv4, uint32_t interface) |
static void | SsThreshTracer (uint32_t oldval, uint32_t newval) |
static void | TxTracer (Ptr< const Packet > p, Ptr< Ipv4 > ipv4, uint32_t interface) |
Variables | |
std::ofstream | cwndStream |
std::ofstream | pacingRateStream |
std::ofstream | packetTraceStream |
std::ofstream | ssThreshStream |
void ConnectSocketTraces | ( | ) |
Definition at line 130 of file tcp-pacing.cc.
References ns3::Config::ConnectWithoutContext(), CwndTracer(), ns3::MakeCallback(), PacingRateTracer(), RxTracer(), SsThreshTracer(), and TxTracer().
Definition at line 95 of file tcp-pacing.cc.
References cwndStream, ns3::Time::GetSeconds(), and ns3::Simulator::Now().
Referenced by ConnectSocketTraces().
Definition at line 102 of file tcp-pacing.cc.
References ns3::DataRate::GetBitRate(), ns3::Time::GetSeconds(), ns3::Simulator::Now(), and pacingRateStream.
Referenced by ConnectSocketTraces().
Definition at line 123 of file tcp-pacing.cc.
References ns3::Time::GetSeconds(), ns3::Simulator::Now(), and packetTraceStream.
Referenced by ConnectSocketTraces().
Definition at line 109 of file tcp-pacing.cc.
References ns3::Time::GetSeconds(), ns3::Simulator::Now(), and ssThreshStream.
Referenced by ConnectSocketTraces().
Definition at line 116 of file tcp-pacing.cc.
References ns3::Time::GetSeconds(), ns3::Simulator::Now(), and packetTraceStream.
Referenced by ConnectSocketTraces().
std::ofstream cwndStream |
Definition at line 89 of file tcp-pacing.cc.
Referenced by CwndTracer().
std::ofstream pacingRateStream |
Definition at line 90 of file tcp-pacing.cc.
Referenced by PacingRateTracer().
std::ofstream packetTraceStream |
Definition at line 92 of file tcp-pacing.cc.
Referenced by RxTracer(), and TxTracer().
std::ofstream ssThreshStream |
Definition at line 91 of file tcp-pacing.cc.
Referenced by SsThreshTracer().