aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h.in
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2021-10-04 22:34:49 +0200
committerLuca Deri <deri@ntop.org>2021-10-04 22:34:49 +0200
commitbb7aff6526e47ad42c61cc25a6108014cb1a84ce (patch)
tree9079159c2ed8210ddfc83831ca60ea98edaf9784 /src/include/ndpi_api.h.in
parentfd0e65cb5734ec9509a81c8ee4121b9d0e1762c9 (diff)
Added -a <num> to ndpiReader for generating OPNsense configuration
See https://github.com/ntop/opnsense
Diffstat (limited to 'src/include/ndpi_api.h.in')
-rw-r--r--src/include/ndpi_api.h.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h.in
index 53f389297..ff276fe3e 100644
--- a/src/include/ndpi_api.h.in
+++ b/src/include/ndpi_api.h.in
@@ -683,6 +683,13 @@ extern "C" {
void ndpi_dump_protocols(struct ndpi_detection_module_struct *mod);
/**
+ * Generate Options list used in OPNsense firewall plugin
+ *
+ * @par opt = The Option list to generate
+ */
+ void ndpi_generate_options(u_int opt);
+
+ /**
* Write the list of the scores and their associated risks
*
* @par ndpi_mod = the detection module