Public Member Functions | |
MrclRoutingTracer () | |
Protected Member Functions | |
void | format (Packet *p, SAP *sap) |
Definition at line 34 of file routing-tracer.h.
void MrclRoutingTracer::format | ( | Packet * | p, | |
SAP * | sap | |||
) | [protected, virtual] |
This method has to write a formatted string with the packet's information using the method writeTrace of the given SAP.
p | pointer to the Packet to be traced | |
sap | pointer to the SAP instance which ask for the trace |
Implements Tracer.
Definition at line 41 of file routing-tracer.cc.
References RoutingHdr::daddr(), HDR_ROUTING, MRCL_ADDRESS_MAX_LEN, RoutingHdr::nexthop(), RoutingHdr::saddr(), and Tracer::writeTrace().
Here is the call graph for this function: