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

Unified Diff: src/internet/model/ipv4-l3-protocol.h

Issue 5417048: IPv6 support for TCP/UDP in NS-3
Patch Set: Uninitialized variable Created 12 years, 1 month 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
Index: src/internet/model/ipv4-l3-protocol.h
===================================================================
--- a/src/internet/model/ipv4-l3-protocol.h
+++ b/src/internet/model/ipv4-l3-protocol.h
@@ -47,7 +47,7 @@
class Node;
class Socket;
class Ipv4RawSocketImpl;
-class Ipv4L4Protocol;
+class IpL4Protocol;
class Icmpv4L4Protocol;
@@ -117,7 +117,7 @@
* a working L4 Protocol and returned from this method.
* The caller does not get ownership of the returned pointer.
*/
- void Insert (Ptr<Ipv4L4Protocol> protocol);
+ void Insert (Ptr<IpL4Protocol> protocol);
/**
* \param protocolNumber number of protocol to lookup
* in this L4 Demux
@@ -127,14 +127,14 @@
* to forward packets up the stack to the right protocol.
* It is also called from NodeImpl::GetUdp for example.
*/
- Ptr<Ipv4L4Protocol> GetProtocol (int protocolNumber) const;
+ Ptr<IpL4Protocol> GetProtocol (int protocolNumber) const;
/**
* \param protocol protocol to remove from this demux.
*
* The input value to this method should be the value
* returned from the Ipv4L4Protocol::Insert method.
*/
- void Remove (Ptr<Ipv4L4Protocol> protocol);
+ void Remove (Ptr<IpL4Protocol> protocol);
/**
* \param ttl default ttl to use
@@ -292,7 +292,7 @@
typedef std::vector<Ptr<Ipv4Interface> > Ipv4InterfaceList;
typedef std::list<Ptr<Ipv4RawSocketImpl> > SocketList;
- typedef std::list<Ptr<Ipv4L4Protocol> > L4List_t;
+ typedef std::list<Ptr<IpL4Protocol> > L4List_t;
bool m_ipForward;
bool m_weakEsModel;

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