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

rap.h File Reference

#include "ns-process.h"
#include "app.h"
#include "utilities.h"

Include dependency graph for rap.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_rap
class  IpgTimer
class  RapAgent
class  RttTimer
class  TransHistoryEntry

Enumerations

enum  RapTimeoutType { RAP_IPG_TIMEOUT, RAP_RTT_TIMEOUT }
enum  RapLossType { RAP_TIMER_BASED, RAP_ACK_BASED }
enum  RapPacketStatusType { RAP_SENT, RAP_PURGED, RAP_INACTIVE }

Variables

const int RH_DATA = 0x01
const int RH_ACK = 0x02
const int RF_ANYACK = 0x01
const int RF_STOP = 0x02
const int RF_COUNTPKT = 0x04


Enumeration Type Documentation

enum RapLossType
 

Enumeration values:
RAP_TIMER_BASED 
RAP_ACK_BASED 

Definition at line 54 of file rap.h.

00055 {
00056         RAP_TIMER_BASED,                // TIMER based loss detection
00057         RAP_ACK_BASED                   // ACK based loss detection
00058 };

enum RapPacketStatusType
 

Enumeration values:
RAP_SENT 
RAP_PURGED 
RAP_INACTIVE 

Definition at line 63 of file rap.h.

00064 {
00065         RAP_SENT,                       // Packet has been sent
00066         RAP_PURGED,                     // Packet detected lost or received
00067         RAP_INACTIVE                    // Cluster loss ignored
00068 };

enum RapTimeoutType
 

Enumeration values:
RAP_IPG_TIMEOUT 
RAP_RTT_TIMEOUT 

Definition at line 45 of file rap.h.

00046 {
00047         RAP_IPG_TIMEOUT,                // IPG timer fires
00048         RAP_RTT_TIMEOUT         // RTT timer fires
00049 };


Variable Documentation

const int RF_ANYACK = 0x01
 

Definition at line 132 of file rap.h.

Referenced by RapAgent::anyack(), and RapAgent::RecvAck().

const int RF_COUNTPKT = 0x04
 

Definition at line 134 of file rap.h.

Referenced by RapAgent::advanceby(), and RapAgent::counting_pkt().

const int RF_STOP = 0x02
 

Definition at line 133 of file rap.h.

Referenced by RapAgent::is_stopped(), RapAgent::start(), and RapAgent::stop().

const int RH_ACK = 0x02
 

Definition at line 86 of file rap.h.

Referenced by RapAgent::recv(), and RapAgent::SendAck().

const int RH_DATA = 0x01
 

Definition at line 85 of file rap.h.

Referenced by RapAgent::recv(), and RapAgent::SendPacket().


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