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  

LanRouter Class Reference

#include <lanRouter.h>

Inheritance diagram for LanRouter:

NsObject TclObject Handler List of all members.

Public Member Functions

 LanRouter ()
virtual int next_hop (Packet *p)

Protected Member Functions

int command (int argc, const char *const *argv)
void recv (Packet *, Handler *=0)

Protected Attributes

RouteLogicroutelogic_
Classifierswitch_
char lanaddr_ [SMALL_LEN]
bool enableHrouting_

Constructor & Destructor Documentation

LanRouter::LanRouter   [inline]
 


Member Function Documentation

int LanRouter::command int    argc,
const char *const *    argv
[protected, virtual]
 

Reimplemented from NsObject.

int LanRouter::next_hop Packet   p [virtual]
 

void LanRouter::recv Packet  ,
Handler   = 0
[inline, protected, virtual]
 

Implements NsObject.


Member Data Documentation

bool LanRouter::enableHrouting_ [protected]
 

char LanRouter::lanaddr_[SMALL_LEN] [protected]
 

RouteLogic* LanRouter::routelogic_ [protected]
 

Classifier* LanRouter::switch_ [protected]
 


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