ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <mac.h>
Inheritance diagram for Mac:
Public Member Functions | |
Mac () | |
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_ |
Private Member Functions | |
void | mac_log (Packet *p) |
Private Attributes | |
NsObject * | logtarget_ |
|
|
|
|
|
|
|
Reimplemented from BiConnector. Reimplemented in Mac802_11, MacSimple, MacTdma, SMAC, and SatMac. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from BiConnector. Reimplemented in Mac802_11, Mac802_3, MultihopMac, MacSimple, MacTdma, and SMAC. |
|
Reimplemented in MacCsma. |
|
Reimplemented in MacTdma, SatMac, and UnslottedAlohaMac. |
|
Reimplemented in MacTdma, SatMac, and UnslottedAlohaMac. |
|
|
|
|
|
|
|
Reimplemented in Mac802_11. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in SMAC. |
|
|