fw: properly handle consumer retransmission in AsfStrategy
Do not reject an existing PIT entry if there are no
next hops during consumer retransmission
refs: #4874
Change-Id: Iea8602897e99fdf2f6fd0226b5eb74bd7a4bced1
diff --git a/daemon/fw/asf-strategy.hpp b/daemon/fw/asf-strategy.hpp
index 2155d94..a181676 100644
--- a/daemon/fw/asf-strategy.hpp
+++ b/daemon/fw/asf-strategy.hpp
@@ -73,8 +73,15 @@
Face& outFace,
bool wantNewNonce = false);
+ void
+ sendAsfProbe(const FaceEndpoint& ingress, const Interest& interest,
+ const shared_ptr<pit::Entry>& pitEntry, const Face& faceToUse,
+ const fib::Entry& fibEntry);
+
Face*
- getBestFaceForForwarding(const fib::Entry& fibEntry, const Interest& interest, const Face& inFace);
+ getBestFaceForForwarding(const fib::Entry& fibEntry, const Interest& interest,
+ const Face& inFace, const shared_ptr<pit::Entry>& pitEntry,
+ bool isNewInterest = true);
void
onTimeout(const Name& interestName, const FaceId faceId);