Public Member Functions | |
MacModule802_11 () | |
virtual | ~MacModule802_11 () |
virtual void | recv (Packet *, Handler *callback) |
virtual void | recv (Packet *p) |
virtual int | command (int argc, const char *const *argv) |
Protected Attributes | |
Mac * | mac_ |
Queue * | queue_ |
LL * | ll_ |
MacInterface * | macif_ |
LogInterface * | logif_ |
LLInterface * | llif_ |
Friends | |
class | MacInterface |
class | LogInterface |
class | LLInterface |
Definition at line 78 of file 802.11-module.h.
void MacModule802_11::recv | ( | Packet * | p, | |
Handler * | callback | |||
) | [virtual] |
Call the recv method with only the Packet parameter in order to hide the callback (not used in this implementation) and mantain compatibility with the old ns2 code
p | pointer to the packet will be received | |
callback | pointer to a Handler class |
Reimplemented from Module.
Definition at line 297 of file 802.11-module.cc.
References DOWN, Module::sendDown(), and Module::sendUp().
Here is the call graph for this function:
void MacModule802_11::recv | ( | Packet * | p | ) | [virtual] |
int MacModule802_11::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 Module.
Definition at line 167 of file 802.11-module.cc.
References Module::command(), ll_, llif_, logif_, mac_, macif_, queue_, LLInterface::setModule(), LogInterface::setModule(), and MacInterface::setModule().
Here is the call graph for this function: