Added LISP protocol. By Huniya Arif (xFlowResearch)

This commit is contained in:
huniya arif, xflowResearch
2017-09-14 11:38:31 +05:00
parent d3d6a95da7
commit d4d4f2a17c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -28,8 +28,8 @@
#include "ndpi_define.h"
#include "ndpi_protocol_ids.h"
#include "ndpi_typedefs.h"
#include "ndpi_protocols.h"
#include "ndpi_api.h"
#include "ndpi_protocols.h"
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -2741,7 +2741,7 @@ void ndpi_set_protocol_detection_bitmask2(struct ndpi_detection_module_struct *n
init_csgo_dissector(ndpi_struct, &a, detection_bitmask);
/* LISP */
init_my_lisp_dissector(ndpi_struct, &a, detection_bitmask);
init_lisp_dissector(ndpi_struct, &a, detection_bitmask);
/* ----------------------------------------------------------------- */
+1 -1
View File
@@ -54,7 +54,7 @@ void ndpi_search_lisp(struct ndpi_detection_module_struct *ndpi_struct, struct n
}
void init_my_lisp_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask)
void init_lisp_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id, NDPI_PROTOCOL_BITMASK *detection_bitmask)
{
ndpi_set_bitmask_protocol_detection("LISP", ndpi_struct, detection_bitmask, *id,
NDPI_PROTOCOL_LISP,