mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-05 05:12:51 -04:00
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:
parent
5268391f2e
commit
02b03d1a0f
5 changed files with 153 additions and 29 deletions
|
@ -45,7 +45,10 @@ class RsDsdvRouteItem: public RsItem
|
|||
RsDsdvRouteItem()
|
||||
:RsItem(RS_PKT_VERSION_SERVICE, RS_SERVICE_TYPE_DSDV,
|
||||
RS_PKT_SUBTYPE_DSDV_ROUTE)
|
||||
{ return; }
|
||||
{
|
||||
setPriorityLevel(QOS_PRIORITY_RS_DSDV_ROUTE);
|
||||
return;
|
||||
}
|
||||
virtual ~RsDsdvRouteItem();
|
||||
virtual void clear();
|
||||
std::ostream &print(std::ostream &out, uint16_t indent = 0);
|
||||
|
@ -53,14 +56,16 @@ std::ostream &print(std::ostream &out, uint16_t indent = 0);
|
|||
RsTlvDsdvEntrySet routes;
|
||||
};
|
||||
|
||||
|
||||
class RsDsdvDataItem: public RsItem
|
||||
{
|
||||
public:
|
||||
RsDsdvDataItem()
|
||||
:RsItem(RS_PKT_VERSION_SERVICE, RS_SERVICE_TYPE_DSDV,
|
||||
RS_PKT_SUBTYPE_DSDV_DATA), data(TLV_TYPE_BIN_GENERIC)
|
||||
{ return; }
|
||||
{
|
||||
setPriorityLevel(QOS_PRIORITY_RS_DSDV_DATA);
|
||||
return;
|
||||
}
|
||||
virtual ~RsDsdvDataItem();
|
||||
virtual void clear();
|
||||
std::ostream &print(std::ostream &out, uint16_t indent = 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue