A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
anonymous_namespace{packet-test-suite.cc}::Expected Struct Reference

Struct to hold the expected data in the packet. More...

+ Collaboration diagram for anonymous_namespace{packet-test-suite.cc}::Expected:

Public Member Functions

 Expected (uint32_t n_, uint32_t start_, uint32_t end_)
 Constructor.
 
 Expected (uint32_t n_, uint32_t start_, uint32_t end_, uint8_t data_)
 Constructor.
 

Public Attributes

uint8_t data
 Optional data.
 
uint32_t end
 End.
 
uint32_t n
 Number of elements.
 
uint32_t start
 Start.
 

Detailed Description

Struct to hold the expected data in the packet.

Note
Class internal to packet-test-suite.cc

Definition at line 452 of file packet-test-suite.cc.

Constructor & Destructor Documentation

◆ Expected() [1/2]

anonymous_namespace{packet-test-suite.cc}::Expected::Expected ( uint32_t n_,
uint32_t start_,
uint32_t end_ )
inline

Constructor.

Parameters
n_Number of elements
start_Start
end_End

Definition at line 460 of file packet-test-suite.cc.

◆ Expected() [2/2]

anonymous_namespace{packet-test-suite.cc}::Expected::Expected ( uint32_t n_,
uint32_t start_,
uint32_t end_,
uint8_t data_ )
inline

Constructor.

Parameters
n_Number of elements
start_Start
end_End
data_Data stored in tag

Definition at line 475 of file packet-test-suite.cc.

Member Data Documentation

◆ data

uint8_t anonymous_namespace{packet-test-suite.cc}::Expected::data

Optional data.

Definition at line 486 of file packet-test-suite.cc.

Referenced by PacketTest::DoCheckData().

◆ end

uint32_t anonymous_namespace{packet-test-suite.cc}::Expected::end

◆ n

uint32_t anonymous_namespace{packet-test-suite.cc}::Expected::n

Number of elements.

Definition at line 483 of file packet-test-suite.cc.

Referenced by PacketTest::DoCheck(), and PacketTest::DoCheckData().

◆ start

uint32_t anonymous_namespace{packet-test-suite.cc}::Expected::start

The documentation for this struct was generated from the following file: