aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2021-05-15 11:16:27 +0200
committerLuca Deri <deri@ntop.org>2021-05-15 11:16:27 +0200
commit5646ffa7257ac3e3b5b1500471068ff34b249e24 (patch)
treeab7127f5d0fdd854d4be5522948d90959d036e45 /src/include
parentabd6bce6f9f046797ab897330605cb69e76ca953 (diff)
Added ndpi_check_subprotocol_risk() API call definition
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_api.h.in8
1 files changed, 8 insertions, 0 deletions
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
@@ -455,6 +455,14 @@ extern "C" {
/**
* 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
+ *
* @par ndpi_struct = the detection module
* @par flow = the flow where match the host
* @par string_to_match = the string to match