A Discrete-Event Network Simulator
API
ns3tcp-state-test-suite.cc File Reference
#include "ns3tcp-socket-writer.h"
#include "ns3/abort.h"
#include "ns3/boolean.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/test.h"
#include "ns3/traffic-control-helper.h"
#include "ns3/uinteger.h"
#include <iomanip>
#include <string>
+ Include dependency graph for ns3tcp-state-test-suite.cc:

Go to the source code of this file.

Classes

class  Ns3TcpStateTestCase
 Tests of TCP implementation state machine behavior. More...
 
class  Ns3TcpStateTestSuite
 TCP implementation state machine behavior TestSuite. More...
 

Variables

static Ns3TcpStateTestSuite g_ns3TcpLossTestSuite
 Do not forget to allocate an instance of this TestSuite. More...
 
const uint32_t PCAP_LINK_TYPE
 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

Ns3TcpStateTestSuite g_ns3TcpLossTestSuite
static

Do not forget to allocate an instance of this TestSuite.

Definition at line 552 of file ns3tcp-state-test-suite.cc.

◆ PCAP_LINK_TYPE

const uint32_t PCAP_LINK_TYPE
Initial value:
=
1187373554

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

Definition at line 62 of file ns3tcp-state-test-suite.cc.

Referenced by Ns3TcpStateTestCase::DoSetup().

◆ PCAP_SNAPLEN

const uint32_t PCAP_SNAPLEN = 64

Don't bother to save much data.

Definition at line 64 of file ns3tcp-state-test-suite.cc.

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

◆ WRITE_LOGGING

const bool WRITE_LOGGING = false

Set to true to write logging.

Definition at line 61 of file ns3tcp-state-test-suite.cc.

◆ WRITE_PCAP

const bool WRITE_PCAP = false

Set to true to write out pcap.

Definition at line 60 of file ns3tcp-state-test-suite.cc.

◆ WRITE_VECTORS

const bool WRITE_VECTORS = false

Set to true to write response vectors.

Definition at line 59 of file ns3tcp-state-test-suite.cc.