Function ndpi_init_detection_module_ext

Function Documentation

struct ndpi_detection_module_struct *ndpi_init_detection_module_ext(struct ndpi_global_context *g_ctx, const struct ndpi_bitmask *detection_bitmask)

Similar to ndpi_init_detection_module but you can also set the protocol bitmask By default, all protocols are enabled

g_ctx = global context associated to the new detection module; NULL if no global context is needed
detection_bitmask = protocol bitmask. If NULL, all protocols will be enabled
Return
the initialized detection module