summaryrefslogtreecommitdiff
path: root/src/ipcpd/config.h.in
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-06-08 14:42:10 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-06-08 15:29:38 +0200
commit22be1ea9cab402a921776a59ff9667bcb5e2c299 (patch)
tree9ceb8b8ce0eba16b10d298a1656d2aa1fa188431 /src/ipcpd/config.h.in
parent7d51ff3e5a4e42f21c9e5e89e5ea8493b7737161 (diff)
downloadouroboros-22be1ea9cab402a921776a59ff9667bcb5e2c299.tar.gz
ouroboros-22be1ea9cab402a921776a59ff9667bcb5e2c299.zip
ipcpd: Limit eth MTU to rdrb in single-block mode
When the SHM is in single block mode, the MTU may be bigger than a block. The eth IPCPs reserved buffers the size of MTU, which is now limited. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd/config.h.in')
-rw-r--r--src/ipcpd/config.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipcpd/config.h.in b/src/ipcpd/config.h.in
index b7806f60..2b4bef78 100644
--- a/src/ipcpd/config.h.in
+++ b/src/ipcpd/config.h.in
@@ -32,6 +32,10 @@
#define CONNECT_TIMEOUT @CONNECT_TIMEOUT@
#define SHM_BUFFER_SIZE @SHM_BUFFER_SIZE@
+#define SHM_RDRB_BLOCK_SIZE @SHM_RDRB_BLOCK_SIZE@
+#define DU_BUFF_HEADSPACE @DU_BUFF_HEADSPACE@
+#define DU_BUFF_TAILSPACE @DU_BUFF_TAILSPACE@
+#cmakedefine SHM_RDRB_MULTI_BLOCK
#define IPCP_MIN_THREADS @IPCP_MIN_THREADS@
#define IPCP_ADD_THREADS @IPCP_ADD_THREADS@