management: Finalizing LocalControlHeader implementation
IncomingFaceId and NextHopFaceId are now fully supported for specifying
to be efficiently sent towards the forwarding daemon, and to be
automatically decoded from incoming packet from the forwarding daemon.
The current implementation limits exactly one LocalControlHeader for
Interest/Data packet instance. This is not exactly correct (especially
inside NFD), where the same Interest is expected to have multiple
LocalControlHeader (for each individual local face). The following
commits will fix this problem.
Change-Id: Ia6b124ed12271136d071f4822f13634897ce3228
refs: #1170
diff --git a/src/management/ndnd-controller.cpp b/src/management/ndnd-controller.cpp
index 486a611..b3b7821 100644
--- a/src/management/ndnd-controller.cpp
+++ b/src/management/ndnd-controller.cpp
@@ -199,7 +199,7 @@
switch(val->type())
{
- case Tlv::FaceManagement::FaceInstance:
+ case tlv::ndnd::FaceInstance:
{
FaceInstance entry;
entry.wireDecode(*val);
@@ -208,7 +208,7 @@
onSuccess(entry);
return;
}
- case Tlv::FaceManagement::StatusResponse:
+ case tlv::ndnd::StatusResponse:
{
StatusResponse resp;
resp.wireDecode(*val);
@@ -245,7 +245,7 @@
switch(val->type())
{
- case Tlv::FaceManagement::ForwardingEntry:
+ case tlv::ndnd::ForwardingEntry:
{
ForwardingEntry entry;
entry.wireDecode(*val);
@@ -254,7 +254,7 @@
onSuccess(entry);
return;
}
- case Tlv::FaceManagement::StatusResponse:
+ case tlv::ndnd::StatusResponse:
{
StatusResponse resp;
resp.wireDecode(*val);