fw: add processing for afterNewNextHop signal
Refs: #4931
Change-Id: I08bddc0ae3ceca0ddb777392ea656876ad6fe701
diff --git a/daemon/fw/forwarder.hpp b/daemon/fw/forwarder.hpp
index 3b14a61..2da7c87 100644
--- a/daemon/fw/forwarder.hpp
+++ b/daemon/fw/forwarder.hpp
@@ -107,6 +107,16 @@
this->onIncomingNack(ingress, nack);
}
+ /** \brief start new nexthop processing
+ * \param prefix the prefix of the FibEntry containing the new nexthop
+ * \param nextHop the new NextHop
+ */
+ void
+ startProcessNewNextHop(const Name& prefix, const fib::NextHop& nextHop)
+ {
+ this->onNewNextHop(prefix, nextHop);
+ }
+
NameTree&
getNameTree()
{
@@ -218,6 +228,9 @@
VIRTUAL_WITH_TESTS void
onDroppedInterest(const FaceEndpoint& egress, const Interest& interest);
+ VIRTUAL_WITH_TESTS void
+ onNewNextHop(const Name& prefix, const fib::NextHop& nextHop);
+
PROTECTED_WITH_TESTS_ELSE_PRIVATE:
/** \brief set a new expiry timer (now + \p duration) on a PIT entry
*/