#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <sstream>
#include <cstring>
#include "ns3/log.h"
#include "ns3/test.h"
#include "ns3/pcap-file.h"
Go to the source code of this file.
Classes | |
class | DiffTestCase |
class | FileHeaderTestCase |
struct | PacketEntry |
class | PcapFileTestSuite |
class | ReadFileTestCase |
class | ReadModeCreateTestCase |
class | RecordHeaderTestCase |
class | WriteModeCreateTestCase |
Functions | |
static bool | CheckFileExists (std::string filename) |
static bool | CheckFileLength (std::string filename, uint64_t sizeExpected) |
NS_LOG_COMPONENT_DEFINE ("pcap-file-test-suite") | |
static uint16_t | Swap (uint16_t val) |
static uint32_t | Swap (uint32_t val) |
Variables | |
PacketEntry | knownPackets [] |
const uint32_t | N_KNOWN_PACKETS = 6 |
const uint32_t | N_PACKET_BYTES = 16 |
static PcapFileTestSuite | pcapFileTestSuite |
|
static |
Definition at line 50 of file pcap-file-test-suite.cc.
Referenced by WriteModeCreateTestCase::DoRun(), and ReadModeCreateTestCase::DoRun().
|
static |
Definition at line 64 of file pcap-file-test-suite.cc.
Referenced by WriteModeCreateTestCase::DoRun().
NS_LOG_COMPONENT_DEFINE | ( | "pcap-file-test-suite" | ) |
|
static |
Definition at line 38 of file pcap-file-test-suite.cc.
Referenced by FileHeaderTestCase::DoRun(), and RecordHeaderTestCase::DoRun().
|
static |
Definition at line 44 of file pcap-file-test-suite.cc.
PacketEntry knownPackets[] |
Definition at line 1007 of file pcap-file-test-suite.cc.
Referenced by ReadFileTestCase::DoRun(), and DiffTestCase::DoRun().
const uint32_t N_KNOWN_PACKETS = 6 |
Definition at line 996 of file pcap-file-test-suite.cc.
Referenced by ReadFileTestCase::DoRun(), and DiffTestCase::DoRun().
const uint32_t N_PACKET_BYTES = 16 |
Definition at line 997 of file pcap-file-test-suite.cc.
Referenced by ReadFileTestCase::DoRun(), and DiffTestCase::DoRun().
|
static |
Definition at line 1142 of file pcap-file-test-suite.cc.