--- a/SConstruct Mon Jun 04 17:57:01 2007 +0200
+++ b/SConstruct Mon Jun 04 18:01:09 2007 +0200
@@ -218,7 +218,7 @@
'node-list.cc',
'socket.cc',
'socket-factory.cc',
- 'i-udp.cc',
+ 'udp.cc',
'i-ipv4.cc',
'application.cc',
])
@@ -235,7 +235,7 @@
'node-list.h',
'socket.h',
'socket-factory.h',
- 'i-udp.h',
+ 'udp.h',
'i-ipv4.h',
'application.h',
])
--- a/src/internet-node/udp-impl.h Mon Jun 04 17:57:01 2007 +0200
+++ b/src/internet-node/udp-impl.h Mon Jun 04 18:01:09 2007 +0200
@@ -21,7 +21,7 @@
#ifndef UDP_IMPL_H
#define UDP_IMPL_H
-#include "ns3/i-udp.h"
+#include "ns3/udp.h"
#include "ns3/ptr.h"
namespace ns3 {
--- a/src/node/i-udp.cc Mon Jun 04 17:57:01 2007 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/*
- * Copyright (c) 2007 INRIA
- * All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation;
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
- */
-#include "i-udp.h"
-
-namespace ns3 {
-
-const InterfaceId IUdp::iid = MakeInterfaceId ("IUdp", SocketFactory::iid);
-
-IUdp::IUdp ()
-{
- SetInterfaceId (IUdp::iid);
-}
-
-} // namespace ns3
--- a/src/node/i-udp.h Mon Jun 04 17:57:01 2007 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/*
- * Copyright (c) 2007 INRIA
- * All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation;
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
- */
-#ifndef I_UDP_H
-#define I_UDP_H
-
-#include "socket-factory.h"
-
-namespace ns3 {
-
-class Socket;
-
-class IUdp : public SocketFactory
-{
-public:
- static const InterfaceId iid;
-
- IUdp ();
-
- virtual Ptr<Socket> CreateSocket (void) = 0;
-};
-
-} // namespace ns3
-
-#endif /* I_UDP_H */
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/node/udp.cc Mon Jun 04 18:01:09 2007 +0200
@@ -0,0 +1,32 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2007 INRIA
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
+ */
+#include "udp.h"
+
+namespace ns3 {
+
+const InterfaceId IUdp::iid = MakeInterfaceId ("IUdp", SocketFactory::iid);
+
+IUdp::IUdp ()
+{
+ SetInterfaceId (IUdp::iid);
+}
+
+} // namespace ns3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/node/udp.h Mon Jun 04 18:01:09 2007 +0200
@@ -0,0 +1,42 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2007 INRIA
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
+ */
+#ifndef I_UDP_H
+#define I_UDP_H
+
+#include "socket-factory.h"
+
+namespace ns3 {
+
+class Socket;
+
+class IUdp : public SocketFactory
+{
+public:
+ static const InterfaceId iid;
+
+ IUdp ();
+
+ virtual Ptr<Socket> CreateSocket (void) = 0;
+};
+
+} // namespace ns3
+
+#endif /* I_UDP_H */