diff options
Diffstat (limited to 'src/lib/protocols/pplive.c')
-rw-r--r-- | src/lib/protocols/pplive.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/protocols/pplive.c b/src/lib/protocols/pplive.c index 57580b6bc..c645f0d1b 100644 --- a/src/lib/protocols/pplive.c +++ b/src/lib/protocols/pplive.c @@ -217,4 +217,17 @@ void ndpi_search_pplive(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_check_pplive_udp3(ndpi_struct, flow); } + +void init_pplive_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask) +{ + ndpi_set_bitmask_protocol_detection("PPLIVE", ndpi_struct, detection_bitmask, *id, + NDPI_PROTOCOL_PPLIVE, + ndpi_search_pplive, + NDPI_SELECTION_BITMASK_PROTOCOL_V4_V6_UDP, + SAVE_DETECTION_BITMASK_AS_UNKNOWN, + ADD_TO_DETECTION_BITMASK); + + *id += 1; +} + #endif |