summaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/params.h
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-02-14 12:22:19 +0000
committerGerrit Code Review <gerrit@fd.io>2019-02-14 12:22:19 +0000
commit7d2b217bd01a8da1a2ac57aaad59b3179c7af916 (patch)
tree893f5ec47dda84bf2702198647f9a2880fe0a6b6 /hicn-plugin/src/params.h
parent2ba6db73e9a319b665853d65682230be98dde8d9 (diff)
parentf8c0d76eaff9c256804a4825301af4b9056f77d3 (diff)
Merge "- [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"
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