aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2017-12-07 22:54:49 +0100
committerCampus <campus@ntop.org>2017-12-07 22:54:49 +0100
commit811717e7c17a5356189de7b15e027718db93c016 (patch)
treebfb4af5722039131c48d57183b6682c9e36859b6 /src/include/ndpi_api.h
parentdfd8cbc4e195e3d29e67d04b96cd97d0aa0fc8df (diff)
parentcb8f4f87bf332fc2cc0da1019dd8c5d57036a513 (diff)
Merge branch 'vel21ripn-dev' into dev
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r--src/include/ndpi_api.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index 4193a2c57..2062974ad 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -384,6 +384,20 @@ extern "C" {
/**
+ * Exclude protocol from search
+ *
+ * @par ndpi_struct = the detection module
+ * @par flow = the flow where match the host
+ * @par master_protocol_id = value of the ID associated to the master protocol detected
+ *
+ */
+ void ndpi_exclude_protocol(struct ndpi_detection_module_struct *ndpi_struct,
+ struct ndpi_flow_struct *flow,
+ u_int16_t master_protocol_id,
+ const char *_file, const char *_func,int _line);
+
+
+ /**
* Check if the string -bigram_to_match- match with a bigram of -automa-
*
* @par ndpi_mod = the detection module