aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2018-03-23 19:05:32 +0100
committerLuca Deri <deri@ntop.org>2018-03-23 19:05:32 +0100
commit462da90a21d7a73fe9122b759c6b40bebfefc6e8 (patch)
tree2ab125db5f231bb74d50b83df0ab4dbf979ac73e /src/include
parenta2acd092634d1cfc04e89c874d584a16ae54f3ea (diff)
Added API calls
ndpi_network_ptree_match ndpi_check_flow_func ndpi_config.h is now installed with "make install"
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_api.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index 230885d6d..7ac5b3ef8 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -282,6 +282,21 @@ extern "C" {
/**
+ * API call that is called internally by ndpi_detection_process_packet or by apps
+ * that want to avoid calling ndpi_detection_process_packet as they have already
+ * parsed the packet and thus want to avoid this.
+ *
+ *
+ * @par ndpi_struct = the detection module
+ * @par flow = the flow given for the detection module
+ * @par ndpi_selection_bitmask = the protocol selected bitmask
+ *
+ */
+ void ndpi_check_flow_func(struct ndpi_detection_module_struct *ndpi_struct,
+ struct ndpi_flow_struct *flow,
+ NDPI_SELECTION_BITMASK_PROTOCOL_SIZE *ndpi_selection_packet);
+
+ /**
* Query the pointer to the layer 4 packet
*
* @par l3 = pointer to the layer 3 data