mgmt: add Flags field to FaceStatus
refs #3732
Change-Id: I933c1471a185fd96777e6935c6810210868b0765
diff --git a/src/mgmt/nfd/face-status.hpp b/src/mgmt/nfd/face-status.hpp
index 4f20e53..a2ea259 100644
--- a/src/mgmt/nfd/face-status.hpp
+++ b/src/mgmt/nfd/face-status.hpp
@@ -147,6 +147,21 @@
FaceStatus&
setNOutBytes(uint64_t nOutBytes);
+ uint64_t
+ getFlags() const
+ {
+ return m_flags;
+ }
+
+ FaceStatus&
+ setFlags(uint64_t flags);
+
+ bool
+ getFlagBit(size_t bit) const;
+
+ FaceStatus&
+ setFlagBit(size_t bit, bool value);
+
protected:
void
wireReset() const;
@@ -162,6 +177,7 @@
uint64_t m_nOutNacks;
uint64_t m_nInBytes;
uint64_t m_nOutBytes;
+ uint64_t m_flags;
mutable Block m_wire;
};