A Discrete-Event Network Simulator
red-vs-ared.cc File Reference
#include "ns3/applications-module.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/network-module.h"
#include "ns3/point-to-point-layout-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/traffic-control-module.h"
#include <iomanip>
#include <iostream>
#include <map>
+ Include dependency graph for red-vs-ared.cc:

Go to the source code of this file.

Detailed Description


$ ./ns3 run "red-vs-ared [Program Options]"

Program Options

Number of left and right side leaf nodes [10]
Max Packets allowed in the device queue [100]
Max Packets allowed in the queue disc [1000]
Set Queue disc type to RED or ARED [RED]
Set OnOff App Packet Size [512]
Set OnOff App DataRate [10Mbps]
Set Queue disc mode to Packets (false) or bytes (true) [false]
RED queue minimum threshold [5]
RED queue maximum threshold [15]

Definition in file red-vs-ared.cc.