Function ndpi_init_app_protocol

Function Documentation

int ndpi_init_app_protocol(struct ndpi_detection_module_struct *ndpi_str, ndpi_protocol_match const *const match)

Init single protocol match.

ndpi_mod = the struct created for the protocol detection
match = the struct passed to match the protocol
Return
0 on success, 1 otherwise