Function ndpi_check_subprotocol_risk

Function Documentation

void ndpi_check_subprotocol_risk(struct ndpi_detection_module_struct *ndpi_str, struct ndpi_flow_struct *flow, u_int16_t subprotocol_id)

Check if the string content passed match with a protocol

ndpi_struct = the detection module
flow = the flow where match the host
subprotocol_id = subprotocol id