#include <ls.h>
Collaboration diagram for LsRouting:

|
|
|
|
|
Definition at line 544 of file ls.h. References ackManager_, linkStateDatabase_, linkStateListPtr_, LS_INVALID_NODE_ID, lsaHistory_, myNodeId_, myNodePtr_, peerIdListPtr_, and routingTablePtr_.
00544 : myNodePtr_(NULL), myNodeId_(LS_INVALID_NODE_ID), 00545 peerIdListPtr_(NULL), linkStateListPtr_(NULL), 00546 routingTablePtr_(NULL), 00547 linkStateDatabase_(), lsaHistory_(), ackManager_(*this) {} |
|
|
Definition at line 548 of file ls.h. References routingTablePtr_.
00548 {
00549 //delete pLinkStateDatabase;
00550 if (routingTablePtr_ != NULL)
00551 delete routingTablePtr_;
00552 }
|
|
|
Referenced by computeRoutes(). |
|
||||||||||||
|
Definition at line 624 of file ls.h. References messageBuffer_.
00624 {
00625 messageBuffer_.push_back(IdMsgPtr(peerId, mp));
00626 }
|
|
|
Definition at line 555 of file ls.h. References _computeRoutes(), and routingTablePtr_. Referenced by rtProtoLS::computeRoutes().
00555 {
00556 if (routingTablePtr_ != NULL)
00557 delete routingTablePtr_;
00558 routingTablePtr_ = _computeRoutes();
00559 }
|
Here is the call graph for this function:

|
|
|
|
|
|
|
|
|
|
|
Definition at line 560 of file ls.h. References LsMap< int, LsEqualPaths >::findPtr(), and routingTablePtr_.
00560 {
00561 return (routingTablePtr_ == NULL) ?
00562 (LsEqualPaths *)NULL :
00563 routingTablePtr_->findPtr(destId);
00564 }
|
Here is the call graph for this function:

|
|
Definition at line 599 of file ls.h. References LsMessageCenter::instance().
00599 { return LsMessageCenter::instance(); }
|
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 603 of file ls.h. References LsRetransmissionManager::ackIn(), and ackManager_.
00603 {
00604 ackManager_.ackIn(neighborId, *msgPtr);
00605 return true;
00606 }
|
Here is the call graph for this function:

|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 618 of file ls.h. References msgSizes, myNodePtr_, and LsNode::sendMessage().
00619 {
00620 myNodePtr_->sendMessage(neighborId, msgId, msgSizes[type]);
00621 }
|
Here is the call graph for this function:

|
||||||||||||||||||||
|
|
|
|
Referenced by rtProtoLS::sendBufferedMessages(). |
|
|
Referenced by rtProtoLS::sendUpdates(). |
|
|
|
|
|
|
|
|
Definition at line 586 of file ls.h. Referenced by LsRouting(), and receiveAck(). |
|
|
Definition at line 583 of file ls.h. Referenced by LsRouting(). |
|
|
Definition at line 580 of file ls.h. Referenced by LsRouting(). |
|
|
Definition at line 584 of file ls.h. Referenced by LsRouting(). |
|
|
Definition at line 596 of file ls.h. Referenced by bufferedSend(). |
|
|
|
|
|
Definition at line 540 of file ls.h. Referenced by resendMessage(). |
|
|
Definition at line 578 of file ls.h. Referenced by LsRouting(). |
|
|
Definition at line 577 of file ls.h. Referenced by LsRouting(), and resendMessage(). |
|
|
Definition at line 579 of file ls.h. Referenced by LsRouting(). |
|
|
Definition at line 582 of file ls.h. Referenced by computeRoutes(), lookup(), LsRouting(), and ~LsRouting(). |
|
|
|
1.3.3