MrclMac Class Reference

Collaboration diagram for MrclMac:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MrclMac ()
virtual void recv (Packet *p, Handler *h)
virtual void sendDown (Packet *p)
virtual void sendUp (Packet *p)
virtual void resume (Packet *p=0)
virtual void installTap (MrclTap *t)
double txtime (int bytes)
double txtime (Packet *p)
double bandwidth () const
int addr ()
MacState state ()
MacState state (int m)
virtual int hdr_dst (char *hdr, int dst=-2)
virtual int hdr_src (char *hdr, int src=-2)
virtual int hdr_type (char *hdr, u_int16_t type=0)

Protected Member Functions

int command (int argc, const char *const *argv)
virtual int initialized ()

Protected Attributes

int index_
double bandwidth_
double delay_
int abstract_
Phy * netif_
MrclTaptap_
LL * ll_
Channel * channel_
Handler * callback_
MrclMacHandlerResume hRes_
MrclMacHandlerSend hSend_
Event intr_
MacState state_
Packet * pktRx_
Packet * pktTx_

Private Member Functions

void mac_log (Packet *p)

Private Attributes

NsObject * logtarget_

Detailed Description

Definition at line 268 of file miracle_mac-802_11.h.


The documentation for this class was generated from the following files:
Generated on Wed Nov 26 15:51:05 2008 for NS-MIRACLE library by  doxygen 1.5.2