Function ndpi_init_protocol_match

Function Documentation

void ndpi_init_protocol_match(struct ndpi_detection_module_struct *ndpi_mod, ndpi_protocol_match const *const match)

Init single protocol match and adds it to the Aho-Corasick automata.

ndpi_mod = the struct created for the protocol detection
match = the struct passed to match the protocol