47 : TclClass(
"Module/UW/MPhypatch")
69 hdr_cmn *ch = HDR_CMN(p);
71 if (ch->direction() == hdr_cmn::UP) {
Class to create the Otcl shadow object for an object of the class UWMPhypatch.
TclObject * create(int, const char *const *)
Class to patch the absence of a PHY layer's module when we want to use a module of the MAC layer.
virtual int getModulationType(Packet *)
Unused method.
virtual void startTx(Packet *p)
Method to send the packet to be transmitted over the communication channel.
virtual void endTx(Packet *p)
virtual void recv(Packet *)
Method to handle the reception of packets arriving from the upper layers of the network simulator.
~UWMPhypatch()
Class destructor.
virtual double getTxDuration(Packet *)
Unused method.
virtual void endRx(Packet *p)
virtual void startRx(Packet *p)
UWMPhypatch()
Class constructor.
int debug_
Flag to enable debug mode (i.e., printing of debug messages) if set to 1.
UWMPhypatchClass class_module_uwmphypatch
Header of a dumb module intended to patch the absence of a PHY layer's module when we want to use a m...