From 5646ffa7257ac3e3b5b1500471068ff34b249e24 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sat, 15 May 2021 11:16:27 +0200 Subject: Added ndpi_check_subprotocol_risk() API call definition --- src/include/ndpi_api.h.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h.in index 45eb071d3..2e484b53c 100644 --- a/src/include/ndpi_api.h.in +++ b/src/include/ndpi_api.h.in @@ -452,6 +452,14 @@ extern "C" { ndpi_protocol_match_result *ret_match, u_int16_t master_protocol_id); + /** + * Check if the string content passed match with a protocol + * + * @par flow = the flow where match the host + * @par subprotocol_id = subprotocol id + */ + void ndpi_check_subprotocol_risk(struct ndpi_flow_struct *flow, u_int16_t subprotocol_id); + /** * Check if the string content passed match with a protocol * -- cgit v1.2.3