interest+data: Add incomingFaceId into Interest and Data.
Change-Id: I872b578d1411d62deb5753cd4f5294849c5e4995
diff --git a/src/interest.hpp b/src/interest.hpp
index 8fe3119..29ce962 100644
--- a/src/interest.hpp
+++ b/src/interest.hpp
@@ -141,6 +141,9 @@
*/
const uint32_t&
getNonce() const;
+
+ uint64_t
+ getIncomingFaceId() const { return m_incomingFaceId; }
void
setName(const Name& name) { name_ = name; }
@@ -166,6 +169,9 @@
void
setNonce(uint32_t nonce) { nonce_ = nonce; }
+ void
+ setIncomingFaceId(uint64_t incomingFaceId) { m_incomingFaceId = incomingFaceId; }
+
inline bool
hasSelectors() const;
@@ -206,6 +212,8 @@
mutable uint32_t nonce_;
mutable Block wire_;
+
+ uint64_t m_incomingFaceId;
};
std::ostream &