diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-03-26 14:46:35 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-03-26 14:46:35 +0100 |
commit | e576162a43c78290961b0b6c8cd3e5cc2965316f (patch) | |
tree | f89acd66473ac5cba9347d8553f073c641aa781b /config.h | |
parent | 38c6904bffdf0512811c81a952700188e75cbf2b (diff) |
Reverted internal ndpi structs to dynamic memory allocation hoping that it will help to reduce the average memory consumption.
How? After the detection finished, internal ndpi structs can be free'd as they are not needed anymore.
* Set the amount of max. packets to process via subopt.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -26,6 +26,7 @@ #define nDPId_TCP_POST_END_FLOW_TIME 60000u /* 60 sec */ #define nDPId_THREAD_DISTRIBUTION_SEED 0x03dd018b #define nDPId_PACKETS_PER_FLOW_TO_SEND 15u +#define nDPId_PACKETS_PER_FLOW_TO_PROCESS 255u #define nDPId_FLOW_STRUCT_SEED 0x5defc104 /* nDPIsrvd default config options */ |