fw: refactor strategy logging and improve ASF probe logging
Bring strategy logging in line with format from 6bf94c0.
This should also marginally improve performance when log level is raised.
Refs: #5262, #5267
Co-authored-by: Davide Pesavento <davidepesa@gmail.com>
Change-Id: I6493b6476f3d0c6ae5562b66abfa46f6c6f4903d
diff --git a/daemon/fw/retx-suppression.hpp b/daemon/fw/retx-suppression.hpp
index 7cf6893..ac658b0 100644
--- a/daemon/fw/retx-suppression.hpp
+++ b/daemon/fw/retx-suppression.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2022, Regents of the University of California,
+ * Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -26,22 +26,12 @@
#ifndef NFD_DAEMON_FW_RETX_SUPPRESSION_HPP
#define NFD_DAEMON_FW_RETX_SUPPRESSION_HPP
-#include "core/common.hpp"
-
namespace nfd::fw {
enum class RetxSuppressionResult {
- /** \brief Interest is new (not a retransmission)
- */
- NEW,
-
- /** \brief Interest is retransmission and should be forwarded
- */
- FORWARD,
-
- /** \brief Interest is retransmission and should be suppressed
- */
- SUPPRESS
+ NEW, ///< Interest is new (not a retransmission).
+ FORWARD, ///< Interest is a retransmission and should be forwarded.
+ SUPPRESS, ///< Interest is a retransmission and should be suppressed.
};
} // namespace nfd::fw