RSVP.h File Reference

#include <vector>
#include <omnetpp.h>
#include "IScriptable.h"
#include "IntServ.h"
#include "RSVPPathMsg.h"
#include "RSVPResvMsg.h"
#include "RSVPHelloMsg.h"
#include "SignallingMsg_m.h"
#include "IRSVPClassifier.h"
#include "NotificationBoard.h"

Classes

class  RSVP
struct  RSVP::traffic_path_t
struct  RSVP::traffic_session_t
struct  RSVP::PathStateBlock_t
struct  RSVP::ResvStateBlock_t
struct  RSVP::HelloState_t

Functions

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 SessionObj_t &a)
std::ostream & operator<< (std::ostream &os, const SenderTemplateObj_t &a)
std::ostream & operator<< (std::ostream &os, const FlowSpecObj_t &a)


Function Documentation

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

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

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 }

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 Wed Apr 4 13:20:18 2007 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.7