Aodv_rt_entry Class Reference

Collaboration diagram for Aodv_rt_entry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Aodv_rt_entry ()
 ~Aodv_rt_entry ()
void nb_insert (char *addr)
AddrListnb_lookup (char *addr)
void pc_insert (char *addr)
AddrListpc_lookup (char *addr)
void pc_delete (char *addr)
void pc_delete ()
void pc_show ()
int pc_empty ()
Aodv_rt_entrygetNext ()
Aodv_rt_entrygetPrev ()
void setNext (Aodv_rt_entry *e)
void setPrev (Aodv_rt_entry *e)
void setDst (char *addr)
char * getDst ()
void setSeqno (int sn)
void incrSeqno ()
int getSeqno ()
void setHops (int h)
int getHops ()
void setLastHopCount (int lh)
int getLastHopCount ()
void setNexthop (char *addr)
void resetNexthop ()
char * getNexthop ()
void setExpire (double e)
double getExpire ()
void setFlags (char f)
char getFlags ()
void setReqLastTtl (int lt)
int getReqLastTtl ()
void setDiscLatency (int i, double val)
double getDiscLatency (int i)
char getHistIndx ()
void setHistIndx (char val)

Public Attributes

double rt_req_timeout
char rt_req_cnt

Protected Attributes

Aodv_rt_entrynext_
Aodv_rt_entryprev_
char rt_dst_ [MRCL_ADDRESS_MAX_LEN]
int rt_seqno_
int rt_hops_
int rt_last_hop_count_
char nexthop_ [MRCL_ADDRESS_MAX_LEN]
AddrListrt_pclist_
double expire_
char rt_flags_
double rt_disc_latency_ [MAX_HISTORY]
char hist_indx_
int rt_req_last_ttl_
AddrListrt_nblist_

Detailed Description

Definition at line 59 of file aodv-rt-table.h.


Constructor & Destructor Documentation

Aodv_rt_entry::Aodv_rt_entry (  ) 

Ported to NS-Miracle by Marco Miozzo, 2008

Definition at line 45 of file aodv-rt-table.cc.

References expire_, hist_indx_, MRCL_ADDRESS_MAX_LEN, next_, nexthop_, prev_, rt_disc_latency_, rt_dst_, rt_flags_, rt_hops_, rt_last_hop_count_, rt_nblist_, rt_pclist_, rt_req_cnt, rt_req_last_ttl_, rt_req_timeout, and rt_seqno_.


The documentation for this class was generated from the following files:
Generated on Wed Nov 26 15:47:56 2008 for NS-MIRACLE library by  doxygen 1.5.2