A Discrete-Event Network Simulator
API
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. More...
 
 Expected (uint32_t n_, uint32_t start_, uint32_t end_, uint8_t data_)
 Constructor. More...
 

Public Attributes

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

Detailed Description

Struct to hold the expected data in the packet.

Note
Class internal to packet-test-suite.cc

Definition at line 387 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 395 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 405 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 411 of file packet-test-suite.cc.

◆ 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 408 of file packet-test-suite.cc.

◆ start

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

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