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

Unified Diff: src/internet/test/tcp-general-test.h

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/test/tcp-ecn-test.cc ('k') | src/internet/test/tcp-general-test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/internet/test/tcp-general-test.h
===================================================================
--- a/src/internet/test/tcp-general-test.h
+++ b/src/internet/test/tcp-general-test.h
@@ -24,6 +24,7 @@
#include "ns3/tcp-socket-base.h"
#include "ns3/tcp-congestion-ops.h"
#include "ns3/tcp-recovery-ops.h"
+#include "ns3/tcp-rate-ops.h"
#include "ns3/test.h"
namespace ns3 {
@@ -779,6 +780,24 @@
}
/**
+ * \brief Track the rate value of TcpRateLinux.
+ * \param rate updated value of TcpRate.
+ */
+ virtual void RateUpdatedTrace (const TcpRateLinux::TcpRateConnection &rate)
+ {
+ NS_UNUSED (rate);
+ }
+
+ /**
+ * \brief Track the rate sample value of TcpRateLinux.
+ * \param sample updated value of TcpRateSample.
+ */
+ virtual void RateSampleUpdatedTrace (const TcpRateLinux::TcpRateSample &sample)
+ {
+ NS_UNUSED (sample);
+ }
+
+ /**
* \brief Socket closed normally
* \param who the socket closed (SENDER or RECEIVER)
*/
« no previous file with comments | « src/internet/test/tcp-ecn-test.cc ('k') | src/internet/test/tcp-general-test.cc » ('j') | no next file with comments »

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