management: add LocalUri field to nfd::FaceStatus and nfd::FaceEventNotification
add FaceFlags field to nfd::FaceStatus
refs #1396
Change-Id: Id8ad36c9874c968f779fcc5a2c210d39162e0a69
diff --git a/src/encoding/tlv-nfd.hpp b/src/encoding/tlv-nfd.hpp
index 6888526..b72b731 100644
--- a/src/encoding/tlv-nfd.hpp
+++ b/src/encoding/tlv-nfd.hpp
@@ -16,6 +16,7 @@
namespace tlv {
namespace nfd {
+// NFD Management protocol
enum {
// ControlParameters
ControlParameters = 104,
@@ -25,30 +26,11 @@
Cost = 106,
Strategy = 107,
- // (deprecated)
- FibManagementOptions = ControlParameters,
- FaceManagementOptions = ControlParameters,
- StrategyChoiceOptions = ControlParameters,
-
// ControlResponse
ControlResponse = 101,
StatusCode = 102,
StatusText = 103,
- // FIB Enumeration Protocol
- FibEntry = 128,
- NextHopRecord = 129,
-
- // Face Status Protocol
- FaceStatus = 128,
- TotalIncomingInterestCounter = 145,
- TotalIncomingDataCounter = 144,
- TotalOutgoingInterestCounter = 146,
- TotalOutgoingDataCounter = 147,
- FaceEventNotification = 192,
- FaceEventKind = 193,
- FaceFlags = 194,
-
// ForwarderStatus
NfdVersion = 128,
StartTimestamp = 129,
@@ -61,7 +43,18 @@
NInInterests = 144,
NInDatas = 145,
NOutInterests = 146,
- NOutDatas = 147
+ NOutDatas = 147,
+
+ // Face Management
+ FaceStatus = 128,
+ LocalUri = 129,
+ FaceFlags = 194,
+ FaceEventNotification = 192,
+ FaceEventKind = 193,
+
+ // FIB Management
+ FibEntry = 128,
+ NextHopRecord = 129
};
enum {