InterestPacket, ContentPacket, Face classes added
diff --git a/model/ndn_contentpacket.cc b/model/ndn_contentpacket.cc
new file mode 100644
index 0000000..6d64497
--- /dev/null
+++ b/model/ndn_contentpacket.cc
@@ -0,0 +1,8 @@
+//
+// ndn_contentpacket.cpp
+// Abstraction
+//
+// Copyright 2011 UCLA. All rights reserved.
+//
+
+#include "ndn_contentpacket.h"
diff --git a/model/ndn_contentpacket.h b/model/ndn_contentpacket.h
new file mode 100644
index 0000000..1d5fe73
--- /dev/null
+++ b/model/ndn_contentpacket.h
@@ -0,0 +1,22 @@
+//
+// ndn_contentpacket.h
+// Abstraction
+//
+// Copyright 2011 UCLA. All rights reserved.
+//
+
+#ifndef ndn_contentpacket_h
+#define ndn_contentpacket_h
+
+#include "ns3/header.h"
+#include <ns3/packet.h>
+
+namespace ns3
+{
+ class InterestPacket : public Packet
+ {
+
+ };
+}
+
+#endif
\ No newline at end of file
diff --git a/model/ndn_face.cc b/model/ndn_face.cc
new file mode 100644
index 0000000..c540eeb
--- /dev/null
+++ b/model/ndn_face.cc
@@ -0,0 +1,13 @@
+//
+// ndn_face.cpp
+// Abstraction
+//
+// Copyright 2011 UCLA. All rights reserved.
+//
+
+#include "ndn_face.h"
+
+namespace ns3
+{
+
+}
\ No newline at end of file
diff --git a/model/ndn_face.h b/model/ndn_face.h
new file mode 100644
index 0000000..4ea9c20
--- /dev/null
+++ b/model/ndn_face.h
@@ -0,0 +1,29 @@
+//
+// ndn_face.h
+// Abstraction
+//
+// Copyright 2011 UCLA. All rights reserved.
+//
+
+#ifndef ndn_face_h
+#define ndn_face_h
+
+#include "ns3/header.h"
+
+namespace ns3
+{
+ // see http://www.ccnx.org/releases/latest/doc/ccode/html/structface.html
+ class NdnFace
+ {
+ public:
+ NdnFace(int faceID);
+ virtual ~NdnFace();
+
+ private:
+ int m_faceID;
+
+ };
+
+}
+
+#endif
\ No newline at end of file
diff --git a/model/ndn_interestpacket.cc b/model/ndn_interestpacket.cc
new file mode 100644
index 0000000..3c9d962
--- /dev/null
+++ b/model/ndn_interestpacket.cc
@@ -0,0 +1,13 @@
+//
+// ndn_interestpacket.cc
+// Abstraction
+//
+// Copyright 2011 UCLA. All rights reserved.
+//
+
+#include "ndn_interestpacket.h"
+
+namespace ns3
+{
+
+}
\ No newline at end of file
diff --git a/model/ndn_interestpacket.h b/model/ndn_interestpacket.h
new file mode 100644
index 0000000..fddc136
--- /dev/null
+++ b/model/ndn_interestpacket.h
@@ -0,0 +1,25 @@
+//
+// ndn_interestpacket.h
+// Abstraction
+//
+// Copyright 2011 UCLA. All rights reserved.
+//
+
+#ifndef ndn_interestpacket_h
+#define ndn_interestpacket_h
+
+//#define CCN_INTEREST_LIFETIME_SEC 4
+//#define CCN_INTEREST_LIFETIME_MICROSEC (CCN_INTEREST_LIFETIME_SEC * 1000000)
+
+#include "ns3/header.h"
+#include <ns3/packet.h>
+
+namespace ns3
+{
+ class InterestPacket : public Packet
+ {
+
+ };
+}
+
+#endif
\ No newline at end of file
diff --git a/wscript b/wscript
index 1022953..ba36821 100644
--- a/wscript
+++ b/wscript
@@ -12,6 +12,9 @@
'model/ccn_random.cc',
'model/ccn_buf_decoder.cc',
'model/ccn_buf_encoder.cc',
+ 'model/ndn_face.cc',
+ 'model/ndn_interestpacket.cc',
+ 'model/ndn_contentpacket.cc',
'helper/ndnabstraction-helper.cc',
]
@@ -30,6 +33,9 @@
'model/ccn_indexbuf.h',
'model/ccn_random.h',
'model/ccn_ccn.h',
+ 'model/ndn_face.h',
+ 'model/ndn_interestpacket.h',
+ 'model/ndn_contentpacket.h',
'helper/ndnabstraction-helper.h',
]