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  

DRTable Class Reference

#include <flowstruct.h>

List of all members.

Public Member Functions

 DRTable (int size_=FLOW_TABLE_SIZE)
 ~DRTable ()
bool find (nsaddr_t src, nsaddr_t dst, u_int16_t &flow)
void insert (nsaddr_t src, nsaddr_t dst, u_int16_t flow)
void flush (nsaddr_t src, nsaddr_t dst)

Private Member Functions

void grow ()

Private Attributes

int size
int maxSize
DRTabEnt * table


Constructor & Destructor Documentation

DRTable::DRTable (  int    size_ = FLOW_TABLE_SIZE ) 
 

DRTable::~DRTable (    ) 
 


Member Function Documentation

bool DRTable::find (  nsaddr_t    src,
nsaddr_t    dst,
u_int16_t &    flow
) 
 

void DRTable::flush (  nsaddr_t    src,
nsaddr_t    dst
) 
 

void DRTable::grow (    )  [private]
 

void DRTable::insert (  nsaddr_t    src,
nsaddr_t    dst,
u_int16_t    flow
) 
 


Member Data Documentation

int DRTable::maxSize [private]
 

int DRTable::size [private]
 

DRTabEnt* DRTable::table [private]
 


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