summaryrefslogtreecommitdiff
path: root/src/ipcpd/config.h.in
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2024-02-23 10:40:30 +0100
committerSander Vrijders <[email protected]>2024-02-23 16:41:38 +0100
commitb7baa89fbaa04ceb3227d4d43089d8e6a5326b65 (patch)
tree3f03b349c4645a2a7bc21c0bc5a9d9c57604122b /src/ipcpd/config.h.in
parentf796e85856382b6beba5c108d74ecf9baf8bb773 (diff)
downloadouroboros-b7baa89fbaa04ceb3227d4d43089d8e6a5326b65.tar.gz
ouroboros-b7baa89fbaa04ceb3227d4d43089d8e6a5326b65.zip
ipcpd: Add build option to use pid as address
This adds a build option IPCP_DEBUG_LOCAL that will use the pid as the DT name (address) in the unicast IPCP, which is handy for integration testing and debugging. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/config.h.in')
-rw-r--r--src/ipcpd/config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/config.h.in b/src/ipcpd/config.h.in
index 5e8b1c3b..af0658d6 100644
--- a/src/ipcpd/config.h.in
+++ b/src/ipcpd/config.h.in
@@ -41,6 +41,8 @@
#define IPCP_LINUX_SLACK_NS @IPCP_LINUX_TIMERSLACK_NS@
+#cmakedefine IPCP_DEBUG_LOCAL
+
/* unicast IPCP */
#define QOS_PRIO_BE @IPCP_QOS_CUBE_BE_PRIO@
#define QOS_PRIO_VIDEO @IPCP_QOS_CUBE_VIDEO_PRIO@