class CMUTrace/Recv : CMUTrace <CMUTrace>


Inheritance:


Public Methods

CMUTrace/Recv instproc init { tname }

Inherited from CMUTrace:

Public Fields

CMUTrace instvar callback_
CMUTrace instvar dst_
CMUTrace instvar fp_
CMUTrace instvar show_tcphdr_
CMUTrace instvar src_
CMUTrace instvar type_

Public Methods

CMUTrace instproc attach fp
void recv(Packet *p, const char* why)
void recv(Packet *p, Handler *h)

Private Fields

int newtrace_
MobileNode* node_
int nodeColor[MAX_NODE]
int off_AODV_
int off_arp_
int off_IMEP_
int off_mac_
int off_sr_
int off_TORA_
char tracename[MAX_ID_LEN + 1]
int tracetype

Private Methods

int command(int argc, const char*const* argv)
void format(Packet *p, const char *why)
void format_aodv(Packet *p, int offset)
void format_arp(Packet *p, int offset)
void format_dsr(Packet *p, int offset)
void format_imep(Packet *p, int offset)
void format_ip(Packet *p, int offset)
void format_mac(Packet *p, const char *why, int offset)
void format_msg(Packet *p, int offset)
void format_rtp(Packet *p, int offset)
void format_tcp(Packet *p, int offset)
void format_tora(Packet *p, int offset)
int initialized()
void nam_format(Packet *p, int offset)
int node_energy()

Inherited from Trace:

Public Fields

int off_ip_
int off_rtp_
int off_srm_
int off_tcp_

Public Methods

inline char* buffer()
void dump()
void namdump()
static double round(double x, double precision=PRECISION)
void trace(TracedVar*)
virtual void write_nam_trace(const char *s)

Public

#define PRECISION
#define TIME_FORMAT

Protected Fields

Tcl_Channel channel_
Tcl_Channel namChan_
char nwrk_[256]
char wrk_[1024]

Protected Methods

void annotate(const char* s)

Inherited from Connector:

Public Methods

virtual void drop(Packet* p)
inline NsObject* target()

Protected Fields

NsObject* drop_
NsObject* target_

Protected Methods

virtual void drop(Packet* p, const char *s)
inline void send(Packet* p, Handler* h)

Inherited from NsObject:

Public Methods

virtual void debug(const char *fmt, ...)
virtual int delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
virtual void delay_bind_init_all()
int isdebug()

Protected Fields

int debug_
int off_cmn_
int off_flags_

Protected Methods

void handle(Event*)
virtual void reset()

Inherited from Handler:


Documentation

CMUTrace/Recv instproc init { tname }


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de