A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 37 of file test-asn1-encoding.cc.

Member Function Documentation

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

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

References NS_LOG_DEBUG.

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

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

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

Referenced by 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 41 of file test-asn1-encoding.cc.

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

Referenced by 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: