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 |
Definition at line 58 of file umts-ip-interface.h.
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
p | pointer to the packet will be received |
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
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 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: