From 976746f28e1c4c0a6ee24bf3f94ce66b890b3898 Mon Sep 17 00:00:00 2001 From: Sunil-K-S <54260601+Sunil-K-S@users.noreply.github.com> Date: Fri, 23 Aug 2019 10:01:08 +0530 Subject: UDP Multicast implementation (#155) The feature can be enabled by setting WITH_UDP_CONNECTION to ON. Signed-off-by: sunil.s --- src/daemon/dlt_daemon_common.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/daemon/dlt_daemon_common.h') diff --git a/src/daemon/dlt_daemon_common.h b/src/daemon/dlt_daemon_common.h index 83ac640..5e1bb1b 100644 --- a/src/daemon/dlt_daemon_common.h +++ b/src/daemon/dlt_daemon_common.h @@ -104,6 +104,15 @@ extern "C" { #define DLT_DAEMON_SEM_FREE() { sem_post(&dlt_daemon_mutex); } extern sem_t dlt_daemon_mutex; +/* UDPMulticart Default IP and Port */ +# ifdef UDP_CONNECTION_SUPPORT + # define MULTICASTIPADDRESS "225.0.0.37" + # define MULTICASTIPPORT 3491 + # define MULTICASTIP_MAX_SIZE 256 + # define MULTICAST_CONNECTION_DISABLED 0 + # define MULTICAST_CONNECTION_ENABLED 1 +# endif + /** * Definitions of DLT daemon logging states */ -- cgit v1.2.1