Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(430)

Unified Diff: src/internet/model/priority-queue.cc

Issue 244440043: Multiqueue support (Closed)
Patch Set: Wake callback Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/internet/model/priority-queue.h ('k') | src/network/model/net-device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/internet/model/priority-queue.cc
===================================================================
--- a/src/internet/model/priority-queue.cc
+++ b/src/internet/model/priority-queue.cc
@@ -33,7 +33,8 @@
}
PriorityQueue::PriorityQueue ()
- : m_nPackets (0)
+ : m_nPackets (0),
+ m_lastWake (0)
{
NS_LOG_FUNCTION (this);
}
@@ -75,6 +76,12 @@
}
void
+PriorityQueue::SetLastWake (uint8_t queue)
+{
+ m_lastWake = queue;
+}
+
+void
PriorityQueue::Drop (Ptr<Packet> p)
{
NS_LOG_FUNCTION (this << p);
« no previous file with comments | « src/internet/model/priority-queue.h ('k') | src/network/model/net-device.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b