UmtsIPInterfaceModule Class Reference

Inheritance diagram for UmtsIPInterfaceModule:

Inheritance graph
[legend]
Collaboration diagram for UmtsIPInterfaceModule:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 UmtsIPInterfaceModule ()
virtual ~UmtsIPInterfaceModule ()
virtual void recv (Packet *p)
int getCode (nsaddr_t ipaddr)
void addIpCode (nsaddr_t ipaddr, int code)
int command (int argc, const char *const *argv)

Protected Attributes

IpCodeList ipclist

Detailed Description

Definition at line 58 of file umts-ip-interface.h.


Member Function Documentation

void UmtsIPInterfaceModule::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 IPInterfaceModule.

Definition at line 81 of file umts-ip-interface.cc.

References DOWN, getCode(), hdr_umtsphy::me_code_id, and IPInterfaceModule::recv().

Here is the call graph for this function:

int UmtsIPInterfaceModule::command ( int  argc,
const char *const *  argv 
) [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 IPInterfaceModule.

Definition at line 57 of file umts-ip-interface.cc.

References addIpCode(), IPInterfaceModule::command(), getCode(), and IPModule::ipAddr_.

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:52:37 2008 for NS-MIRACLE library by  doxygen 1.5.2