DESERT 4.0.0
TLohiTracer Class Reference
Inheritance diagram for TLohiTracer:
Inheritance graph
Collaboration diagram for TLohiTracer:
Collaboration graph

Public Member Functions

 TLohiTracer ()
 

Protected Member Functions

void format (Packet *p, SAP *sap)
 
char * printType (TLOHI_PKT_TYPE type)
 

Detailed Description

Class that represents a Tracer for T-LOHI protocol

Constructor & Destructor Documentation

◆ TLohiTracer()

TLohiTracer::TLohiTracer ( )

Constructor of the class

Member Function Documentation

◆ format()

void TLohiTracer::format ( Packet *  p,
SAP *  sap 
)
protected

Format the output for the tracer

Parameters
Packet*pointer to the packet to trace
SAP*pointer to the Service Access Point to trace

References hdr_tlohi::pkt_type, printType(), PT_TLOHI, PT_WKUP, hdr_tlohi::sn, and hdr_tlohi::ts.

Here is the call graph for this function:

◆ printType()

char * TLohiTracer::printType ( TLOHI_PKT_TYPE  type)
protected

Print the type of packet

Parameters
TLOHI_PKT_TYPEtype of the packet
Returns
char* pointer to the description of the packet

References ACK_PKT, and DATA_PKT.

Referenced by format().


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