diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-01-31 21:38:04 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-02-03 03:48:37 +0100 |
commit | f9e4c5885423c6f5b3d8b46c1c872b9e9330b054 (patch) | |
tree | fe389e98a15e9e5c7751a106905037df419107c5 /config.h | |
parent | 1a0d7ddbfaccc20e081a2fcd0a27495c166e1dbe (diff) |
Added logging interface used by nDPId, nDPIsrvd and nDPId-test.
* fixed GitLab pipeline
* nDPId: added static assert (just for a test)
* nDPId: memory profiling for total bytes compressed
* nDPId-test: enable zLib compression if configured with ENABLE_ZLIB
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ /* nDPId default config options */ #define nDPId_PIDFILE "/tmp/ndpid.pid" #define nDPId_MAX_FLOWS_PER_THREAD 4096u -#define nDPId_MAX_IDLE_FLOWS_PER_THREAD 512u +#define nDPId_MAX_IDLE_FLOWS_PER_THREAD (nDPId_MAX_FLOWS_PER_THREAD / 32u) #define nDPId_TICK_RESOLUTION 1000u #define nDPId_MAX_READER_THREADS 32u #define nDPId_MEMORY_PROFILING_LOG_INTERVAL 5000u /* 5 sec */ |