From 04f385a99f5e901598ee4b3d2655e458c92c06d8 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Sun, 3 Jul 2016 09:17:41 +0200 Subject: lib: shm_du_map full multi-block support shm_du_map now fully supports multi-block SDU's when the SHM_DU_MAP_MULTI_BLOCK compilation flag is set (enabled by default). Fixes #11. --- include/ouroboros/config.h.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/ouroboros/config.h.in b/include/ouroboros/config.h.in index 6861c6cb..a3f6e87c 100644 --- a/include/ouroboros/config.h.in +++ b/include/ouroboros/config.h.in @@ -33,9 +33,10 @@ #define IPCP_LOCAL_EXEC "@IPCP_LOCAL_TARGET@" #define AP_MAX_FLOWS 256 #define SHM_DU_BUFF_BLOCK_SIZE sysconf(_SC_PAGESIZE) +#define SHM_DU_MAP_MULTI_BLOCK #define SHM_DU_MAP_FILENAME "ouroboros_du_map" #define SHM_BLOCKS_IN_MAP (1 << 14) -#define SHM_DU_TIMEOUT_MICROS 2000 +#define SHM_DU_TIMEOUT_MICROS 15000 #define DU_BUFF_HEADSPACE 128 #define DU_BUFF_TAILSPACE 0 #define SHM_AP_RBUFF_PREFIX "ouroboros_rb_" -- cgit v1.2.3