Added API calls

ndpi_network_ptree_match
ndpi_check_flow_func

ndpi_config.h is now installed with "make install"
This commit is contained in:
Luca Deri
2018-03-23 19:05:32 +01:00
parent a2acd09263
commit 462da90a21
4 changed files with 31 additions and 10 deletions
+15
View File
@@ -281,6 +281,21 @@ extern "C" {
struct ndpi_flow_struct *flow);
/**
* 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
*