Index: src/internet-stack/tcp-socket-impl.h |
=================================================================== |
--- a/src/internet-stack/tcp-socket-impl.h |
+++ b/src/internet-stack/tcp-socket-impl.h |
@@ -28,6 +28,8 @@ |
#include "ns3/ptr.h" |
#include "ns3/ipv4-address.h" |
#include "ns3/event-id.h" |
+#include "ns3/ipv4-header.h" |
+#include "ipv4-interface.h" |
#include "tcp-typedefs.h" |
#include "pending-data.h" |
#include "sequence-number.h" |
@@ -101,7 +103,8 @@ |
friend class Tcp; |
// invoked by Tcp class |
int FinishBind (void); |
- void ForwardUp (Ptr<Packet> p, Ipv4Address saddr, Ipv4Address daddr, uint16_t port); |
+ void ForwardUp (Ptr<Packet> p, Ipv4Header header, uint16_t port, |
+ Ptr<Ipv4Interface> incomingInterface); |
void Destroy (void); |
int DoSendTo (Ptr<Packet> p, const Address &daddr); |
int DoSendTo (Ptr<Packet> p, Ipv4Address daddr, uint16_t dport); |