Classes | Functions

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"

Go to the source code of this file.

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 SessionObj_t &  a,
const SessionObj_t &  b 
)

Definition at line 2156 of file RSVP.cc.

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

bool operator!= ( const FilterSpecObj_t &  a,
const FilterSpecObj_t &  b 
)

Definition at line 2166 of file RSVP.cc.

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

bool operator!= ( const SenderTemplateObj_t &  a,
const SenderTemplateObj_t &  b 
)

Definition at line 2176 of file RSVP.cc.

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

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

Definition at line 2181 of file RSVP.cc.

{
    os << "{bandwidth:" << a.req_bandwidth << "}";
    return os;
}

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

Definition at line 2194 of file RSVP.cc.

{
    os << "{lspid:" << a.Lsp_Id << "  sender:" << a.SrcAddress << "}";
    return os;
}

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

Definition at line 2187 of file RSVP.cc.

{
    os << "{tunnelId:" << a.Tunnel_Id << "  exTunnelId:" << a.Extended_Tunnel_Id <<
            "  destAddr:" << a.DestAddress << "}";
    return os;
}

bool operator== ( const SessionObj_t &  a,
const SessionObj_t &  b 
)

Definition at line 2147 of file RSVP.cc.

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

bool operator== ( const SenderTemplateObj_t &  a,
const SenderTemplateObj_t &  b 
)

Definition at line 2171 of file RSVP.cc.

{
    return a.SrcAddress == b.SrcAddress && a.Lsp_Id == b.Lsp_Id;
}

bool operator== ( const FilterSpecObj_t &  a,
const FilterSpecObj_t &  b 
)

Definition at line 2161 of file RSVP.cc.

{
    return a.SrcAddress==b.SrcAddress && a.Lsp_Id==b.Lsp_Id;
}