ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ns-2/gaf/gaf.h File Reference

#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 }

Define Documentation

#define GAF_LEADER_JITTER   3
 

#define GAF_NONSTART_JITTER   3.0
 

#define GAF_STARTUP_JITTER   1.0
 

#define GN_UPDATE_INTERVAL   10
 

#define MAX_DISCOVERY   10
 

#define MAX_DISCOVERY_TIME   15
 

#define MAX_SELECT_TIME   6
 

#define MAXQUEUE   1
 

#define MIN_DISCOVERY_TIME   1
 

#define MIN_LIFETIME   60
 

#define MIN_SELECT_TIME   5
 

#define MIN_TURNOFFTIME   1
 


Enumeration Type Documentation

enum GafMsgType
 

Enumeration values:
GAF_DISCOVER 
GAF_SELECT 
GAF_DUTY 

enum GafNodeState
 

Enumeration values:
GAF_FREE 
GAF_LEADER 
GAF_SLEEP 


This document is generated by doxygen.