From 1b3c41a752fcdffd5f475fb447accfa53d189658 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sat, 16 Oct 2021 11:55:08 +0200 Subject: Reworked flow risks asignment Added esceptions for windows update and binary application transfer risk --- src/include/ndpi_utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/ndpi_utils.h b/src/include/ndpi_utils.h index 983aae283..6ba83b4da 100644 --- a/src/include/ndpi_utils.h +++ b/src/include/ndpi_utils.h @@ -16,6 +16,8 @@ extern void printRawData(const uint8_t *ptr, size_t len); //extern uint8_t add_segment_to_buffer( struct ndpi_flow_struct *flow, struct ndpi_tcphdr const * tcph, uint32_t waited); //extern uint8_t check_for_sequence( struct ndpi_flow_struct *flow, struct ndpi_tcphdr const * tcph); +extern u_int8_t ndpi_ends_with(char *str, char *ends); + /* **************************************** */ /* Can't call libc functions from kernel space, define some stub instead */ -- cgit v1.2.3