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

Unified Diff: src/internet/model/tcp-recovery-ops.cc

Issue 342270043: TCP rate sample
Patch Set: Created 5 years, 5 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/tcp-recovery-ops.h ('k') | src/internet/model/tcp-socket-base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/internet/model/tcp-recovery-ops.cc
===================================================================
--- a/src/internet/model/tcp-recovery-ops.cc
+++ b/src/internet/model/tcp-recovery-ops.cc
@@ -89,22 +89,20 @@
void
TcpClassicRecovery::EnterRecovery (Ptr<TcpSocketState> tcb, uint32_t dupAckCount,
- uint32_t unAckDataCount, uint32_t lastSackedBytes)
+ uint32_t unAckDataCount, uint32_t deliveredBytes)
{
- NS_LOG_FUNCTION (this << tcb << dupAckCount << unAckDataCount << lastSackedBytes);
+ NS_LOG_FUNCTION (this << tcb << dupAckCount << unAckDataCount);
NS_UNUSED (unAckDataCount);
- NS_UNUSED (lastSackedBytes);
+ NS_UNUSED (deliveredBytes);
tcb->m_cWnd = tcb->m_ssThresh;
tcb->m_cWndInfl = tcb->m_ssThresh + (dupAckCount * tcb->m_segmentSize);
}
void
-TcpClassicRecovery::DoRecovery (Ptr<TcpSocketState> tcb, uint32_t lastAckedBytes,
- uint32_t lastSackedBytes)
+TcpClassicRecovery::DoRecovery (Ptr<TcpSocketState> tcb, uint32_t deliveredBytes)
{
- NS_LOG_FUNCTION (this << tcb << lastAckedBytes << lastSackedBytes);
- NS_UNUSED (lastAckedBytes);
- NS_UNUSED (lastSackedBytes);
+ NS_LOG_FUNCTION (this << tcb << deliveredBytes);
+ NS_UNUSED (deliveredBytes);
tcb->m_cWndInfl += tcb->m_segmentSize;
}
« no previous file with comments | « src/internet/model/tcp-recovery-ops.h ('k') | src/internet/model/tcp-socket-base.h » ('j') | no next file with comments »

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