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/imep/imep_spec.h File Reference

#include <sys/types.h>

Compounds

struct  hdr_imep
struct  imep_ack
struct  imep_ack_block
struct  imep_hello
struct  imep_hello_block
struct  imep_object
struct  imep_object_block
struct  imep_response

Defines

#define MODE_BIDIRECTIONAL   0x01
#define MODE_UNIDIRECTIONAL   0x02
#define LINK_DOWN   0x00
#define LINK_IN   0x01
#define LINK_OUT   0x02
#define LINK_BI   (LINK_IN | LINK_OUT)
#define BEACON_PERIOD   1.0
#define BEACON_JITTER   0.010
#define MAX_BEACON_TIME   (BEACON_PERIOD * 3)
#define MAX_TRANSMIT_WAIT_TIME_LOWP   0.250
#define MIN_TRANSMIT_WAIT_TIME_LOWP   0.150
#define MAX_TRANSMIT_WAIT_TIME_HIGHP   0.010
#define MIN_TRANSMIT_WAIT_TIME_HIGHP   0.000
#define RETRANS_PERIOD   0.500
#define MAX_REXMITS   2
#define MAX_RETRANS_TIME   (RETRANS_PERIOD * (MAX_REXMITS + 1))
#define IMEP_VERSION_0   0x00
#define IMEP_VERSION   IMEP_VERSION_0
#define BLOCK_FLAG_ACK   0x08
#define BLOCK_FLAG_HELLO   0x04
#define BLOCK_FLAG_OBJECT   0x02
#define BLOCK_FLAG_UNUSED   0x01
#define PROTO_RESERVED   0x00
#define PROTO_NARP   0x01
#define PROTO_RNARP   0x01
#define PROTO_TORA   0x02

Define Documentation

#define BEACON_JITTER   0.010
 

#define BEACON_PERIOD   1.0
 

#define BLOCK_FLAG_ACK   0x08
 

#define BLOCK_FLAG_HELLO   0x04
 

#define BLOCK_FLAG_OBJECT   0x02
 

#define BLOCK_FLAG_UNUSED   0x01
 

#define IMEP_VERSION   IMEP_VERSION_0
 

#define IMEP_VERSION_0   0x00
 

#define LINK_BI   (LINK_IN | LINK_OUT)
 

#define LINK_DOWN   0x00
 

#define LINK_IN   0x01
 

#define LINK_OUT   0x02
 

#define MAX_BEACON_TIME   (BEACON_PERIOD * 3)
 

#define MAX_RETRANS_TIME   (RETRANS_PERIOD * (MAX_REXMITS + 1))
 

#define MAX_REXMITS   2
 

#define MAX_TRANSMIT_WAIT_TIME_HIGHP   0.010
 

#define MAX_TRANSMIT_WAIT_TIME_LOWP   0.250
 

#define MIN_TRANSMIT_WAIT_TIME_HIGHP   0.000
 

#define MIN_TRANSMIT_WAIT_TIME_LOWP   0.150
 

#define MODE_BIDIRECTIONAL   0x01
 

#define MODE_UNIDIRECTIONAL   0x02
 

#define PROTO_NARP   0x01
 

#define PROTO_RESERVED   0x00
 

#define PROTO_RNARP   0x01
 

#define PROTO_TORA   0x02
 

#define RETRANS_PERIOD   0.500
 


This document is generated by doxygen.