Function ndpi_get_protocol_id

Function Documentation

int ndpi_get_protocol_id(struct ndpi_detection_module_struct *ndpi_mod, char *proto)

Return the ID of the protocol

ndpi_mod = the detection module
proto = the protocol name
Return
the ID of the protocol