aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/params.h
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-02-14 12:14:51 +0100
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-02-14 13:05:16 +0100
commitf8c0d76eaff9c256804a4825301af4b9056f77d3 (patch)
tree18bf6b2247eb5e86e034e0b027ff923e6b790226 /hicn-plugin/src/params.h
parent2f039d41169b95fa1ee9b1be9fbdc8e899707d25 (diff)
- [HICN-65] Populating hash map of handler and crc in api_main
- Added possibility to start the forwarder from binary api without setting any parameters - Changed pit lifetime values from seconds to milliseconds Change-Id: I83706f22ddd8e825c1021fe70d4bf52e1b929be8 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/params.h')
-rw-r--r--hicn-plugin/src/params.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hicn-plugin/src/params.h b/hicn-plugin/src/params.h
index 9e6ef5dbd..5adafd7e6 100644
--- a/hicn-plugin/src/params.h
+++ b/hicn-plugin/src/params.h
@@ -56,9 +56,9 @@ STATIC_ASSERT ((HICN_PARAM_FACES_MAX & (HICN_PARAM_FACES_MAX - 1)) == 0,
STATIC_ASSERT ((HICN_PARAM_PIT_ENTRY_PHOPS_MAX <= HICN_PARAM_FACES_MAX),
"HICN_PARAM_PIT_ENTRY_PHOP_MAX must be <= than HICN_PARAM_FACES_MAX");
-// PIT lifetime limits on API override this(in seconds, long -float type)
-#define HICN_PARAM_PIT_LIFETIME_BOUND_MIN_SEC 0.100L
-#define HICN_PARAM_PIT_LIFETIME_BOUND_MAX_SEC 20.000L
+// PIT lifetime limits on API override this(in mseconds, integer type)
+#define HICN_PARAM_PIT_LIFETIME_BOUND_MIN_SEC 100
+#define HICN_PARAM_PIT_LIFETIME_BOUND_MAX_SEC 20000
//PIT lifetime params if not set at API(in mseconds, integer type)
#define HICN_PARAM_PIT_LIFETIME_DFLT_MIN_MS 200