Public Member Functions | |
IPInterfaceModule () | |
virtual | ~IPInterfaceModule () |
virtual void | recv (Packet *p) |
int | command (int argc, const char *const *argv) |
Definition at line 40 of file ip-interface.h.
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
p | pointer to the packet will be received |
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
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) |
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: