#include <stdint.h>
#include "ns3/test.h"
#include "ns3/core-module.h"
#include "ns3/tcp-header.h"
#include "ns3/buffer.h"
#include "ns3/tcp-option-rfc793.h"
Go to the source code of this file.
Classes | |
class | TcpHeaderFlagsToString |
TCP header Flags to Striing 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. More... | |
#define __STDC_LIMIT_MACROS |
Definition at line 20 of file tcp-header-test.cc.
#define GET_RANDOM_UINT16 | ( | RandomVariable | ) | static_cast<uint16_t> (RandomVariable->GetInteger (0, UINT16_MAX)) |
Definition at line 33 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 30 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 39 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 36 of file tcp-header-test.cc.
|
static |
Static variable for test initialization.
Definition at line 443 of file tcp-header-test.cc.