ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
|  Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DSDV_Agent Class Reference

#include <dsdv.h>

Inheritance diagram for DSDV_Agent:

Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 DSDV_Agent ()
virtual int command (int argc, const char *const *argv)
void lost_link (Packet *p)

Protected Member Functions

void helper_callback (Event *e)
Packet * rtable (int)
virtual void recv (Packet *, Handler *)
void trace (char *fmt,...)
void tracepkt (Packet *, double, int, const char *)
void needTriggeredUpdate (rtable_ent *prte, Time t)
void cancelTriggersBefore (Time t)
Packet * makeUpdate (int &periodic)
void updateRoute (rtable_ent *old_rte, rtable_ent *new_rte)
void processUpdate (Packet *p)
void forwardPacket (Packet *p)
void startUp ()
int diff_subnet (int dst)
void sendOutBCastPkt (Packet *p)
void output_rte (const char *prefix, rtable_ent *prte, DSDV_Agent *a)

Protected Attributes

Trace * tracetarget
DSDV_Helper * helper_
DSDVTriggerHandler * trigger_handler
RoutingTable * table_
PriQueue * ll_queue
int seqno_
int myaddr_
char * subnet_
MobileNode * node_
char * address
NsObject * port_dmux_
Event * periodic_callback_
int be_random_
int use_mac_
int verbose_
int trace_wst_
double lasttup_
double next_tup
double alpha_
double wst0_
double perup_
int min_update_periods_

Friends

class DSDV_Helper
class DSDVTriggerHandler

Constructor & Destructor Documentation

DSDV_Agent::DSDV_Agent (    ) 
 


Member Function Documentation

void DSDV_Agent::cancelTriggersBefore (  Time    t )  [protected]
 

int DSDV_Agent::command (  int    argc,
const char *const *    argv
)  [virtual]
 

Reimplemented from Agent.

int DSDV_Agent::diff_subnet (  int    dst )  [protected]
 

void DSDV_Agent::forwardPacket (  Packet *    p )  [protected]
 

void DSDV_Agent::helper_callback (  Event *    e )  [protected]
 

void DSDV_Agent::lost_link (  Packet *    p ) 
 

Packet * DSDV_Agent::makeUpdate (  int &    periodic )  [protected]
 

void DSDV_Agent::needTriggeredUpdate (  rtable_ent *    prte,
Time    t
)  [protected]
 

void DSDV_Agent::output_rte (  const char *    prefix,
rtable_ent *    prte,
DSDV_Agent *    a
)  [protected]
 

void DSDV_Agent::processUpdate (  Packet *    p )  [protected]
 

void DSDV_Agent::recv (  Packet *   ,
Handler *   
)  [protected, virtual]
 

Reimplemented from Agent.

Packet* DSDV_Agent::rtable (  int    )  [protected]
 

void DSDV_Agent::sendOutBCastPkt (  Packet *    p )  [protected]
 

void DSDV_Agent::startUp (    )  [protected]
 

void DSDV_Agent::trace (  char *    fmt,
...   
)  [protected]
 

void DSDV_Agent::tracepkt (  Packet *   ,
double   ,
int   ,
const char *   
)  [protected]
 

void DSDV_Agent::updateRoute (  rtable_ent *    old_rte,
rtable_ent *    new_rte
)  [protected]
 


Friends And Related Function Documentation

friend class DSDV_Helper [friend]
 

friend class DSDVTriggerHandler [friend]
 


Member Data Documentation

char* DSDV_Agent::address [protected]
 

double DSDV_Agent::alpha_ [protected]
 

int DSDV_Agent::be_random_ [protected]
 

DSDV_Helper* DSDV_Agent::helper_ [protected]
 

double DSDV_Agent::lasttup_ [protected]
 

PriQueue* DSDV_Agent::ll_queue [protected]
 

int DSDV_Agent::min_update_periods_ [protected]
 

int DSDV_Agent::myaddr_ [protected]
 

double DSDV_Agent::next_tup [protected]
 

MobileNode* DSDV_Agent::node_ [protected]
 

Event* DSDV_Agent::periodic_callback_ [protected]
 

double DSDV_Agent::perup_ [protected]
 

NsObject* DSDV_Agent::port_dmux_ [protected]
 

int DSDV_Agent::seqno_ [protected]
 

char* DSDV_Agent::subnet_ [protected]
 

RoutingTable* DSDV_Agent::table_ [protected]
 

int DSDV_Agent::trace_wst_ [protected]
 

Trace* DSDV_Agent::tracetarget [protected]
 

DSDVTriggerHandler* DSDV_Agent::trigger_handler [protected]
 

int DSDV_Agent::use_mac_ [protected]
 

int DSDV_Agent::verbose_ [protected]
 

double DSDV_Agent::wst0_ [protected]
 


The documentation for this class was generated from the following files:
This document is generated by doxygen.