summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-08-19 16:16:39 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-08-19 16:16:39 +0200
commitba27593e3e8406e109393ae383f17c7416675c1e (patch)
tree6807a23a6def167a2b9ab26937fe25bbcc2a8064 /include
parent0192488015770b4855165db8502214dad1941dd2 (diff)
parent2c8e29ca7a997c5aa9d34e3fa956b120a0bbf20c (diff)
downloadouroboros-ba27593e3e8406e109393ae383f17c7416675c1e.tar.gz
ouroboros-ba27593e3e8406e109393ae383f17c7416675c1e.zip
Merged in sandervrijders/ouroboros/be-enroll-failures (pull request #212)
ipcpd: normal: Handle enrollment replies
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/config.h.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/ouroboros/config.h.in b/include/ouroboros/config.h.in
index d5af0c71..84d56e85 100644
--- a/include/ouroboros/config.h.in
+++ b/include/ouroboros/config.h.in
@@ -41,15 +41,19 @@
#define SHM_DU_MAP_FILENAME "/ouroboros.shm"
#define LOCKFILE_NAME "/ouroboros.lockfile"
#define SHM_BUFFER_SIZE (1 << 14)
-#define SHM_DU_TIMEOUT_MICROS 15000
#define DU_BUFF_HEADSPACE 128
#define DU_BUFF_TAILSPACE 0
#define SHM_AP_RBUFF_PREFIX "/ouroboros.rbuff."
#define IRMD_MAX_FLOWS 4096
#define IRMD_THREADPOOL_SIZE 5
-#define IRMD_ACCEPT_TIMEOUT 100 /* ms */
-#define IRMD_FLOW_TIMEOUT 5000 /* ms */
#define LOG_DIR "/@LOG_DIR@/"
-#define SOCKET_TIMEOUT 2000 /* ms */
+#define PTHREAD_COND_CLOCK CLOCK_MONOTONIC
+/* Timeout values */
+#define SHM_DU_TIMEOUT_MICROS 15000
+#define IRMD_ACCEPT_TIMEOUT 100
+#define IRMD_FLOW_TIMEOUT 5000
+#define SOCKET_TIMEOUT 4000
+#define CDAP_REPLY_TIMEOUT 1000
+#define ENROLL_TIMEOUT 2000
#endif