#include <iomanip>
#include <iostream>
#include <string>
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/internet-module.h"
#include "ns3/applications-module.h"
#include "ns3/network-module.h"
#include "ns3/packet-sink.h"
#include "ns3/flow-monitor-module.h"
#include "ns3/ipv4-global-routing-helper.h"
#include "ns3/traffic-control-module.h"
Go to the source code of this file.
Functions | |
void | ConnectSocketTraces (void) |
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 | ( | void | ) |
Definition at line 136 of file tcp-pacing.cc.
References ns3::Config::ConnectWithoutContext(), CwndTracer(), ns3::MakeCallback(), PacingRateTracer(), RxTracer(), SsThreshTracer(), and TxTracer().
|
static |
Definition at line 106 of file tcp-pacing.cc.
References cwndStream, ns3::Time::GetSeconds(), and ns3::Simulator::Now().
Referenced by ConnectSocketTraces().
Definition at line 112 of file tcp-pacing.cc.
References ns3::DataRate::GetBitRate(), ns3::Time::GetSeconds(), ns3::Simulator::Now(), and pacingRateStream.
Referenced by ConnectSocketTraces().
Definition at line 130 of file tcp-pacing.cc.
References ns3::Time::GetSeconds(), ns3::Packet::GetSize(), ns3::Simulator::Now(), and packetTraceStream.
Referenced by ConnectSocketTraces().
|
static |
Definition at line 118 of file tcp-pacing.cc.
References ns3::Time::GetSeconds(), ns3::Simulator::Now(), and ssThreshStream.
Referenced by ConnectSocketTraces().
Definition at line 124 of file tcp-pacing.cc.
References ns3::Time::GetSeconds(), ns3::Packet::GetSize(), ns3::Simulator::Now(), and packetTraceStream.
Referenced by ConnectSocketTraces().
std::ofstream cwndStream |
Definition at line 100 of file tcp-pacing.cc.
Referenced by CwndTracer().
std::ofstream pacingRateStream |
Definition at line 101 of file tcp-pacing.cc.
Referenced by PacingRateTracer().
std::ofstream packetTraceStream |
Definition at line 103 of file tcp-pacing.cc.
Referenced by RxTracer(), and TxTracer().
std::ofstream ssThreshStream |
Definition at line 102 of file tcp-pacing.cc.
Referenced by SsThreshTracer().