From 5f672dfb42803b781faa421677edea124300ec0d Mon Sep 17 00:00:00 2001 From: Campus Date: Fri, 2 Dec 2016 02:32:46 +0100 Subject: added comment to function process_packet --- example/ndpi_util.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'example/ndpi_util.c') 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, -- cgit v1.2.3