A Discrete-Event Network Simulator
API
Functions
codel-vs-pfifo-asymmetric.cc File Reference
#include <iostream>
#include <fstream>
#include <string>
#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"
#include "ns3/config-store-module.h"
#include "ns3/error-model.h"
#include "ns3/tcp-header.h"
#include "ns3/udp-header.h"
#include "ns3/enum.h"
#include "ns3/event-id.h"
#include "ns3/ipv4-global-routing-helper.h"
#include "ns3/traffic-control-module.h"

Go to the source code of this file.

Functions

void CreateBulkFlow (AddressValue remoteAddress, Ptr< Node > sender, uint32_t pktSize, float stopTime)
 
void CreateOnOffFlow (AddressValue remoteAddress, Ptr< Node > sender, float stopTime)
 
static void CwndTracer (Ptr< OutputStreamWrapper >stream, uint32_t oldval, uint32_t newval)
 
static void DroppingStateTracer (Ptr< OutputStreamWrapper >stream, bool oldVal, bool newVal)
 
static void EveryDropTracer (Ptr< OutputStreamWrapper >stream, Ptr< const QueueDiscItem > item)
 
static void QueueLengthTracer (Ptr< OutputStreamWrapper >stream, uint32_t oldval, uint32_t newval)
 
static void SojournTracer (Ptr< OutputStreamWrapper >stream, Time oldval, Time newval)
 
static void TraceCwnd (std::string cwndTrFileName)
 
static void TraceDroppingState (std::string dropStateTrFileName)
 
static void TraceEveryDrop (std::string everyDropTrFileName)
 
static void TraceQueueLength (std::string queueLengthTrFileName)
 
static void TraceSojourn (std::string sojournTrFileName)
 

Function Documentation

◆ CreateBulkFlow()

void CreateBulkFlow ( AddressValue  remoteAddress,
Ptr< Node sender,
uint32_t  pktSize,
float  stopTime 
)

◆ CreateOnOffFlow()

void CreateOnOffFlow ( AddressValue  remoteAddress,
Ptr< Node sender,
float  stopTime 
)

◆ CwndTracer()

static void CwndTracer ( Ptr< OutputStreamWrapper stream,
uint32_t  oldval,
uint32_t  newval 
)
static

Definition at line 73 of file codel-vs-pfifo-asymmetric.cc.

References ns3::OutputStreamWrapper::GetStream().

Referenced by TraceCwnd().

◆ DroppingStateTracer()

static void DroppingStateTracer ( Ptr< OutputStreamWrapper stream,
bool  oldVal,
bool  newVal 
)
static

◆ EveryDropTracer()

static void EveryDropTracer ( Ptr< OutputStreamWrapper stream,
Ptr< const QueueDiscItem item 
)
static

◆ QueueLengthTracer()

static void QueueLengthTracer ( Ptr< OutputStreamWrapper stream,
uint32_t  oldval,
uint32_t  newval 
)
static

Definition at line 117 of file codel-vs-pfifo-asymmetric.cc.

References ns3::OutputStreamWrapper::GetStream().

Referenced by TraceQueueLength().

◆ SojournTracer()

static void SojournTracer ( Ptr< OutputStreamWrapper stream,
Time  oldval,
Time  newval 
)
static

Definition at line 95 of file codel-vs-pfifo-asymmetric.cc.

References ns3::OutputStreamWrapper::GetStream().

Referenced by TraceSojourn().

◆ TraceCwnd()

static void TraceCwnd ( std::string  cwndTrFileName)
static

◆ TraceDroppingState()

static void TraceDroppingState ( std::string  dropStateTrFileName)
static

◆ TraceEveryDrop()

static void TraceEveryDrop ( std::string  everyDropTrFileName)
static

◆ TraceQueueLength()

static void TraceQueueLength ( std::string  queueLengthTrFileName)
static

◆ TraceSojourn()

static void TraceSojourn ( std::string  sojournTrFileName)
static