fw: per upstream retx exponential suppression for multicast strategy
refs: #4066
Change-Id: Ic1047b871dc9dc040e95ac5edceaae9994cd2849
diff --git a/daemon/fw/asf-strategy.cpp b/daemon/fw/asf-strategy.cpp
index baf8230..ffeaead 100644
--- a/daemon/fw/asf-strategy.cpp
+++ b/daemon/fw/asf-strategy.cpp
@@ -1,5 +1,5 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
+/*
* Copyright (c) 2014-2017, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
@@ -69,13 +69,13 @@
const shared_ptr<pit::Entry>& pitEntry)
{
// Should the Interest be suppressed?
- RetxSuppression::Result suppressResult = m_retxSuppression.decide(inFace, interest, *pitEntry);
+ RetxSuppressionResult suppressResult = m_retxSuppression.decidePerPitEntry(*pitEntry);
switch (suppressResult) {
- case RetxSuppression::NEW:
- case RetxSuppression::FORWARD:
+ case RetxSuppressionResult::NEW:
+ case RetxSuppressionResult::FORWARD:
break;
- case RetxSuppression::SUPPRESS:
+ case RetxSuppressionResult::SUPPRESS:
NFD_LOG_DEBUG(interest << " from=" << inFace.getId() << " suppressed");
return;
}