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

imep.h File Reference

#include <stdarg.h>
#include <sys/types.h>
#include <config.h>
#include <agent.h>
#include <drop-tail.h>
#include <trace.h>
#include "lib/bsd-list.h"
#include <rtproto/rtproto.h>
#include <imep/rxmit_queue.h>
#include <imep/dest_queue.h>
#include <imep/imep_stats.h>
#include <imep/imep_spec.h>

Include dependency graph for imep.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

class  imepAgent
class  imepLink
class  imepTimer

Defines

#define IMEP_HDR_LEN   512
#define BEACON_HDR_LEN   (IP_HDR_LEN + sizeof(struct hdr_imep))
#define HELLO_HDR_LEN
#define ACK_HDR_LEN
#define INT32_T(X)   *((int32_t*) &(X))
#define U_INT16_T(X)   *((u_int16_t*) &(X))
#define U_INT32_T(X)   *((u_int32_t*) &(X))

Enumerations

enum  imepTimerType { BEACON_TIMER = 0x01, CONTROL_TIMER = 0x02, REXMIT_TIMER = 0x03, INCOMING_TIMER = 0x04 }


Define Documentation

#define ACK_HDR_LEN
 

Value:

(IP_HDR_LEN + sizeof(struct hdr_imep) + \
                        sizeof(struct imep_ack_block))

Definition at line 67 of file imep.h.

Referenced by imepAgent::sendAck().

#define BEACON_HDR_LEN   (IP_HDR_LEN + sizeof(struct hdr_imep))
 

Definition at line 62 of file imep.h.

Referenced by imepAgent::handlerControlTimer(), and imepAgent::sendBeacon().

#define HELLO_HDR_LEN
 

Value:

(IP_HDR_LEN + sizeof(struct hdr_imep) + \
                        sizeof(struct imep_hello_block))

Definition at line 64 of file imep.h.

Referenced by imepAgent::sendHello().

#define IMEP_HDR_LEN   512
 

Definition at line 60 of file imep.h.

Referenced by imepAgent::aggregateAckBlock(), imepAgent::aggregateHelloBlock(), imepAgent::aggregateObjectBlock(), and IMEPHeaderClass::IMEPHeaderClass().

#define INT32_T  )     *((int32_t*) &(X))
 

Definition at line 70 of file imep.h.

Referenced by imepAgent::createResponseList(), imepAgent::dumpResponseList(), imepAgent::handlerReXmitTimer(), imepAgent::imep_ack_input(), imepAgent::imep_ack_object(), imepAgent::imep_hello_input(), imepAgent::purgeReXmitQ(), imepAgent::removeObjectResponse(), imepAgent::sendAck(), and imepAgent::sendHello().

#define U_INT16_T  )     *((u_int16_t*) &(X))
 

Definition at line 71 of file imep.h.

Referenced by imepAgent::aggregateAckBlock(), imepAgent::aggregateHelloBlock(), imepAgent::aggregateObjectBlock(), imepAgent::createResponseList(), CMUTrace::format_imep(), imepAgent::handlerControlTimer(), imepAgent::imep_dump_header(), imepAgent::purgeReXmitQ(), imepAgent::removeObjectResponse(), imepAgent::sendAck(), imepAgent::sendBeacon(), and imepAgent::sendHello().

#define U_INT32_T  )     *((u_int32_t*) &(X))
 

Definition at line 72 of file imep.h.

Referenced by imepAgent::aggregateAckBlock(), and imepAgent::aggregateHelloBlock().


Enumeration Type Documentation

enum imepTimerType
 

Enumeration values:
BEACON_TIMER 
CONTROL_TIMER 
REXMIT_TIMER 
INCOMING_TIMER 

Definition at line 79 of file imep.h.

00079                    {
00080         BEACON_TIMER = 0x01,
00081         CONTROL_TIMER = 0x02,
00082         REXMIT_TIMER = 0x03,
00083         INCOMING_TIMER = 0x04,
00084 };


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