aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.h
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2017-08-02 20:15:21 +0200
committerLuca <deri@ntop.org>2017-08-02 20:15:21 +0200
commit3ba3a08141f0c60ab8e970e744ecf7540319b093 (patch)
treec504f171ae566c3b14b7c890a67597fdc58eb043 /example/ndpi_util.h
parent1d4eeaa32824d5b10b2a3e1ccf4245709a2374d1 (diff)
Implemented flow sort based on total bytes so that we can (with -v X) immediately spot elephants and mice
Diffstat (limited to 'example/ndpi_util.h')
-rw-r--r--example/ndpi_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/ndpi_util.h b/example/ndpi_util.h
index 45101cf10..5fe3dc66b 100644
--- a/example/ndpi_util.h
+++ b/example/ndpi_util.h
@@ -130,6 +130,7 @@ typedef struct ndpi_workflow {
/* allocated by prefs */
void **ndpi_flows_root;
struct ndpi_detection_module_struct *ndpi_struct;
+ u_int32_t num_allocated_flows;
} ndpi_workflow_t;