encoding: add route origin for self-learning
Change-Id: I2f652ac889095ee9bb7c752e715cfecb41459fa4
refs: #4279
diff --git a/src/encoding/nfd-constants.hpp b/src/encoding/nfd-constants.hpp
index 01e8c2b..6cc2c59 100644
--- a/src/encoding/nfd-constants.hpp
+++ b/src/encoding/nfd-constants.hpp
@@ -97,13 +97,14 @@
/** \ingroup management
*/
enum RouteOrigin : uint16_t {
- ROUTE_ORIGIN_NONE = std::numeric_limits<uint16_t>::max(),
- ROUTE_ORIGIN_APP = 0,
- ROUTE_ORIGIN_AUTOREG = 64,
- ROUTE_ORIGIN_CLIENT = 65,
- ROUTE_ORIGIN_AUTOCONF = 66,
- ROUTE_ORIGIN_NLSR = 128,
- ROUTE_ORIGIN_STATIC = 255,
+ ROUTE_ORIGIN_NONE = std::numeric_limits<uint16_t>::max(),
+ ROUTE_ORIGIN_APP = 0,
+ ROUTE_ORIGIN_AUTOREG = 64,
+ ROUTE_ORIGIN_CLIENT = 65,
+ ROUTE_ORIGIN_AUTOCONF = 66,
+ ROUTE_ORIGIN_NLSR = 128,
+ ROUTE_ORIGIN_SELFLEARNING = 129,
+ ROUTE_ORIGIN_STATIC = 255,
};
/** \brief extract RouteOrigin from stream