summaryrefslogtreecommitdiff
path: root/src/daemon/dlt_daemon_common.h
diff options
context:
space:
mode:
authorSunil-K-S <54260601+Sunil-K-S@users.noreply.github.com>2019-08-23 10:01:08 +0530
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2019-08-23 13:31:08 +0900
commit976746f28e1c4c0a6ee24bf3f94ce66b890b3898 (patch)
tree2c617c4ee6f9a87b32b6e894f05f47361d907121 /src/daemon/dlt_daemon_common.h
parentd6baeb794e727a9194bfb28bff3c185e6d4fe631 (diff)
downloadDLT-daemon-976746f28e1c4c0a6ee24bf3f94ce66b890b3898.tar.gz
UDP Multicast implementation (#155)
The feature can be enabled by setting WITH_UDP_CONNECTION to ON. Signed-off-by: sunil.s <sunil.s@lge.com>
Diffstat (limited to 'src/daemon/dlt_daemon_common.h')
-rw-r--r--src/daemon/dlt_daemon_common.h9
1 files changed, 9 insertions, 0 deletions
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
*/