aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorVladimir Gavrilov <105977161+0xA50C1A1@users.noreply.github.com>2024-08-25 14:31:39 +0300
committerGitHub <noreply@github.com>2024-08-25 13:31:39 +0200
commit64a5dc3cb3b3360d31da6014b377561cd899ad45 (patch)
treefd3a45632b9e22cf16a23ee7b601005ff757c115 /src/include
parentfbbe40b821b8966e1699d075297ffefeb1d1572c (diff)
Add TRDP protocol support (#2528)
The Train Real Time Data Protocol (TRDP) is a UDP/TCP-based communication protocol designed for IP networks in trains, enabling data exchange between devices such as door controls and air conditioning systems. It is standardized by the IEC under IEC 61375-2-3 and is not related to the Remote Desktop Protocol (RDP).
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_private.h1
-rw-r--r--src/include/ndpi_protocol_ids.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ndpi_private.h b/src/include/ndpi_private.h
index 4fb1afccf..4001e9bbc 100644
--- a/src/include/ndpi_private.h
+++ b/src/include/ndpi_private.h
@@ -934,6 +934,7 @@ void init_nano_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int
void init_openwire_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_cnp_ip_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
void init_atg_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
+void init_trdp_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id);
#endif
diff --git a/src/include/ndpi_protocol_ids.h b/src/include/ndpi_protocol_ids.h
index b465626b9..3925d941d 100644
--- a/src/include/ndpi_protocol_ids.h
+++ b/src/include/ndpi_protocol_ids.h
@@ -452,6 +452,7 @@ typedef enum {
NDPI_PROTOCOL_OPENWIRE = 421,
NDPI_PROTOCOL_CNP_IP = 422,
NDPI_PROTOCOL_ATG = 423,
+ NDPI_PROTOCOL_TRDP = 424,
#ifdef CUSTOM_NDPI_PROTOCOLS
#include "../../../nDPI-custom/custom_ndpi_protocol_ids.h"