Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

RSVP.cc File Reference

#include "RSVP.h"
#include "IPControlInfo.h"
#include "IPAddressResolver.h"
#include "common.h"
#include "Utils.h"
#include "XMLUtils.h"
#include "IPv4InterfaceData.h"
#include "TEDAccess.h"
#include "RoutingTableAccess.h"
#include "InterfaceTableAccess.h"
#include "LIBTableAccess.h"
#include "NotifierConsts.h"

Defines

#define PSB_REFRESH_INTERVAL   5.0
#define RSB_REFRESH_INTERVAL   6.0
#define PSB_TIMEOUT_INTERVAL   16.0
#define RSB_TIMEOUT_INTERVAL   19.0
#define PATH_ERR_UNFEASIBLE   1
#define PATH_ERR_PREEMPTED   2
#define PATH_ERR_NEXTHOP_FAILED   3

Functions

 Define_Module (RSVP)
bool operator== (const SessionObj_t &a, const SessionObj_t &b)
bool operator!= (const SessionObj_t &a, const SessionObj_t &b)
bool operator== (const FilterSpecObj_t &a, const FilterSpecObj_t &b)
bool operator!= (const FilterSpecObj_t &a, const FilterSpecObj_t &b)
bool operator== (const SenderTemplateObj_t &a, const SenderTemplateObj_t &b)
bool operator!= (const SenderTemplateObj_t &a, const SenderTemplateObj_t &b)
std::ostream & operator<< (std::ostream &os, const FlowSpecObj_t &a)
std::ostream & operator<< (std::ostream &os, const SessionObj_t &a)
std::ostream & operator<< (std::ostream &os, const SenderTemplateObj_t &a)


Define Documentation

#define PATH_ERR_NEXTHOP_FAILED   3
 

#define PATH_ERR_PREEMPTED   2
 

#define PATH_ERR_UNFEASIBLE   1
 

#define PSB_REFRESH_INTERVAL   5.0
 

#define PSB_TIMEOUT_INTERVAL   16.0
 

#define RSB_REFRESH_INTERVAL   6.0
 

#define RSB_TIMEOUT_INTERVAL   19.0
 


Function Documentation

Define_Module RSVP   ) 
 

bool operator!= const SenderTemplateObj_t a,
const SenderTemplateObj_t b
 

02177 {
02178     return !operator==(a, b);
02179 }

bool operator!= const FilterSpecObj_t a,
const FilterSpecObj_t b
 

02167 {
02168     return !operator==(a, b);
02169 }

bool operator!= const SessionObj_t a,
const SessionObj_t b
 

02157 {
02158     return !operator==(a, b);
02159 }

std::ostream& operator<< std::ostream &  os,
const SenderTemplateObj_t a
 

02195 {
02196     os << "{lspid:" << a.Lsp_Id << "  sender:" << a.SrcAddress << "}";
02197     return os;
02198 }

std::ostream& operator<< std::ostream &  os,
const SessionObj_t a
 

02188 {
02189     os << "{tunnelId:" << a.Tunnel_Id << "  exTunnelId:" << a.Extended_Tunnel_Id <<
02190             "  destAddr:" << a.DestAddress << "}";
02191     return os;
02192 }

std::ostream& operator<< std::ostream &  os,
const FlowSpecObj_t a
 

02182 {
02183     os << "{bandwidth:" << a.req_bandwidth << "}";
02184     return os;
02185 }

bool operator== const SenderTemplateObj_t a,
const SenderTemplateObj_t b
 

02172 {
02173     return a.SrcAddress == b.SrcAddress && a.Lsp_Id == b.Lsp_Id;
02174 }

bool operator== const FilterSpecObj_t a,
const FilterSpecObj_t b
 

02162 {
02163     return a.SrcAddress==b.SrcAddress && a.Lsp_Id==b.Lsp_Id;
02164 }

bool operator== const SessionObj_t a,
const SessionObj_t b
 

02148 {
02149     return (a.DestAddress == b.DestAddress &&
02150         a.Tunnel_Id == b.Tunnel_Id &&
02151         a.Extended_Tunnel_Id == b.Extended_Tunnel_Id);
02152     // NOTE: don't compare holdingPri and setupPri; their placement
02153     // into Session_Object is only for our convenience
02154 }


Generated on Thu Oct 19 18:22:19 2006 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.0