| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <mac-csma.h>
Inheritance diagram for MacCsma:

Public Member Functions | |
| MacCsma () | |
| virtual void | send (Packet *p) |
| virtual void | resume (Packet *p=0) |
| virtual void | endofContention (Packet *p) |
Protected Member Functions | |
| virtual void | backoff (Handler *h, Packet *p, double delay=0) |
Protected Attributes | |
| double | txstart_ |
| double | ifs_ |
| double | slotTime_ |
| int | cw_ |
| int | cwmin_ |
| int | cwmax_ |
| int | rtx_ |
| int | rtxLimit_ |
| int | csense_ |
| Event | eEoc_ |
| MacHandlerEoc | hEoc_ |
|
|
|
|
||||||||||||||||
|
|
|
|
Reimplemented in MacCsmaCd. |
|
|
Reimplemented from Mac. |
|
|
Reimplemented in MacCsmaCa. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|