ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <assert.h>
#include "agent.h"
#include "node.h"
Compounds | |
struct | DiscoveryMsg |
class | GAFAgent |
class | GAFDiscoverTimer |
class | GAFDutyTimer |
class | GAFPartner |
class | GAFSelectTimer |
struct | hdr_gaf |
Defines | |
#define | MAXQUEUE 1 |
#define | GN_UPDATE_INTERVAL 10 |
#define | GAF_STARTUP_JITTER 1.0 |
#define | GAF_NONSTART_JITTER 3.0 |
#define | MIN_DISCOVERY_TIME 1 |
#define | MAX_DISCOVERY_TIME 15 |
#define | MIN_SELECT_TIME 5 |
#define | MAX_SELECT_TIME 6 |
#define | MAX_DISCOVERY 10 |
#define | MIN_LIFETIME 60 |
#define | GAF_LEADER_JITTER 3 |
#define | MIN_TURNOFFTIME 1 |
Enumerations | |
enum | GafMsgType { GAF_DISCOVER, GAF_SELECT, GAF_DUTY } |
enum | GafNodeState { GAF_FREE, GAF_LEADER, GAF_SLEEP } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|