aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-08-04 17:29:31 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-08-04 17:29:31 +0200
commit8a6021268e83b8712acc8d73ab2f4073ee402245 (patch)
treedd728aa0467fbc218e5c7d3d5807f2f3d6bdfb13 /config.h
parent823b95828c7a3321e4375ddee858e3a44ad1cd4c (diff)
introduced NETWORK_BUFFER_MAX_SIZE to replace BUFSIZ as this might change depending on the arch/libc used
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index aaca0fac9..d1f744b0b 100644
--- a/config.h
+++ b/config.h
@@ -6,6 +6,8 @@
#define DISTRIBUTOR_HOST "127.0.0.1"
#define DISTRIBUTOR_PORT 7000
+#define NETWORK_BUFFER_MAX_SIZE 8192
+
/* nDPId default config options */
#define nDPId_MAX_FLOW_ROOTS_PER_THREAD 2048
#define nDPId_MAX_IDLE_FLOWS_PER_THREAD 64