From 526cf6f2919398e1c9c5698b1b5783f18ed41fff Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Fri, 14 Jun 2024 20:20:58 +0200 Subject: Zoom: remove "stun_zoom" LRU cache Since 070a0908b we are able to detect P2P calls directly from the packet content, without any correlation among flows --- example/ndpiReader.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'example/ndpiReader.c') diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 1cccd2fbd..ddcea4fd7 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -4016,10 +4016,6 @@ static void printResults(u_int64_t processing_time_usec, u_int64_t setup_time_us (long long unsigned int)cumulative_stats.lru_stats[NDPI_LRUCACHE_MSTEAMS].n_insert, (long long unsigned int)cumulative_stats.lru_stats[NDPI_LRUCACHE_MSTEAMS].n_search, (long long unsigned int)cumulative_stats.lru_stats[NDPI_LRUCACHE_MSTEAMS].n_found); - printf("\tLRU cache stun_zoom: %llu/%llu/%llu (insert/search/found)\n", - (long long unsigned int)cumulative_stats.lru_stats[NDPI_LRUCACHE_STUN_ZOOM].n_insert, - (long long unsigned int)cumulative_stats.lru_stats[NDPI_LRUCACHE_STUN_ZOOM].n_search, - (long long unsigned int)cumulative_stats.lru_stats[NDPI_LRUCACHE_STUN_ZOOM].n_found); printf("\tAutoma host: %llu/%llu (search/found)\n", (long long unsigned int)cumulative_stats.automa_stats[NDPI_AUTOMA_HOST].n_search, @@ -4117,10 +4113,6 @@ static void printResults(u_int64_t processing_time_usec, u_int64_t setup_time_us (long long unsigned int)cumulative_stats.lru_stats[NDPI_LRUCACHE_MSTEAMS].n_insert, (long long unsigned int)cumulative_stats.lru_stats[NDPI_LRUCACHE_MSTEAMS].n_search, (long long unsigned int)cumulative_stats.lru_stats[NDPI_LRUCACHE_MSTEAMS].n_found); - fprintf(results_file, "LRU cache stun_zoom: %llu/%llu/%llu (insert/search/found)\n", - (long long unsigned int)cumulative_stats.lru_stats[NDPI_LRUCACHE_STUN_ZOOM].n_insert, - (long long unsigned int)cumulative_stats.lru_stats[NDPI_LRUCACHE_STUN_ZOOM].n_search, - (long long unsigned int)cumulative_stats.lru_stats[NDPI_LRUCACHE_STUN_ZOOM].n_found); fprintf(results_file, "Automa host: %llu/%llu (search/found)\n", (long long unsigned int)cumulative_stats.automa_stats[NDPI_AUTOMA_HOST].n_search, -- cgit v1.2.3