diff options
author | Luca Deri <deri@ntop.org> | 2017-05-17 15:50:59 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2017-05-17 15:50:59 +0200 |
commit | 0091f35e024cd55413a4b84b095828020e578120 (patch) | |
tree | 9c74d38e5eb9d19cd3d8ebe9d81f865e50eda0b8 /example/ndpi_util.h | |
parent | f2730f06a06541e870f6a04543b632a79ade3ebd (diff) |
Reworked flow structure handler
Diffstat (limited to 'example/ndpi_util.h')
-rw-r--r-- | example/ndpi_util.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/example/ndpi_util.h b/example/ndpi_util.h index ca9f20274..950f65f5a 100644 --- a/example/ndpi_util.h +++ b/example/ndpi_util.h @@ -43,11 +43,12 @@ // flow tracking typedef struct ndpi_flow_info { + u_int32_t hashval; u_int32_t lower_ip; u_int32_t upper_ip; u_int16_t lower_port; u_int16_t upper_port; - u_int8_t detection_completed, protocol, src_to_dst_direction; + u_int8_t detection_completed, protocol, bidirectional; u_int16_t vlan_id; struct ndpi_flow_struct *ndpi_flow; char lower_name[48], upper_name[48]; @@ -55,7 +56,7 @@ typedef struct ndpi_flow_info { u_int64_t last_seen; u_int64_t bytes; u_int32_t packets; - + // result only, not used for flow identification ndpi_protocol detected_protocol; |