ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include "mac.h"
#include "mac-802_11.h"
#include "cmu-trace.h"
#include "random.h"
#include "timer-handler.h"
Compounds | |
struct | hdr_smac |
struct | NeighbList |
struct | SchedTable |
class | SMAC |
struct | smac_control_frame |
struct | smac_sync_frame |
class | SmacCounterTimer |
class | SmacCsTimer |
class | SmacGeneTimer |
class | SmacNavTimer |
class | SmacNeighNavTimer |
class | SmacRecvTimer |
class | SmacSendTimer |
class | SmacTimer |
Defines | |
#define | SMAC_MAX_NUM_NEIGHBORS 20 |
#define | SMAC_MAX_NUM_SCHEDULES 4 |
#define | SMAC_DUTY_CYCLE 10 |
#define | SMAC_RETRY_LIMIT 5 |
#define | SMAC_EXTEND_LIMIT 5 |
#define | SYNC_CW 31 |
#define | DATA_CW 63 |
#define | SYNCPERIOD 10 |
#define | SYNCPKTTIME 3 |
#define | SRCH_CYCLES_SHORT 3 |
#define | SRCH_CYCLES_LONG 22 |
#define | CLOCKRES 1 |
#define | BANDWIDTH 20 |
#define | PRE_PKT_BYTES 5 |
#define | ENCODE_RATIO 2 |
#define | PROC_DELAY 1 |
#define | CLKTICK2SEC(x) ((x) * (CLOCKRES / 1.0e3)) |
#define | SEC2CLKTICK(x) ((x) / (CLOCKRES / 1.0e3)) |
#define | SLEEP 0 |
#define | IDLE 1 |
#define | CR_SENSE 2 |
#define | WAIT_CTS 3 |
#define | WAIT_DATA 4 |
#define | WAIT_ACK 5 |
#define | WAIT_NEXTFRAG 6 |
#define | BCASTSYNC 0 |
#define | BCASTDATA 1 |
#define | UNICAST 2 |
#define | DATA_PKT 0 |
#define | RTS_PKT 1 |
#define | CTS_PKT 2 |
#define | ACK_PKT 3 |
#define | SYNC_PKT 4 |
#define | RADIO_SLP 0 |
#define | RADIO_IDLE 1 |
#define | RADIO_RX 2 |
#define | RADIO_TX 3 |
#define | SIZEOF_SMAC_DATAPKT 50 |
#define | SIZEOF_SMAC_CTRLPKT 10 |
#define | SIZEOF_SMAC_SYNCPKT 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|