Fixed Dsdv debugging and cleanup of old entries.

Added PRIORITIES for BanListItems and DsdvItems.
Increased Dsdv Max Distance to 5...

Its almost ready for network-wide test!



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-dhtmods@4698 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2011-11-29 17:14:51 +00:00
parent 5268391f2e
commit 02b03d1a0f
5 changed files with 153 additions and 29 deletions

View file

@ -40,7 +40,7 @@
class p3LinkMgr;
#define RSDSDV_MAX_DISTANCE 3
#define RSDSDV_MAX_DISTANCE 5
#define RSDSDV_MAX_SEND_TABLE 100
//!The RS DSDV service.
@ -68,7 +68,7 @@ int sendTables();
void advanceLocalSequenceNumbers();
void clearSignificantChangesFlags();
int selectStableRoutes();
int generateRoutingTables(bool incremental);
int generateRoutingTable(const std::string &peerId, bool incremental);
@ -76,6 +76,8 @@ int processIncoming();
int handleDSDV(RsDsdvRouteItem *dsdv);
int selectStableRoutes();
int clearOldRoutes();
public: