diff options
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r-- | src/include/ndpi_api.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index 5815f118c..fd1f5bb83 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -116,7 +116,14 @@ extern "C" { void ndpi_set_protocol_detection_bitmask2(struct ndpi_detection_module_struct *ndpi_struct, const NDPI_PROTOCOL_BITMASK * detection_bitmask); + /** + * This function has to be called before we give up with detection for a given flow + */ + ndpi_protocol ndpi_detection_giveup(struct ndpi_detection_module_struct *ndpi_struct, + struct ndpi_flow_struct *flow); + + /** * This function will processes one packet and returns the ID of the detected protocol. * This is the main packet processing function. * |