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

imep_spec.h File Reference

#include <sys/types.h>

Include dependency graph for imep_spec.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

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
 

Definition at line 79 of file imep_spec.h.

#define BEACON_PERIOD   1.0
 

Definition at line 78 of file imep_spec.h.

Referenced by imepAgent::command(), imepAgent::handlerBeaconTimer(), and imepLink::imepLink().

#define BLOCK_FLAG_ACK   0x08
 

Definition at line 119 of file imep_spec.h.

Referenced by imepAgent::aggregateAckBlock(), imepAgent::aggregateObjectBlock(), imepAgent::findAckBlock(), imepAgent::findHelloBlock(), imepAgent::findObjectBlock(), CMUTrace::format_imep(), imepAgent::recv_incoming(), and imepAgent::sendAck().

#define BLOCK_FLAG_HELLO   0x04
 

Definition at line 120 of file imep_spec.h.

Referenced by imepAgent::aggregateHelloBlock(), imepAgent::aggregateObjectBlock(), imepAgent::findHelloBlock(), imepAgent::findObjectBlock(), CMUTrace::format_imep(), imepAgent::recv_incoming(), and imepAgent::sendHello().

#define BLOCK_FLAG_OBJECT   0x02
 

Definition at line 121 of file imep_spec.h.

Referenced by imepAgent::aggregateObjectBlock(), imepAgent::createResponseList(), imepAgent::findObjectBlock(), CMUTrace::format_imep(), and imepAgent::recv_incoming().

#define BLOCK_FLAG_UNUSED   0x01
 

Definition at line 122 of file imep_spec.h.

#define IMEP_VERSION   IMEP_VERSION_0
 

Definition at line 118 of file imep_spec.h.

Referenced by imepAgent::findAckBlock(), imepAgent::findHelloBlock(), imepAgent::findObjectBlock(), imepAgent::findResponseList(), imepAgent::handlerControlTimer(), imepAgent::recv_incoming(), imepAgent::sendAck(), imepAgent::sendBeacon(), and imepAgent::sendHello().

#define IMEP_VERSION_0   0x00
 

Definition at line 117 of file imep_spec.h.

#define LINK_BI   (LINK_IN | LINK_OUT)
 

Definition at line 75 of file imep_spec.h.

Referenced by imepAgent::createResponseList(), imepAgent::getResponseListSize(), imepAgent::imepGetBiLinks(), imepAgent::imepSetLinkInStatus(), imepAgent::imepSetLinkOutStatus(), imepAgent::log_neighbor_list(), and imepAgent::purgeLink().

#define LINK_DOWN   0x00
 

Definition at line 72 of file imep_spec.h.

Referenced by imepAgent::imepGetLinkStatus(), imepAgent::imepSetLinkDownStatus(), imepAgent::imepSetLinkInStatus(), and imepAgent::purgeLink().

#define LINK_IN   0x01
 

Definition at line 73 of file imep_spec.h.

Referenced by imepAgent::handlerBeaconTimer(), imepAgent::imepSetLinkInStatus(), imepAgent::log_neighbor_list(), and imepAgent::purgeLink().

#define LINK_OUT   0x02
 

Definition at line 74 of file imep_spec.h.

Referenced by imepAgent::imepSetLinkOutStatus(), imepAgent::log_neighbor_list(), and imepAgent::purgeLink().

#define MAX_BEACON_TIME   (BEACON_PERIOD * 3)
 

Definition at line 80 of file imep_spec.h.

Referenced by imepAgent::imepSetLinkInStatus(), and imepAgent::imepSetLinkOutStatus().

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

Definition at line 95 of file imep_spec.h.

Referenced by imepAgent::scheduleIncoming().

#define MAX_REXMITS   2
 

Definition at line 94 of file imep_spec.h.

Referenced by imepAgent::scheduleReXmit().

#define MAX_TRANSMIT_WAIT_TIME_HIGHP   0.010
 

Definition at line 88 of file imep_spec.h.

Referenced by imepAgent::recv_outgoing().

#define MAX_TRANSMIT_WAIT_TIME_LOWP   0.250
 

Definition at line 86 of file imep_spec.h.

Referenced by imepAgent::sendAck(), and imepAgent::sendHello().

#define MIN_TRANSMIT_WAIT_TIME_HIGHP   0.000
 

Definition at line 89 of file imep_spec.h.

Referenced by imepAgent::recv_outgoing().

#define MIN_TRANSMIT_WAIT_TIME_LOWP   0.150
 

Definition at line 87 of file imep_spec.h.

Referenced by imepAgent::sendAck(), and imepAgent::sendHello().

#define MODE_BIDIRECTIONAL   0x01
 

Definition at line 68 of file imep_spec.h.

#define MODE_UNIDIRECTIONAL   0x02
 

Definition at line 69 of file imep_spec.h.

#define PROTO_NARP   0x01
 

Definition at line 172 of file imep_spec.h.

#define PROTO_RESERVED   0x00
 

Definition at line 171 of file imep_spec.h.

#define PROTO_RNARP   0x01
 

Definition at line 173 of file imep_spec.h.

#define PROTO_TORA   0x02
 

Definition at line 174 of file imep_spec.h.

Referenced by imepAgent::aggregateObjectBlock(), imepAgent::findObjectBlock(), and imepAgent::imep_object_process().

#define RETRANS_PERIOD   0.500
 

Definition at line 93 of file imep_spec.h.

Referenced by imepAgent::handlerReXmitTimer(), and imepAgent::scheduleReXmit().


Generated on Tue Apr 20 12:21:37 2004 for NS2.26SourcesOriginal by doxygen 1.3.3