Reworked flow structure handler
This commit is contained in:
+3
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user