summaryrefslogtreecommitdiff
path: root/src/daemon/dlt-daemon.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.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.h')
-rw-r--r--src/daemon/dlt-daemon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/dlt-daemon.h b/src/daemon/dlt-daemon.h
index 4702b69..2520988 100644
--- a/src/daemon/dlt-daemon.h
+++ b/src/daemon/dlt-daemon.h
@@ -157,6 +157,11 @@ typedef struct
unsigned long RingbufferMaxSize;
unsigned long RingbufferStepSize;
unsigned long daemonFifoSize;
+#ifdef UDP_CONNECTION_SUPPORT
+ int UDPConnectionSetup; /* enable/disable the UDP connection */
+ char UDPMulticastIPAddress[MULTICASTIP_MAX_SIZE]; /* multicast ip addres */
+ int UDPMulticastIPPort; /* multicast port */
+#endif
} DltDaemonLocal;
typedef struct