aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.h
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2019-07-18 07:32:38 +0200
committerGitHub <noreply@github.com>2019-07-18 07:32:38 +0200
commitf394102b80cad1c47e4cb3bb521d4ae1857498f0 (patch)
treecd3c62748838d96d7b5fe967fff0af084b0e8d29 /example/ndpi_util.h
parentc990d6bbd99f1040af3c301fc6cfd39e9ce1ef53 (diff)
parent4ad12dcd19cb06abbb8d5e435e7bd95206ce7ca9 (diff)
Merge pull request #752 from marcopiangatello/dev
ndpi_has_human_readeable_string Test
Diffstat (limited to 'example/ndpi_util.h')
-rw-r--r--example/ndpi_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/ndpi_util.h b/example/ndpi_util.h
index 696679674..aed63efe3 100644
--- a/example/ndpi_util.h
+++ b/example/ndpi_util.h
@@ -128,6 +128,7 @@ 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;
// result only, not used for flow identification
ndpi_protocol detected_protocol;
@@ -199,6 +200,9 @@ 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;