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

Unified Diff: src/internet/model/tcp-l4-protocol.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 | « no previous file | src/internet/model/tcp-l4-protocol.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/internet/model/tcp-l4-protocol.h
===================================================================
--- a/src/internet/model/tcp-l4-protocol.h
+++ b/src/internet/model/tcp-l4-protocol.h
@@ -30,6 +30,8 @@
#include "ns3/object-factory.h"
#include "ip-l4-protocol.h"
#include "ns3/net-device.h"
+#include "ns3/ipv4-route.h"
+#include "ns3/ipv6-route.h"
namespace ns3 {
@@ -235,9 +237,9 @@
private:
friend class TcpSocketBase;
void SendPacket (Ptr<Packet>, const TcpHeader &,
- Ipv4Address, Ipv4Address, Ptr<NetDevice> oif = 0);
+ Ipv4Address, Ipv4Address, Ptr<NetDevice> oif = 0, Ptr<Ipv4Route> route = 0);
void SendPacket (Ptr<Packet>, const TcpHeader &,
- Ipv6Address, Ipv6Address, Ptr<NetDevice> oif = 0);
+ Ipv6Address, Ipv6Address, Ptr<NetDevice> oif = 0, Ptr<Ipv6Route> route = 0);
/**
* \brief Copy constructor
« no previous file with comments | « no previous file | src/internet/model/tcp-l4-protocol.cc » ('j') | no next file with comments »

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