A Discrete-Event Network Simulator
API
ns3tcp-loss-test-suite.cc File Reference
#include <iomanip>
#include "ns3/log.h"
#include "ns3/abort.h"
#include "ns3/test.h"
#include "ns3/pcap-file.h"
#include "ns3/config.h"
#include "ns3/string.h"
#include "ns3/uinteger.h"
#include "ns3/data-rate.h"
#include "ns3/inet-socket-address.h"
#include "ns3/point-to-point-helper.h"
#include "ns3/internet-stack-helper.h"
#include "ns3/ipv4-global-routing-helper.h"
#include "ns3/ipv4-address-helper.h"
#include "ns3/packet-sink-helper.h"
#include "ns3/tcp-socket-factory.h"
#include "ns3/node-container.h"
#include "ns3/simulator.h"
#include "ns3/error-model.h"
#include "ns3/pointer.h"
#include "ns3tcp-socket-writer.h"
#include "ns3/tcp-westwood.h"
#include "ns3/tcp-header.h"
+ 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. More...
 
const uint32_t PCAP_LINK_TYPE = 1187373557
 Some large random number – we use to verify data was written by this program. More...
 
const uint32_t PCAP_SNAPLEN = 64
 Don't bother to save much data. More...
 
const bool WRITE_LOGGING = false
 Set to true to write logging. More...
 
const bool WRITE_PCAP = false
 Set to true to write out pcap. More...
 
const bool WRITE_VECTORS = false
 Set to true to write response vectors. More...
 

Variable Documentation

◆ g_ns3TcpLossTestSuite

Ns3TcpLossTestSuite g_ns3TcpLossTestSuite
static

Do not forget to allocate an instance of this TestSuite.

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

◆ PCAP_LINK_TYPE

const uint32_t PCAP_LINK_TYPE = 1187373557

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

Definition at line 60 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 61 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 59 of file ns3tcp-loss-test-suite.cc.

◆ WRITE_PCAP

const bool WRITE_PCAP = false

Set to true to write out pcap.

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

◆ WRITE_VECTORS

const bool WRITE_VECTORS = false

Set to true to write response vectors.

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