A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
tcp-highspeed-test.cc File Reference
#include "ns3/log.h"
#include "ns3/tcp-congestion-ops.h"
#include "ns3/tcp-highspeed.h"
#include "ns3/tcp-socket-base.h"
#include "ns3/test.h"
+ Include dependency graph for tcp-highspeed-test.cc:

Go to the source code of this file.

Classes

struct  HighSpeedImportantValues
 TcpHighSpeed Congestion window values to test. More...
 
class  TcpHighSpeedDecrementTest
 Testing the congestion avoidance decrement on TcpHighSpeed. More...
 
class  TcpHighSpeedIncrementTest
 Testing the congestion avoidance increment on TcpHighSpeed. More...
 
class  TcpHighSpeedTestSuite
 TCP HighSpeed TestSuite. More...
 

Macros

#define HIGHSPEED_VALUES_N   71
 

Variables

static TcpHighSpeedTestSuite g_tcpHighSpeedTest
 Static variable for test initialization.
 
static const HighSpeedImportantValues highSpeedImportantValues []
 List of data to be tested.
 

Macro Definition Documentation

◆ HIGHSPEED_VALUES_N

#define HIGHSPEED_VALUES_N   71

Definition at line 164 of file tcp-highspeed-test.cc.

Referenced by TcpHighSpeedTestSuite::TcpHighSpeedTestSuite().

Variable Documentation

◆ g_tcpHighSpeedTest

TcpHighSpeedTestSuite g_tcpHighSpeedTest
static

Static variable for test initialization.

Definition at line 217 of file tcp-highspeed-test.cc.

◆ highSpeedImportantValues

const HighSpeedImportantValues highSpeedImportantValues[]
static
Initial value:
{
{38, 128, }, {118, 112, }, {221, 104, },
{347, 98, }, {495, 93, }, {663, 89, },
{851, 86, }, {1058, 83, }, {1284, 81, },
{1529, 78, }, {1793, 76, }, {2076, 74, },
{2378, 72, }, {2699, 71, }, {3039, 69, },
{3399, 68, }, {3778, 66, }, {4177, 65, },
{4596, 64, }, {5036, 62, }, {5497, 61, },
{5979, 60, }, {6483, 59, }, {7009, 58, },
{7558, 57, }, {8130, 56, }, {8726, 55, },
{9346, 54, }, {9991, 53, }, {10661, 52, },
{11358, 52, }, {12082, 51, }, {12834, 50, },
{13614, 49, }, {14424, 48, }, {15265, 48, },
{16137, 47, }, {17042, 46, }, {17981, 45, },
{18955, 45, }, {19965, 44, }, {21013, 43, },
{22101, 43, }, {23230, 42, }, {24402, 41, },
{25618, 41, }, {26881, 40, }, {28193, 39, },
{29557, 39, }, {30975, 38, }, {32450, 38, },
{33986, 37, }, {35586, 36, }, {37253, 36, },
{38992, 35, }, {40808, 35, }, {42707, 34, },
{44694, 33, }, {46776, 33, }, {48961, 32, },
{51258, 32, }, {53677, 31, }, {56230, 30, },
{58932, 30, }, {61799, 29, }, {64851, 28, },
{68113, 28, }, {71617, 27, }, {75401, 26, },
{79517, 26, }, {84035, 25, }, {89053, 24, },
}

List of data to be tested.

Definition at line 137 of file tcp-highspeed-test.cc.

Referenced by TcpHighSpeedTestSuite::TcpHighSpeedTestSuite().