#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>
Include dependency graph for tcp-pacing.cc: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 141 of file tcp-pacing.cc.
References ns3::Config::ConnectWithoutContext(), CwndTracer(), ns3::MakeCallback(), PacingRateTracer(), RxTracer(), SsThreshTracer(), and TxTracer().
Here is the call graph for this function:Definition at line 106 of file tcp-pacing.cc.
References cwndStream, ns3::Time::GetSeconds(), and ns3::Simulator::Now().
Referenced by ConnectSocketTraces().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 113 of file tcp-pacing.cc.
References ns3::DataRate::GetBitRate(), ns3::Time::GetSeconds(), ns3::Simulator::Now(), and pacingRateStream.
Referenced by ConnectSocketTraces().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 134 of file tcp-pacing.cc.
References ns3::Time::GetSeconds(), ns3::Simulator::Now(), and packetTraceStream.
Referenced by ConnectSocketTraces().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 120 of file tcp-pacing.cc.
References ns3::Time::GetSeconds(), ns3::Simulator::Now(), and ssThreshStream.
Referenced by ConnectSocketTraces().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 127 of file tcp-pacing.cc.
References ns3::Time::GetSeconds(), ns3::Simulator::Now(), and packetTraceStream.
Referenced by ConnectSocketTraces().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().