A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3tcp-loss-test-suite.cc File Reference
#include "ns3tcp-socket-writer.h"
#include "ns3/abort.h"
#include "ns3/config.h"
#include "ns3/data-rate.h"
#include "ns3/error-model.h"
#include "ns3/inet-socket-address.h"
#include "ns3/internet-stack-helper.h"
#include "ns3/ipv4-address-helper.h"
#include "ns3/ipv4-global-routing-helper.h"
#include "ns3/log.h"
#include "ns3/node-container.h"
#include "ns3/packet-sink-helper.h"
#include "ns3/pcap-file.h"
#include "ns3/point-to-point-helper.h"
#include "ns3/pointer.h"
#include "ns3/simulator.h"
#include "ns3/string.h"
#include "ns3/tcp-header.h"
#include "ns3/tcp-socket-factory.h"
#include "ns3/tcp-westwood-plus.h"
#include "ns3/test.h"
#include "ns3/uinteger.h"
#include <iomanip>
+ Include dependency graph for ns3tcp-loss-test-suite.cc:

Go to the source code of this file.

Classes

class  Ns3TcpLossTestCase
 Tests of TCP implementation loss behavior. More...
 
class  Ns3TcpLossTestSuite
 TCP implementation loss behavior TestSuite. More...
 

Variables

static Ns3TcpLossTestSuite g_ns3TcpLossTestSuite
 Do not forget to allocate an instance of this TestSuite.
 
const uint32_t PCAP_LINK_TYPE
 Some large random number – we use to verify data was written by this program.
 
const uint32_t PCAP_SNAPLEN = 64
 Don't bother to save much data.
 
const bool WRITE_LOGGING = false
 Set to true to write logging.
 
const bool WRITE_PCAP = false
 Set to true to write out pcap.
 
const bool WRITE_VECTORS = false
 Set to true to write response vectors.
 

Variable Documentation

◆ g_ns3TcpLossTestSuite

Ns3TcpLossTestSuite g_ns3TcpLossTestSuite
static

Do not forget to allocate an instance of this TestSuite.

Definition at line 522 of file ns3tcp-loss-test-suite.cc.

◆ PCAP_LINK_TYPE

const uint32_t PCAP_LINK_TYPE
Initial value:
=
1187373557

Some large random number – we use to verify data was written by this program.

Definition at line 49 of file ns3tcp-loss-test-suite.cc.

Referenced by Ns3TcpLossTestCase::DoSetup().

◆ PCAP_SNAPLEN

const uint32_t PCAP_SNAPLEN = 64

Don't bother to save much data.

Definition at line 51 of file ns3tcp-loss-test-suite.cc.

Referenced by Ns3TcpLossTestCase::DoSetup(), and Ns3TcpLossTestCase::Ipv4L3Tx().

◆ WRITE_LOGGING

const bool WRITE_LOGGING = false

Set to true to write logging.

Definition at line 48 of file ns3tcp-loss-test-suite.cc.

◆ WRITE_PCAP

const bool WRITE_PCAP = false

Set to true to write out pcap.

Definition at line 47 of file ns3tcp-loss-test-suite.cc.

◆ WRITE_VECTORS

const bool WRITE_VECTORS = false

Set to true to write response vectors.

Definition at line 46 of file ns3tcp-loss-test-suite.cc.