Function ndpi_get_protocol_by_name

Function Documentation

ndpi_master_app_protocol ndpi_get_protocol_by_name(struct ndpi_detection_module_struct *ndpi_str, const char *name)

Return the name of the protocol given its ID. You can specify TLS.YouTube or just TLS

ndpi_mod = the detection module
id = the protocol id
Return
the name of the protocol