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

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

Issue 328380044: Patch for GSOC Project : Framework for TCP Prague simulations in ns-3
Patch Set: Created 6 years, 7 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
Index: src/internet/test/tcp-general-test.cc
===================================================================
--- a/src/internet/test/tcp-general-test.cc
+++ b/src/internet/test/tcp-general-test.cc
@@ -903,6 +903,23 @@
}
}
+void
+TcpGeneralTest::SetEcn (SocketWho who)
+{
+ if (who == SENDER)
+ {
+ m_senderSocket->SetEcn ();
+ }
+ else if (who == RECEIVER)
+ {
+ m_receiverSocket->SetEcn ();
+ }
+ else
+ {
+ NS_FATAL_ERROR ("Not defined");
+ }
+}
+
void
TcpGeneralTest::SetInitialSsThresh (SocketWho who, uint32_t initialSsThresh)
{

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