class <LanRouter> LanRouter : public NsObject


Inheritance:


Public Fields

LanRouter instvar EnableHierRt_

Public Methods

LanRouter instproc init {ns lan}
LanRouter()
virtual int next_hop(Packet *p)

Protected Fields

bool enableHrouting_
type of routing used: flat or hierarchical
char lanaddr_[SMALL_LEN]
address of the lan
RouteLogic* routelogic_
for lookups of the next hop
Classifier* switch_
to tell mcast from ucast

Protected Methods

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

Inherited from NsObject:

Public Methods

virtual void debug(const char *fmt, ...)
virtual int delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
virtual void delay_bind_init_all()
int isdebug()

Protected Fields

int debug_
int off_cmn_
int off_flags_

Protected Methods

void handle(Event*)
virtual void reset()

Inherited from Handler:


Documentation

LanRouter()

virtual int next_hop(Packet *p)

int command(int argc, const char*const* argv)

void recv(Packet *, Handler * = 0)
not used

RouteLogic* routelogic_
for lookups of the next hop

Classifier* switch_
to tell mcast from ucast

char lanaddr_[SMALL_LEN]
address of the lan

bool enableHrouting_
type of routing used: flat or hierarchical

LanRouter instproc init {ns lan}
LanRouter--------------------------------------------------

"Virtual node lan" needs to know which of the lan nodes is the next hop towards the packet's (maybe remote) destination. ------------------------------------------------------------

LanRouter instvar EnableHierRt_


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de