Function ndpi_normalize_protocol

Function Documentation

bool ndpi_normalize_protocol(struct ndpi_detection_module_struct *ndpi_str, ndpi_master_app_protocol *proto)

Normalizes the ndpi_master_app_protocol by reworking values of the specified proto, placing the master/app protocols in the corresponding protocol fields

Parameters:
  • ndpi_str – nDPI detection module

  • proto_id – nDPI protocol identifier

Returns:

true if the protocok has been modified/normalized, false if proto has not been modified