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  

TORADest Class Reference

#include <tora_dest.h>

List of all members.

Public Member Functions

 TORADest (nsaddr_t id, Agent *a)
TORANeighbor * nb_add (nsaddr_t id)
int nb_del (nsaddr_t id)
TORANeighbor * nb_find (nsaddr_t id)
void update_height_nb (TORANeighbor *tn, struct hdr_tora_upd *uh)
void update_height (double TAU, nsaddr_t OID, int R, int DELTA, nsaddr_t ID)
int nb_check_same_ref (void)
TORANeighbor * nb_find_next_hop ()
TORANeighbor * nb_find_height (int R)
TORANeighbor * nb_find_max_height (void)
TORANeighbor * nb_find_min_height (int R)
TORANeighbor * nb_find_min_nonnull_height (Height *h)
void dump (void)

Private Member Functions

 LIST_ENTRY (TORADest) link

Private Attributes

nsaddr_t index
Height height
int rt_req
double time_upd
double time_tx_qry
double time_rt_req
tn_head nblist
int num_active
int num_down
int num_up
toraAgent * agent

Friends

class toraAgent


Constructor & Destructor Documentation

TORADest::TORADest (  nsaddr_t    id,
Agent *    a
) 
 


Member Function Documentation

void TORADest::dump (  void    ) 
 

TORADest::LIST_ENTRY (  TORADest    )  [private]
 

TORANeighbor * TORADest::nb_add (  nsaddr_t    id ) 
 

int TORADest::nb_check_same_ref (  void    ) 
 

int TORADest::nb_del (  nsaddr_t    id ) 
 

TORANeighbor * TORADest::nb_find (  nsaddr_t    id ) 
 

TORANeighbor* TORADest::nb_find_height (  int    R ) 
 

TORANeighbor * TORADest::nb_find_max_height (  void    ) 
 

TORANeighbor * TORADest::nb_find_min_height (  int    R ) 
 

TORANeighbor * TORADest::nb_find_min_nonnull_height (  Height *    h ) 
 

TORANeighbor * TORADest::nb_find_next_hop (    ) 
 

void TORADest::update_height (  double    TAU,
nsaddr_t    OID,
int    R,
int    DELTA,
nsaddr_t    ID
) 
 

void TORADest::update_height_nb (  TORANeighbor *    tn,
struct hdr_tora_upd *    uh
) 
 


Friends And Related Function Documentation

friend class toraAgent [friend]
 


Member Data Documentation

toraAgent* TORADest::agent [private]
 

Height TORADest::height [private]
 

nsaddr_t TORADest::index [private]
 

tn_head TORADest::nblist [private]
 

int TORADest::num_active [private]
 

int TORADest::num_down [private]
 

int TORADest::num_up [private]
 

int TORADest::rt_req [private]
 

double TORADest::time_rt_req [private]
 

double TORADest::time_tx_qry [private]
 

double TORADest::time_upd [private]
 


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