Function ndpi_set_proto_category

Function Documentation

void ndpi_set_proto_category(struct ndpi_detection_module_struct *ndpi_mod, u_int16_t protoId, ndpi_protocol_category_t protoCategory)

Overwrite a protocol category defined by nDPI with the custom category

ndpi_mod = the detection module
protoId = the protocol identifier to overwrite
category = the category associated to the protocol