diff options
author | Luca Deri <deri@ntop.org> | 2016-03-04 19:15:13 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2016-03-04 19:15:13 +0100 |
commit | 462368f959daf9ffc72fc0fd91ef62a03487354c (patch) | |
tree | 7e3b8fee378d6e80b7b5eec44f1a5fb978e27b83 /src/include/ndpi_api.h | |
parent | 73833e0ef040b461948d3132575ac678f3409f33 (diff) |
Added new ndpi_detection_giveup() API call to call before giving up for a given flow
Code cleanup
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. * |