#include "ns3/buffer.h"
#include "ns3/core-module.h"
#include "ns3/tcp-header.h"
#include "ns3/tcp-option-rfc793.h"
#include "ns3/test.h"
#include <stdint.h>
Go to the source code of this file.
Classes | |
class | TcpHeaderFlagsToString |
TCP header Flags to String test. More... | |
class | TcpHeaderGetSetTestCase |
TCP header Get/Set test. More... | |
class | TcpHeaderTestSuite |
TCP header TestSuite. More... | |
class | TcpHeaderWithRFC793OptionTestCase |
TCP header with RFC793 Options test. More... | |
Macros | |
#define | __STDC_LIMIT_MACROS |
#define | GET_RANDOM_UINT16(RandomVariable) static_cast<uint16_t>(RandomVariable->GetInteger(0, UINT16_MAX)) |
#define | GET_RANDOM_UINT32(RandomVariable) static_cast<uint32_t>(RandomVariable->GetInteger(0, UINT32_MAX)) |
#define | GET_RANDOM_UINT6(RandomVariable) static_cast<uint8_t>(RandomVariable->GetInteger(0, UINT8_MAX >> 2)) |
#define | GET_RANDOM_UINT8(RandomVariable) static_cast<uint8_t>(RandomVariable->GetInteger(0, UINT8_MAX)) |
Variables | |
static TcpHeaderTestSuite | g_TcpHeaderTestSuite |
Static variable for test initialization. | |
#define __STDC_LIMIT_MACROS |
Definition at line 8 of file tcp-header-test.cc.
#define GET_RANDOM_UINT16 | ( | RandomVariable | ) | static_cast<uint16_t>(RandomVariable->GetInteger(0, UINT16_MAX)) |
Definition at line 22 of file tcp-header-test.cc.
Referenced by TcpHeaderGetSetTestCase::DoRun().
#define GET_RANDOM_UINT32 | ( | RandomVariable | ) | static_cast<uint32_t>(RandomVariable->GetInteger(0, UINT32_MAX)) |
Definition at line 19 of file tcp-header-test.cc.
Referenced by TcpHeaderGetSetTestCase::DoRun().
#define GET_RANDOM_UINT6 | ( | RandomVariable | ) | static_cast<uint8_t>(RandomVariable->GetInteger(0, UINT8_MAX >> 2)) |
Definition at line 28 of file tcp-header-test.cc.
Referenced by TcpHeaderGetSetTestCase::DoRun().
#define GET_RANDOM_UINT8 | ( | RandomVariable | ) | static_cast<uint8_t>(RandomVariable->GetInteger(0, UINT8_MAX)) |
Definition at line 25 of file tcp-header-test.cc.
|
static |
Static variable for test initialization.
Definition at line 462 of file tcp-header-test.cc.