aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_utils.h
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2021-10-16 11:55:08 +0200
committerLuca Deri <deri@ntop.org>2021-10-16 11:55:08 +0200
commit1b3c41a752fcdffd5f475fb447accfa53d189658 (patch)
tree1ea9bdc546a4ef172f4d461a98e2f9fabcc35d36 /src/include/ndpi_utils.h
parentb97dc6baa497b5c2d64e342108237ced6bf34b2c (diff)
Reworked flow risks asignment
Added esceptions for windows update and binary application transfer risk
Diffstat (limited to 'src/include/ndpi_utils.h')
-rw-r--r--src/include/ndpi_utils.h2
1 files changed, 2 insertions, 0 deletions
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 */