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, u_int8_t *protocol_was_guessed)
- 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
- protocol_was_guessed = 1 if the protocol was guessed (requires enable_guess = 1), 0 otherwise
 - Returns:
- the detected protocol even if the flow is not completed;