DESERT 3.5.1
|
#include <uwal.h>
Public Member Functions | |
Uwal () | |
~Uwal () | |
virtual int | recvSyncClMsg (ClMessage *m) |
virtual void | recv (Packet *) |
virtual int | command (int, const char *const *) |
size_t | getPSDU () |
Protected Member Functions | |
void | ALqueueManager () |
void | initializeHdr (Packet *, unsigned int) |
void | fragmentPkt (Packet *) |
void | reassembleFrames (Packet *) |
void | checkRxFrameSet () |
virtual void | startTx (Packet *) |
virtual void | endTx (Packet *) |
virtual void | startRx (Packet *) |
virtual void | endRx (Packet *) |
virtual double | getTxDuration (Packet *) |
virtual int | getModulationType (Packet *) |
virtual bool | isInPERList (int mac_addr) |
virtual double | getPERfromID (int mac_addr) |
Protected Attributes | |
int | nodeID |
unsigned int | pkt_counter |
packer * | pPacker |
size_t | PSDU |
string | dummyStr |
int | debug_ |
std::queue< Packet * > | sendDownPkts |
std::queue< Packet * > | sendDownFrames |
std::queue< Packet * > | sendUpFrames |
std::queue< Packet * > | sendUpPkts |
list< PERListElement > | PERList |
std::map< RxFrameSetKey, RxFrameSet > | sendUpFrameSet |
Private Attributes | |
TxFrameTimer | InterframeTmr |
double | interframe_period |
double | frame_set_validity |
int | frame_padding |
int | force_endTx_ |
bool | has_tap_clmsg |
Friends | |
class | TxFrameTimer |
The main class implementing the module used to implement the adaptation layer between ns2/NS-Miracle and binary data packets.
|
protected |
|
protected |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
Method to end a packet transmission.
This method is also in charge to send a cross layer message Phy2MacEndTx(p) to notify the above layers of the simulator about the end of a transmission, see http://telecom.dei.unipd.it/ns/miracle/doxygen/classMPhy.html#c8c2f52d3833fed8ac736aca0ee52c98.
p | pointer to the last transmitted packet. |
|
protected |
|
inlineprotectedvirtual |
|
protectedvirtual |
|
inlineprotectedvirtual |
|
protected |
|
protectedvirtual |
|
protected |
|
virtual |
|
virtual |
|
protectedvirtual |
Method to start a packet reception.
This method is also in charge to send a cross layer message Phy2MacStartRx(p) to notify the above layers of the simulator about the start of a reception, see http://telecom.dei.unipd.it/ns/miracle/doxygen/classMPhy.html#a15cc91b98013e1c631ad85072867ab6.
p | pointer to the last received packet. |
|
protectedvirtual |
|
friend |
Friend class used to implement the timer handler.
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Object of the class TxFrameTimer.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |