List of all members.
Public Member Functions |
|
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 (Tap *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_ |
|
Tap * | tap_ |
|
LL * | ll_ |
|
Channel * | channel_ |
|
Handler * | callback_ |
|
MacHandlerResume | hRes_ |
|
MacHandlerSend | hSend_ |
|
Event | intr_ |
|
MacState | state_ |
|
Packet * | pktRx_ |
|
Packet * | pktTx_ |
The documentation for this class was generated from the following files:
- /Users/yzchen/ns/ns-allinone-2.33/ns-2.33/mac/mac.h
- /Users/yzchen/ns/ns-allinone-2.33/ns-2.33/mac/mac.cc