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

Unified Diff: src/internet/model/tcp-socket-base.h

Issue 241870043: Query routing once per TCP socket
Patch Set: Created 8 years, 10 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-l4-protocol.cc ('k') | src/internet/model/tcp-socket-base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/internet/model/tcp-socket-base.h
===================================================================
--- a/src/internet/model/tcp-socket-base.h
+++ b/src/internet/model/tcp-socket-base.h
@@ -36,6 +36,8 @@
#include "tcp-tx-buffer.h"
#include "tcp-rx-buffer.h"
#include "rtt-estimator.h"
+#include "ns3/ipv4-route.h"
+#include "ns3/ipv6-route.h"
namespace ns3 {
@@ -720,7 +722,6 @@
Time m_persistTimeout; //!< Time between sending 1-byte probes
Time m_cnTimeout; //!< Timeout for connection retry
RttHistory_t m_history; //!< List of sent packet
-
// Connections to other layers of TCP/IP
Ipv4EndPoint* m_endPoint; //!< the IPv4 endpoint
Ipv6EndPoint* m_endPoint6; //!< the IPv6 endpoint
@@ -763,6 +764,8 @@
uint32_t m_timestampToEcho; //!< Timestamp to echo
EventId m_sendPendingDataEvent; //!< micro-delay event to send pending data
+ Ptr<Ipv4Route> m_routev4;
+ Ptr<Ipv6Route> m_routev6;
};
} // namespace ns3
« no previous file with comments | « src/internet/model/tcp-l4-protocol.cc ('k') | src/internet/model/tcp-socket-base.cc » ('j') | no next file with comments »

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