Public Member Functions | |
MrclAodvTracer () | |
Protected Member Functions | |
void | format (Packet *p, SAP *sap) |
Definition at line 34 of file aodv-tracer.h.
void MrclAodvTracer::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 aodv-tracer.cc.
References hdr_mrcl_aodv::ah_type, MRCL_ADDRESS_MAX_LEN, hdr_mrcl_aodv_reply::rp_dst, hdr_mrcl_aodv_reply::rp_dst_seqno, hdr_mrcl_aodv_reply::rp_hop_count, hdr_mrcl_aodv_reply::rp_src, hdr_mrcl_aodv_request::rq_bcast_id, hdr_mrcl_aodv_request::rq_dst, hdr_mrcl_aodv_request::rq_hop_count, hdr_mrcl_aodv_request::rq_src, and Tracer::writeTrace().
Here is the call graph for this function: