A Discrete-Event Network Simulator
API
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 37 of file test-asn1-encoding.cc.

Member Function Documentation

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

Definition at line 77 of file test-asn1-encoding.cc.

References NS_LOG_DEBUG.

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

Definition at line 55 of file test-asn1-encoding.cc.

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

+ Here is the call graph for this function:

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

Definition at line 41 of file test-asn1-encoding.cc.

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

+ Here is the call graph for this function:


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