Improved skype, teredo, netbios heuristics

Changed ndpi_detection_giveup() API: guess is now part of the call
This commit is contained in:
Luca Deri
2018-11-21 00:32:32 +01:00
parent 21504c8492
commit 669fdf6b5f
13 changed files with 531 additions and 510 deletions
+3 -1
View File
@@ -213,11 +213,13 @@ extern "C" {
*
* @par ndpi_struct = the detection module
* @par flow = the flow given for the detection module
* @par enable_guess = guess protocol if unknown
* @return the detected protocol even if the flow is not completed;
*
*/
ndpi_protocol ndpi_detection_giveup(struct ndpi_detection_module_struct *ndpi_struct,
struct ndpi_flow_struct *flow);
struct ndpi_flow_struct *flow,
u_int8_t enable_guess);
/**
* Processes an extra packet in order to get more information for a given protocol