Function ndpi_normalize_protocol¶
- Defined in File ndpi_api.h
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
- Return
- true if the protocok has been modified/normalized, false if proto has not been modified
- Parameters
ndpi_str
: nDPI detection moduleproto_id
: nDPI protocol identifier