--- a/src/internet-node/udp-socket.h Mon Jun 04 17:18:02 2007 +0200
+++ b/src/internet-node/udp-socket.h Mon Jun 04 17:22:52 2007 +0200
@@ -31,7 +31,7 @@
class Ipv4EndPoint;
class Node;
class Packet;
-class Udp;
+class UdpL4Protocol;
class UdpSocket : public Socket
{
@@ -39,7 +39,7 @@
/**
* Create an unbound udp socket.
*/
- UdpSocket (Ptr<Node> node, Ptr<Udp> udp);
+ UdpSocket (Ptr<Node> node, Ptr<UdpL4Protocol> udp);
virtual ~UdpSocket ();
virtual enum SocketErrno GetErrno (void) const;
@@ -83,7 +83,7 @@
Ipv4EndPoint *m_endPoint;
Ptr<Node> m_node;
- Ptr<Udp> m_udp;
+ Ptr<UdpL4Protocol> m_udp;
Ipv4Address m_defaultAddress;
uint16_t m_defaultPort;
Callback<void,Ptr<Socket>,uint32_t,const Ipv4Address &,uint16_t> m_dummyRxCallback;