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.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>

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))

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

#define HELLO_HDR_LEN
 

Value:

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

#define IMEP_HDR_LEN   512
 

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

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

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


Enumeration Type Documentation

enum imepTimerType
 

Enumeration values:
BEACON_TIMER 
CONTROL_TIMER 
REXMIT_TIMER 
INCOMING_TIMER 


This document is generated by doxygen.