Function ndpi_is_custom_protocol

Function Documentation

bool ndpi_is_custom_protocol(struct ndpi_detection_module_struct *ndpi_str, u_int16_t proto_id)

Find out if a given protocol is custom/user-defined

ndpi_str = the detection module
proto_id = the proto_id to check
Return
True if this is a custom user protocol, false otherwise (nDPI protocol already supported in the engine)