diff options
author | Campus <campus@ntop.org> | 2016-12-02 02:32:46 +0100 |
---|---|---|
committer | Campus <campus@ntop.org> | 2016-12-02 02:32:46 +0100 |
commit | 5f672dfb42803b781faa421677edea124300ec0d (patch) | |
tree | e2ed93b7fa1dc251cad47467a5c935d16fafd71e /example/ndpi_util.c | |
parent | 6f31ae722ee41d6deee3079c71b5c018f900fc57 (diff) |
added comment to function process_packet
Diffstat (limited to 'example/ndpi_util.c')
-rw-r--r-- | example/ndpi_util.c | 8 |
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, |