aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/ndpi_util.c')
-rw-r--r--example/ndpi_util.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/example/ndpi_util.c b/example/ndpi_util.c
index 2f5d10e8d..4f7d68b94 100644
--- a/example/ndpi_util.c
+++ b/example/ndpi_util.c
@@ -436,7 +436,13 @@ static struct ndpi_flow_info *get_ndpi_flow_info6(struct ndpi_workflow * workflo
/* ****************************************************** */
-// ipsize = header->len - ip_offset ; rawsize = header->len
+/**
+ Function to process the packet:
+ determine the flow of a packet and try to decode it
+ @return: 0 if success; else != 0
+
+ @Note: ipsize = header->len - ip_offset ; rawsize = header->len
+*/
static unsigned int packet_processing(struct ndpi_workflow * workflow,
const u_int64_t time,
u_int16_t vlan_id,