mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 07:41:20 -04:00
merge of QoS branch into trunk
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4588 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
663ce50630
commit
0ed60eaf86
23 changed files with 734 additions and 337 deletions
|
@ -49,7 +49,7 @@
|
|||
RsItem::RsItem(uint32_t t)
|
||||
:type(t)
|
||||
{
|
||||
return;
|
||||
_priority_level = QOS_PRIORITY_UNKNOWN ; // This value triggers PQIInterface to complain about undefined priorities
|
||||
}
|
||||
|
||||
#ifdef DO_STATISTICS
|
||||
|
@ -116,13 +116,13 @@ void RsItem::operator delete(void *p,size_t s)
|
|||
|
||||
RsItem::RsItem(uint8_t ver, uint8_t cls, uint8_t t, uint8_t subtype)
|
||||
{
|
||||
_priority_level = QOS_PRIORITY_UNKNOWN ; // This value triggers PQIInterface to complain about undefined priorities
|
||||
|
||||
type = (ver << 24) + (cls << 16) + (t << 8) + subtype;
|
||||
return;
|
||||
}
|
||||
|
||||
RsItem::~RsItem()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
@ -158,6 +158,7 @@ uint8_t RsItem::PacketSubType()
|
|||
/* For Service Packets */
|
||||
RsItem::RsItem(uint8_t ver, uint16_t service, uint8_t subtype)
|
||||
{
|
||||
_priority_level = QOS_PRIORITY_UNKNOWN ; // This value triggers PQIInterface to complain about undefined priorities
|
||||
type = (ver << 24) + (service << 8) + subtype;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue