aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.h
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2017-05-24 16:06:23 +0200
committerLuca Deri <deri@ntop.org>2017-05-24 16:06:23 +0200
commit904210e87cc792d48b610356647995f506c15e4e (patch)
tree79ef5494f8e2bb03987f219874f964fc14c19bdd /example/ndpi_util.h
parent50e26ca400f8b6473fdf4487383aebc22d8b9373 (diff)
Split src2dst / dst2src traffic
Diffstat (limited to 'example/ndpi_util.h')
-rw-r--r--example/ndpi_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/ndpi_util.h b/example/ndpi_util.h
index d7fdd9928..f1807e56a 100644
--- a/example/ndpi_util.h
+++ b/example/ndpi_util.h
@@ -57,8 +57,8 @@ typedef struct ndpi_flow_info {
char lower_name[48], upper_name[48];
u_int8_t ip_version;
u_int64_t last_seen;
- u_int64_t bytes;
- u_int32_t packets;
+ u_int64_t src2dst_bytes, dst2src_bytes;
+ u_int32_t src2dst_packets, dst2src_packets;
// result only, not used for flow identification
ndpi_protocol detected_protocol;