Function ndpi_get_num_protocols
Defined in File ndpi_api.h
Function Documentation
-
u_int ndpi_get_num_protocols(struct ndpi_detection_module_struct *ndpi_mod)
Get the total number of the defined protocols (internals and custom). It can be called only with finalized context, i.e. after having called ndpi_finalize_initialization()
- ndpi_mod = the detection module
- Returns:
the number of protocols