IIpv4 -> Ipv4
This commit is contained in:
1 parent
b29cbffba2
commit
e3abeba0b5
7 files changed
+26
-26
No files matched your search
+4
-4
@@ -22,14 +22,14 @@
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
const InterfaceId IIpv4::iid = MakeInterfaceId ("IIpv4", Object::iid);
|
||||
const InterfaceId Ipv4::iid = MakeInterfaceId ("Ipv4", Object::iid);
|
||||
|
||||
IIpv4::IIpv4 ()
|
||||
Ipv4::Ipv4 ()
|
||||
{
|
||||
SetInterfaceId (IIpv4::iid);
|
||||
SetInterfaceId (Ipv4::iid);
|
||||
}
|
||||
|
||||
IIpv4::~IIpv4 ()
|
||||
Ipv4::~Ipv4 ()
|
||||
{}
|
||||
|
||||
} // namespace ns3
|
||||
+6
-6
@@ -18,8 +18,8 @@
|
||||
*
|
||||
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
|
||||
*/
|
||||
#ifndef I_IPV4_H
|
||||
#define I_IPV4_H
|
||||
#ifndef IPV4_H
|
||||
#define IPV4_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "ns3/ipv4-address.h"
|
||||
@@ -40,12 +40,12 @@ class Ipv4Route;
|
||||
* This class also allows you to control the content of the ipv4
|
||||
* forwarding table.
|
||||
*/
|
||||
class IIpv4 : public Object
|
||||
class Ipv4 : public Object
|
||||
{
|
||||
public:
|
||||
static const InterfaceId iid;
|
||||
IIpv4 ();
|
||||
virtual ~IIpv4 ();
|
||||
Ipv4 ();
|
||||
virtual ~Ipv4 ();
|
||||
|
||||
/**
|
||||
* \param dest destination address
|
||||
@@ -188,4 +188,4 @@ public:
|
||||
|
||||
} // namespace ns3
|
||||
|
||||
#endif /* I_IPV4_H */
|
||||
#endif /* IPV4_H */
|
||||
Reference in new issue
Block a user