Function ndpi_get_proto_by_id

Function Documentation

char *ndpi_get_proto_by_id(struct ndpi_detection_module_struct *ndpi_mod, u_int id)

Return the name of the protocol given its ID

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