aboutsummaryrefslogtreecommitdiff
path: root/tests/do-dga.sh
diff options
context:
space:
mode:
authorVitaly Lavrov <vel21ripn@gmail.com>2022-03-27 13:00:21 +0300
committerGitHub <noreply@github.com>2022-03-27 12:00:21 +0200
commit4896dabb6b8d3469f87fa8c746ee070b12429024 (patch)
treec722ec5578a226f01be6eec3d6144fe42b40c3a2 /tests/do-dga.sh
parentd668ab4becf446195f3c6cd338d5de2711d7bf4e (diff)
Reducing the size of the ndpi_detection_module_struct structure. (#1490)
The ndpi_detection_module_struct structure contains 5 arrays "struct ndpi_call_function_struct" size 286*144=41 kB size, which are occupied by a small number of elements. At the moment we have callback_buffer_size = 172, tcp_with_payload=114, tcp_no_payload=8, udp=93, other 8. NDPI_MAX_SUPPORTED_PROTOCOLS = 285. Size of struct ndpi_detection_module_struct is 253136 bytes. Size of all structs ndpi_call_function_struct 5*286*144=205920 bytes. Real use memory size for struct ndpi_call_function_struct is (173+224)*144=57168 bytes.
Diffstat (limited to 'tests/do-dga.sh')
0 files changed, 0 insertions, 0 deletions