#include "ns3/core-module.h"#include "ns3/network-module.h"#include "ns3/internet-module.h"#include "ns3/flow-monitor-helper.h"#include "ns3/point-to-point-module.h"#include "ns3/applications-module.h"#include "ns3/internet-apps-module.h"#include "ns3/traffic-control-module.h"
Include dependency graph for fqcodel-l4s-example.cc:Go to the source code of this file.
Functions | |
| static void | PacketDequeue (std::ofstream *n0OfStream, std::ofstream *n1OfStream, Ptr< QueueDiscItem const > item) |
| void | ScheduleN0PacketSinkConnection (void) |
| void | ScheduleN0TcpCwndTraceConnection (std::ofstream *ofStream) |
| void | ScheduleN0TcpRttTraceConnection (std::ofstream *ofStream) |
| void | ScheduleN1PacketSinkConnection (void) |
| void | ScheduleN1TcpCwndTraceConnection (std::ofstream *ofStream) |
| void | ScheduleN1TcpRttTraceConnection (std::ofstream *ofStream) |
| void | TraceDrop (std::ofstream *ofStream, Ptr< const QueueDiscItem > item) |
| void | TraceDropsFrequency (std::ofstream *ofStream, Time dropsSamplingInterval) |
| void | TraceMark (std::ofstream *ofStream, Ptr< const QueueDiscItem > item, const char *reason) |
| void | TraceMarksFrequency (std::ofstream *ofStream, Time marksSamplingInterval) |
| void | TraceN0Cwnd (std::ofstream *ofStream, uint32_t oldCwnd, uint32_t newCwnd) |
| void | TraceN0Rtt (std::ofstream *ofStream, Time oldRtt, Time newRtt) |
| void | TraceN0Rx (Ptr< const Packet > packet, const Address &address) |
| void | TraceN0Throughput (std::ofstream *ofStream, Time throughputInterval) |
| void | TraceN1Cwnd (std::ofstream *ofStream, uint32_t oldCwnd, uint32_t newCwnd) |
| void | TraceN1Rtt (std::ofstream *ofStream, Time oldRtt, Time newRtt) |
| void | TraceN1Rx (Ptr< const Packet > packet, const Address &address) |
| void | TraceN1Throughput (std::ofstream *ofStream, Time throughputInterval) |
| void | TracePingRtt (std::ofstream *ofStream, Time rtt) |
| void | TraceQueueLength (std::ofstream *ofStream, DataRate linkRate, uint32_t oldVal, uint32_t newVal) |
Variables | |
| double | avgQueueDiscSize |
| uint32_t | checkTimes |
| uint32_t | g_dropsObserved = 0 |
| uint32_t | g_marksObserved = 0 |
| uint32_t | g_n0BytesReceived = 0 |
| uint32_t | g_n1BytesReceived = 0 |
|
static |
Definition at line 446 of file fqcodel-l4s-example.cc.
References first::address, ns3::Time::GetMicroSeconds(), ns3::Time::GetSeconds(), ns3::Now(), and ns3::PeekPointer().
Here is the call graph for this function:| void ScheduleN0PacketSinkConnection | ( | void | ) |
Definition at line 422 of file fqcodel-l4s-example.cc.
References ns3::Config::ConnectWithoutContext(), ns3::MakeCallback(), and TraceN0Rx().
Here is the call graph for this function:| void ScheduleN0TcpCwndTraceConnection | ( | std::ofstream * | ofStream | ) |
Definition at line 410 of file fqcodel-l4s-example.cc.
References ns3::Config::ConnectWithoutContext(), ns3::MakeBoundCallback(), and TraceN0Cwnd().
Here is the call graph for this function:| void ScheduleN0TcpRttTraceConnection | ( | std::ofstream * | ofStream | ) |
Definition at line 416 of file fqcodel-l4s-example.cc.
References ns3::Config::ConnectWithoutContext(), ns3::MakeBoundCallback(), and TraceN0Rtt().
Here is the call graph for this function:| void ScheduleN1PacketSinkConnection | ( | void | ) |
Definition at line 440 of file fqcodel-l4s-example.cc.
References ns3::Config::ConnectWithoutContext(), ns3::MakeCallback(), and TraceN1Rx().
Here is the call graph for this function:| void ScheduleN1TcpCwndTraceConnection | ( | std::ofstream * | ofStream | ) |
Definition at line 428 of file fqcodel-l4s-example.cc.
References ns3::Config::ConnectWithoutContext(), ns3::MakeBoundCallback(), and TraceN1Cwnd().
Here is the call graph for this function:| void ScheduleN1TcpRttTraceConnection | ( | std::ofstream * | ofStream | ) |
Definition at line 434 of file fqcodel-l4s-example.cc.
References ns3::Config::ConnectWithoutContext(), ns3::MakeBoundCallback(), and TraceN1Rtt().
Here is the call graph for this function:| void TraceDrop | ( | std::ofstream * | ofStream, |
| Ptr< const QueueDiscItem > | item | ||
| ) |
Definition at line 357 of file fqcodel-l4s-example.cc.
References g_dropsObserved, ns3::Time::GetSeconds(), and ns3::Now().
Here is the call graph for this function:| void TraceDropsFrequency | ( | std::ofstream * | ofStream, |
| Time | dropsSamplingInterval | ||
| ) |
Definition at line 378 of file fqcodel-l4s-example.cc.
References g_dropsObserved, ns3::Time::GetSeconds(), ns3::Now(), and TraceDropsFrequency().
Referenced by TraceDropsFrequency().
Here is the call graph for this function:
Here is the caller graph for this function:| void TraceMark | ( | std::ofstream * | ofStream, |
| Ptr< const QueueDiscItem > | item, | ||
| const char * | reason | ||
| ) |
Definition at line 364 of file fqcodel-l4s-example.cc.
References g_marksObserved, ns3::Time::GetSeconds(), and ns3::Now().
Here is the call graph for this function:| void TraceMarksFrequency | ( | std::ofstream * | ofStream, |
| Time | marksSamplingInterval | ||
| ) |
Definition at line 386 of file fqcodel-l4s-example.cc.
References g_marksObserved, ns3::Time::GetSeconds(), ns3::Now(), and TraceMarksFrequency().
Referenced by TraceMarksFrequency().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 311 of file fqcodel-l4s-example.cc.
References ns3::Time::GetSeconds(), and ns3::Now().
Referenced by ScheduleN0TcpCwndTraceConnection().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 327 of file fqcodel-l4s-example.cc.
References ns3::Time::GetSeconds(), and ns3::Now().
Referenced by ScheduleN0TcpRttTraceConnection().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 345 of file fqcodel-l4s-example.cc.
References g_n0BytesReceived, and ns3::Packet::GetSize().
Referenced by ScheduleN0PacketSinkConnection().
Here is the call graph for this function:
Here is the caller graph for this function:| void TraceN0Throughput | ( | std::ofstream * | ofStream, |
| Time | throughputInterval | ||
| ) |
Definition at line 394 of file fqcodel-l4s-example.cc.
References g_n0BytesReceived, ns3::Time::GetSeconds(), ns3::Now(), and TraceN0Throughput().
Referenced by TraceN0Throughput().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 319 of file fqcodel-l4s-example.cc.
References ns3::Time::GetSeconds(), and ns3::Now().
Referenced by ScheduleN1TcpCwndTraceConnection().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 333 of file fqcodel-l4s-example.cc.
References ns3::Time::GetSeconds(), and ns3::Now().
Referenced by ScheduleN1TcpRttTraceConnection().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 351 of file fqcodel-l4s-example.cc.
References g_n1BytesReceived, and ns3::Packet::GetSize().
Referenced by ScheduleN1PacketSinkConnection().
Here is the call graph for this function:
Here is the caller graph for this function:| void TraceN1Throughput | ( | std::ofstream * | ofStream, |
| Time | throughputInterval | ||
| ) |
Definition at line 402 of file fqcodel-l4s-example.cc.
References g_n1BytesReceived, ns3::Time::GetSeconds(), ns3::Now(), and TraceN1Throughput().
Referenced by TraceN1Throughput().
Here is the call graph for this function:
Here is the caller graph for this function:| void TracePingRtt | ( | std::ofstream * | ofStream, |
| Time | rtt | ||
| ) |
Definition at line 339 of file fqcodel-l4s-example.cc.
References ns3::Time::GetSeconds(), and ns3::Now().
Here is the call graph for this function:| void TraceQueueLength | ( | std::ofstream * | ofStream, |
| DataRate | linkRate, | ||
| uint32_t | oldVal, | ||
| uint32_t | newVal | ||
| ) |
Definition at line 371 of file fqcodel-l4s-example.cc.
References ns3::DataRate::GetBitRate(), ns3::Time::GetSeconds(), and ns3::Now().
Here is the call graph for this function:| double avgQueueDiscSize |
Definition at line 303 of file fqcodel-l4s-example.cc.
| uint32_t checkTimes |
Definition at line 302 of file fqcodel-l4s-example.cc.
| uint32_t g_dropsObserved = 0 |
Definition at line 308 of file fqcodel-l4s-example.cc.
Referenced by TraceDrop(), and TraceDropsFrequency().
| uint32_t g_marksObserved = 0 |
Definition at line 307 of file fqcodel-l4s-example.cc.
Referenced by TraceMark(), and TraceMarksFrequency().
| uint32_t g_n0BytesReceived = 0 |
Definition at line 305 of file fqcodel-l4s-example.cc.
Referenced by TraceN0Rx(), and TraceN0Throughput().
| uint32_t g_n1BytesReceived = 0 |
Definition at line 306 of file fqcodel-l4s-example.cc.
Referenced by TraceN1Rx(), and TraceN1Throughput().