Function ndpi_detection_giveup
Defined in File ndpi_api.h
Function Documentation
-
ndpi_protocol ndpi_detection_giveup(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow)
Function to be called before we give up with detection for a given flow. This function reduces the NDPI_UNKNOWN_PROTOCOL detection
- ndpi_struct = the detection module
- flow = the flow given for the detection module
- Returns:
the detected protocol even if the flow is not completed;