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 |