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

Unified Diff: src/internet-stack/tcp-socket-impl.h

Issue 849047: add packet-info-tag.cc for IP_PKTINFO/IPV6_PKTINFO (Closed)
Patch Set: Remove redundant ipv4-src/dst args Created 14 years, 6 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-stack/tcp-l4-protocol.cc ('k') | src/internet-stack/tcp-socket-impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/internet-stack/tcp-l4-protocol.cc ('k') | src/internet-stack/tcp-socket-impl.cc » ('j') | no next file with comments »

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