From bb7aff6526e47ad42c61cc25a6108014cb1a84ce Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Mon, 4 Oct 2021 22:34:49 +0200 Subject: Added -a to ndpiReader for generating OPNsense configuration See https://github.com/ntop/opnsense --- src/include/ndpi_api.h.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include') 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 @@ -682,6 +682,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 * -- cgit v1.2.3