Function ndpi_get_proto_name

Function Documentation

char *ndpi_get_proto_name(struct ndpi_detection_module_struct *mod, u_int16_t proto_id)

Get the protocol name associated to the ID

mod = the detection module
proto_id = the ID of the protocol
Return
the buffer contains the master_protocol and protocol name