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

Public Member Functions

 DACAPTracer ()
 

Protected Member Functions

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

Detailed Description

DACAP Tracer class

Constructor & Destructor Documentation

◆ DACAPTracer()

DACAPTracer::DACAPTracer ( )

Constructor of DACAPTracer class

Member Function Documentation

◆ format()

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

Format the output of the trace

Parameters
Packet*Pointer to the packet to trace
SAP*Pointer to a the service access point where the trace is occurring

References hdr_dacap::dacap_type, printType(), PT_DACAP, hdr_dacap::sn, and hdr_dacap::ts.

Here is the call graph for this function:

◆ printType()

char * DACAPTracer::printType ( int  type)
protected

Print the type of packet to trace

Parameters
inttype of packet
Returns
Pointer to the string of character that describe the packet

References ACK_PKT, CTS_PKT, DATA_PKT, RTS_PKT, and WRN_PKT.

Referenced by format().


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