Enabling TCP window tracing (there is a trick to do it with
Config::Connect, see examples/congestion-pop.cc)
There was a bug with InFlight interest calculation
diff --git a/helper/ccnx-trace-helper.h b/helper/ccnx-trace-helper.h
index 544c887..cfff107 100644
--- a/helper/ccnx-trace-helper.h
+++ b/helper/ccnx-trace-helper.h
@@ -28,10 +28,11 @@
namespace ns3 {
+class Node;
class CcnxAppTracer;
class CcnxL3Tracer;
class Ipv4AppTracer;
-class CcnxConsumerWindowTracer;
+class WindowTracer;
class CcnxTraceHelper
{
@@ -100,7 +101,15 @@
*/
void
EnableWindowsAll (const std::string &windowTrace = "windows.log");
-
+
+ /**
+ * @brief Enable tracing of congestion window changes in TcpNewReno
+ */
+ void
+ EnableWindowsTcpAll (const std::string &windowTrace);
+
+ void TcpConnect (Ptr<Node> node);
+
private:
std::string m_appTrace;
std::list<Ptr<CcnxAppTracer> > m_apps;
@@ -117,8 +126,11 @@
std::list<Ptr<Ipv4AppTracer> > m_ipv4AppSeqs;
std::ostream *m_ipv4AppSeqsTrace;
- std::list<Ptr<CcnxConsumerWindowTracer> > m_windows;
+ std::list<Ptr<WindowTracer> > m_windows;
std::ostream *m_windowsTrace;
+
+ std::list<Ptr<WindowTracer> > m_windowsTcp;
+ std::ostream *m_windowsTcpTrace;
};