aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.h
diff options
context:
space:
mode:
authorAlfredo Cardigliano <alfredo.cardigliano@gmail.com>2019-07-17 22:06:15 +0200
committerAlfredo Cardigliano <alfredo.cardigliano@gmail.com>2019-07-17 22:06:15 +0200
commitc85f7de2c18980e06c4634f4f10a2b07bd77648a (patch)
treee2da6a4cc60dcc18f014002abe5e714f2b7e4e2d /example/ndpi_util.h
parentac3a618458823de6d626fe2ff4e86458643e359f (diff)
parentcbb31fa2041f6da59abdc9e470cafa7e2630b388 (diff)
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
Diffstat (limited to 'example/ndpi_util.h')
-rw-r--r--example/ndpi_util.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/example/ndpi_util.h b/example/ndpi_util.h
index aed63efe3..b006fd8d3 100644
--- a/example/ndpi_util.h
+++ b/example/ndpi_util.h
@@ -128,8 +128,9 @@ typedef struct ndpi_flow_info {
u_int64_t last_seen;
u_int64_t src2dst_bytes, dst2src_bytes;
u_int32_t src2dst_packets, dst2src_packets;
- u_int32_t n_pckt_human_readable_string;
-
+ u_int32_t has_human_readeable_strings;
+ char human_readeable_string_buffer[32];
+
// result only, not used for flow identification
ndpi_protocol detected_protocol;
@@ -200,10 +201,7 @@ typedef struct ndpi_workflow {
void **ndpi_flows_root;
struct ndpi_detection_module_struct *ndpi_struct;
u_int32_t num_allocated_flows;
-
- int hrs;
-
-} ndpi_workflow_t;
+ } ndpi_workflow_t;
/* TODO: remove wrappers parameters and use ndpi global, when their initialization will be fixed... */