INET Framework for OMNeT++/OMNEST
|
TODO documentation. More...
#include <RSVP.h>
Classes | |
struct | HelloState_t |
RSVP Hello State structure. More... | |
struct | PathStateBlock_t |
Path State Block (PSB) structure. More... | |
struct | ResvStateBlock_t |
Reservation State Block (RSB) structure. More... | |
struct | traffic_path_t |
struct | traffic_session_t |
Public Member Functions | |
RSVP () | |
virtual | ~RSVP () |
Public Member Functions inherited from inet::IScriptable | |
virtual | ~IScriptable () |
Public Member Functions inherited from inet::ILifecycle | |
virtual | ~ILifecycle () |
Protected Types | |
typedef std::vector< PathStateBlock_t > | PSBVector |
typedef std::vector< ResvStateBlock_t > | RSBVector |
typedef std::vector< HelloState_t > | HelloVector |
Protected Member Functions | |
virtual void | processSignallingMessage (SignallingMsg *msg) |
virtual void | processPSB_TIMER (PsbTimerMsg *msg) |
virtual void | processPSB_TIMEOUT (PsbTimeoutMsg *msg) |
virtual void | processRSB_REFRESH_TIMER (RsbRefreshTimerMsg *msg) |
virtual void | processRSB_COMMIT_TIMER (RsbCommitTimerMsg *msg) |
virtual void | processRSB_TIMEOUT (RsbTimeoutMsg *msg) |
virtual void | processHELLO_TIMER (HelloTimerMsg *msg) |
virtual void | processHELLO_TIMEOUT (HelloTimeoutMsg *msg) |
virtual void | processPATH_NOTIFY (PathNotifyMsg *msg) |
virtual void | processRSVPMessage (RSVPMessage *msg) |
virtual void | processHelloMsg (RSVPHelloMsg *msg) |
virtual void | processPathMsg (RSVPPathMsg *msg) |
virtual void | processResvMsg (RSVPResvMsg *msg) |
virtual void | processPathTearMsg (RSVPPathTear *msg) |
virtual void | processPathErrMsg (RSVPPathError *msg) |
virtual PathStateBlock_t * | createPSB (RSVPPathMsg *msg) |
virtual PathStateBlock_t * | createIngressPSB (const traffic_session_t &session, const traffic_path_t &path) |
virtual void | removePSB (PathStateBlock_t *psb) |
virtual ResvStateBlock_t * | createRSB (RSVPResvMsg *msg) |
virtual ResvStateBlock_t * | createEgressRSB (PathStateBlock_t *psb) |
virtual void | updateRSB (ResvStateBlock_t *rsb, RSVPResvMsg *msg) |
virtual void | removeRSB (ResvStateBlock_t *rsb) |
virtual void | removeRsbFilter (ResvStateBlock_t *rsb, unsigned int index) |
virtual void | refreshPath (PathStateBlock_t *psbEle) |
virtual void | refreshResv (ResvStateBlock_t *rsbEle) |
virtual void | refreshResv (ResvStateBlock_t *rsbEle, IPv4Address PHOP) |
virtual void | commitResv (ResvStateBlock_t *rsb) |
virtual void | scheduleRefreshTimer (PathStateBlock_t *psbEle, simtime_t delay) |
virtual void | scheduleTimeout (PathStateBlock_t *psbEle) |
virtual void | scheduleRefreshTimer (ResvStateBlock_t *rsbEle, simtime_t delay) |
virtual void | scheduleCommitTimer (ResvStateBlock_t *rsbEle) |
virtual void | scheduleTimeout (ResvStateBlock_t *rsbEle) |
virtual void | sendPathErrorMessage (PathStateBlock_t *psb, int errCode) |
virtual void | sendPathErrorMessage (SessionObj_t session, SenderTemplateObj_t sender, SenderTspecObj_t tspec, IPv4Address nextHop, int errCode) |
virtual void | sendPathTearMessage (IPv4Address peerIP, const SessionObj_t &session, const SenderTemplateObj_t &sender, IPv4Address LIH, IPv4Address NHOP, bool force) |
virtual void | sendPathNotify (int handler, const SessionObj_t &session, const SenderTemplateObj_t &sender, int status, simtime_t delay) |
virtual void | setupHello () |
virtual void | startHello (IPv4Address peer, simtime_t delay) |
virtual void | removeHello (HelloState_t *h) |
virtual void | recoveryEvent (IPv4Address peer) |
virtual bool | allocateResource (IPv4Address OI, const SessionObj_t &session, double bandwidth) |
virtual void | preempt (IPv4Address OI, int priority, double bandwidth) |
virtual bool | doCACCheck (const SessionObj_t &session, const SenderTspecObj_t &tspec, IPv4Address OI) |
virtual void | announceLinkChange (int tedlinkindex) |
virtual void | sendToIP (cMessage *msg, IPv4Address destAddr) |
virtual bool | evalNextHopInterface (IPv4Address destAddr, const EroVector &ERO, IPv4Address &OI) |
virtual PathStateBlock_t * | findPSB (const SessionObj_t &session, const SenderTemplateObj_t &sender) |
virtual ResvStateBlock_t * | findRSB (const SessionObj_t &session, const SenderTemplateObj_t &sender, unsigned int &index) |
virtual PathStateBlock_t * | findPsbById (int id) |
virtual ResvStateBlock_t * | findRsbById (int id) |
std::vector< traffic_session_t >::iterator | findSession (const SessionObj_t &session) |
std::vector< traffic_path_t >::iterator | findPath (traffic_session_t *session, const SenderTemplateObj_t &sender) |
virtual HelloState_t * | findHello (IPv4Address peer) |
virtual void | print (RSVPPathMsg *p) |
virtual void | print (RSVPResvMsg *r) |
virtual void | readTrafficFromXML (const cXMLElement *traffic) |
virtual void | readTrafficSessionFromXML (const cXMLElement *session) |
virtual EroVector | readTrafficRouteFromXML (const cXMLElement *route) |
virtual void | createPath (const SessionObj_t &session, const SenderTemplateObj_t &sender) |
virtual void | pathProblem (PathStateBlock_t *psb) |
virtual void | addSession (const cXMLElement &node) |
virtual void | delSession (const cXMLElement &node) |
virtual int | getInLabel (const SessionObj_t &session, const SenderTemplateObj_t &sender) |
virtual int | numInitStages () const override |
virtual void | initialize (int stage) override |
virtual void | handleMessage (cMessage *msg) override |
virtual void | clear () |
virtual bool | handleOperationStage (LifecycleOperation *operation, int stage, IDoneCallback *doneCallback) override |
Perform one stage of a lifecycle operation. More... | |
virtual void | processCommand (const cXMLElement &node) override |
Called by ScenarioManager whenever a script command needs to be carried out by the module. More... | |
Protected Attributes | |
std::vector< traffic_session_t > | traffic |
simtime_t | helloInterval |
simtime_t | helloTimeout |
simtime_t | retryInterval |
TED * | tedmod = nullptr |
IIPv4RoutingTable * | rt = nullptr |
IInterfaceTable * | ift = nullptr |
LIBTable * | lt = nullptr |
IRSVPClassifier * | rpct = nullptr |
int | maxPsbId = 0 |
int | maxRsbId = 0 |
int | maxSrcInstance = 0 |
IPv4Address | routerId |
PSBVector | PSBList |
RSBVector | RSBList |
HelloVector | HelloList |
Friends | |
class | SimpleClassifier |
TODO documentation.
|
protected |
|
protected |
|
protected |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Perform one stage of a lifecycle operation.
Processing may be done entirely within this method, or may be a longer process that involves nonzero simulation time or several events, and is triggered by this method call.
Return value: true = "done"; false = "not yet done, will invoke doneCallback when done"
Implements inet::ILifecycle.
|
overrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
Called by ScenarioManager whenever a script command needs to be carried out by the module.
The command is represented by the XML element or element tree. The command name can be obtained as:
const char *command = node->getTagName()
Parameters are XML attributes, e.g. a "neighbour" parameter can be retrieved as:
const char *attr = node->getAttribute("neighbour")
More complex input can be passed in child elements.
Implements inet::IScriptable.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |