Added LISP protocol. By Huniya Arif (xFlowResearch)
This commit is contained in:
@@ -28,8 +28,8 @@
|
|||||||
#include "ndpi_define.h"
|
#include "ndpi_define.h"
|
||||||
#include "ndpi_protocol_ids.h"
|
#include "ndpi_protocol_ids.h"
|
||||||
#include "ndpi_typedefs.h"
|
#include "ndpi_typedefs.h"
|
||||||
#include "ndpi_protocols.h"
|
|
||||||
#include "ndpi_api.h"
|
#include "ndpi_api.h"
|
||||||
|
#include "ndpi_protocols.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|||||||
+1
-1
@@ -2741,7 +2741,7 @@ void ndpi_set_protocol_detection_bitmask2(struct ndpi_detection_module_struct *n
|
|||||||
init_csgo_dissector(ndpi_struct, &a, detection_bitmask);
|
init_csgo_dissector(ndpi_struct, &a, detection_bitmask);
|
||||||
|
|
||||||
/* LISP */
|
/* LISP */
|
||||||
init_my_lisp_dissector(ndpi_struct, &a, detection_bitmask);
|
init_lisp_dissector(ndpi_struct, &a, detection_bitmask);
|
||||||
|
|
||||||
/* ----------------------------------------------------------------- */
|
/* ----------------------------------------------------------------- */
|
||||||
|
|
||||||
|
|||||||
@@ -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_set_bitmask_protocol_detection("LISP", ndpi_struct, detection_bitmask, *id,
|
||||||
NDPI_PROTOCOL_LISP,
|
NDPI_PROTOCOL_LISP,
|
||||||
|
|||||||
Reference in New Issue
Block a user