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  

SRForwarder Class Reference

#include <sr_forwarder.h>

Inheritance diagram for SRForwarder:

NsObject TclObject Handler List of all members.

Public Member Functions

 SRForwarder ()

Protected Member Functions

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

Protected Attributes


Private Member Functions

void handlePktWithoutSR (Packet *p)

Private Attributes

int off_mac_
int off_ll_
int off_ip_
int off_sr_

Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from NsObject.

void SRForwarder::handlePktWithoutSR Packet   p [private]

void SRForwarder::recv Packet  ,
Handler   callback = 0
[protected, virtual]

Implements NsObject.

Member Data Documentation

int SRForwarder::off_ip_ [private]

int SRForwarder::off_ll_ [private]

int SRForwarder::off_mac_ [private]

int SRForwarder::off_sr_ [private]

DSRProto* SRForwarder::route_agent_ [protected]

RouteCache* SRForwarder::routecache_ [protected]

NsObject* SRForwarder::target_ [protected]

Trace* SRForwarder::tracetarget [private]

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