A Discrete-Event Network Simulator
API
ns3::TestUtils Class Reference

Static Public Member Functions

static void LogPacketContents (Ptr< Packet > pkt)
 
template<class T >
static void LogPacketInfo (T source, std::string s)
 
static std::string sprintPacketContentsBin (Ptr< Packet > pkt)
 
static std::string sprintPacketContentsHex (Ptr< Packet > pkt)
 

Detailed Description

Definition at line 38 of file test-lte-rlc-header.cc.

Member Function Documentation

static void ns3::TestUtils::LogPacketContents ( Ptr< Packet pkt)
inlinestatic

Definition at line 70 of file test-lte-rlc-header.cc.

References NS_LOG_DEBUG, sprintPacketContentsBin(), and sprintPacketContentsHex().

Referenced by ns3::RlcAmStatusPduTestCase::DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<class T >
static void ns3::TestUtils::LogPacketInfo ( source,
std::string  s 
)
inlinestatic

Definition at line 78 of file test-lte-rlc-header.cc.

References NS_LOG_DEBUG.

static std::string ns3::TestUtils::sprintPacketContentsBin ( Ptr< Packet pkt)
inlinestatic

Definition at line 56 of file test-lte-rlc-header.cc.

References ns3::Packet::CopyData(), and ns3::Packet::GetSize().

Referenced by TestUtils::LogPacketContents(), and LogPacketContents().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static std::string ns3::TestUtils::sprintPacketContentsHex ( Ptr< Packet pkt)
inlinestatic

Definition at line 42 of file test-lte-rlc-header.cc.

References ns3::Packet::CopyData(), and ns3::Packet::GetSize().

Referenced by ns3::RlcAmStatusPduTestCase::DoRun(), TestUtils::LogPacketContents(), and LogPacketContents().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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