IPInterfaceModule Class Reference

Inheritance diagram for IPInterfaceModule:

Inheritance graph
[legend]
Collaboration diagram for IPInterfaceModule:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IPInterfaceModule ()
virtual ~IPInterfaceModule ()
virtual void recv (Packet *p)
int command (int argc, const char *const *argv)

Detailed Description

Definition at line 40 of file ip-interface.h.


Member Function Documentation

void IPInterfaceModule::recv ( Packet *  p  )  [virtual]

Abstract method which has to be filled with the ad-hoc operations that the module has to do to the packet received

Parameters:
p pointer to the packet will be received
See also:
SAP, ChSAP

Reimplemented from IPModule.

Reimplemented in UmtsIPInterfaceModule.

Definition at line 56 of file ip-interface.cc.

References Module::drop(), IPModule::ipAddr_, Module::sendDown(), Module::sendUp(), IPModule::subnet_, and UP.

Referenced by UmtsIPInterfaceModule::recv().

Here is the call graph for this function:

int IPInterfaceModule::command ( int  argc,
const char *const *  argv 
) [inline, virtual]

TCL command interpreter. It implements the following OTcl methods:

Moreover it inherits all the OTcl method of PlugIn

Parameters:
argc number of arguments in argv
argv array of strings which are the comand parameters (Note that argv[0] is the name of the object)
Returns:
TCL_OK or TCL_ERROR whether the command has been dispatched succesfully or no
See also:
PlugIn

Reimplemented from IPModule.

Reimplemented in UmtsIPInterfaceModule.

Definition at line 46 of file ip-interface.h.

References IPModule::command().

Referenced by UmtsIPInterfaceModule::command().

Here is the call graph for this function:


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