Function ndpi_set_user_data

Function Documentation

void ndpi_set_user_data(struct ndpi_detection_module_struct *ndpi_str, void *user_data)

Set user data which can later retrieved with ndpi_get_user_data().

ndpi_str = the struct created for the protocol detection
user_data = user data pointer you want to retrieve later with ndpi_get_user_data()