Contains ASN encoding test utility functions. More...
Static Public Member Functions | |
| static void | LogPacketContents (Ptr< Packet > pkt) |
| Function to log packet contents. | |
| template<class T > | |
| static void | LogPacketInfo (T source, std::string s) |
| Function to log packet info. | |
| static std::string | sprintPacketContentsBin (Ptr< Packet > pkt) |
| Function to convert packet contents in binary format. | |
| static std::string | sprintPacketContentsHex (Ptr< Packet > pkt) |
| Function to convert packet contents in hex format. | |
Contains ASN encoding test utility functions.
Definition at line 42 of file test-asn1-encoding.cc.
Function to log packet contents.
| pkt | the packet |
Definition at line 85 of file test-asn1-encoding.cc.
References NS_LOG_DEBUG, sprintPacketContentsBin(), and sprintPacketContentsHex().
Referenced by RrcConnectionRequestTestCase::DoRun(), RrcConnectionSetupTestCase::DoRun(), RrcConnectionSetupCompleteTestCase::DoRun(), RrcConnectionReconfigurationCompleteTestCase::DoRun(), RrcConnectionReconfigurationTestCase::DoRun(), HandoverPreparationInfoTestCase::DoRun(), RrcConnectionReestablishmentRequestTestCase::DoRun(), RrcConnectionReestablishmentTestCase::DoRun(), RrcConnectionReestablishmentCompleteTestCase::DoRun(), RrcConnectionRejectTestCase::DoRun(), and MeasurementReportTestCase::DoRun().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Function to log packet info.
| source | T |
| s | the string |
Definition at line 98 of file test-asn1-encoding.cc.
References NS_LOG_DEBUG.
Function to convert packet contents in binary format.
| pkt | the packet |
Definition at line 68 of file test-asn1-encoding.cc.
Referenced by LogPacketContents().
Here is the caller graph for this function:Function to convert packet contents in hex format.
| pkt | the packet |
Definition at line 50 of file test-asn1-encoding.cc.
Referenced by LogPacketContents().
Here is the caller graph for this function: