aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2024-12-06 11:13:48 +0100
committerToni Uhlig <matzeton@googlemail.com>2024-12-09 11:26:45 +0100
commit064bd3aefa7a4f98b4c3c079e03df37c1b0b5125 (patch)
treeb935c329d73bc70e1e6817b48d92e3a66526f782 /config.h
parentacd9e871b6815d279e277c269ea58316673c816a (diff)
fix config header
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.h b/config.h
index e6c819b69..35dea3f30 100644
--- a/config.h
+++ b/config.h
@@ -16,13 +16,13 @@
#define NETWORK_BUFFER_LENGTH_DIGITS 5u
#define NETWORK_BUFFER_LENGTH_DIGITS_STR "5"
-#define PFRING_BUFFER_SIZE 65535
+#define PFRING_BUFFER_SIZE 65536u
#define TIME_S_TO_US(s) (s * 1000llu * 1000llu)
/* nDPId default config options */
#define nDPId_PIDFILE "/tmp/ndpid.pid"
-#define nDPId_MAX_FLOWS_PER_THREAD 65535u
+#define nDPId_MAX_FLOWS_PER_THREAD 65536u
#define nDPId_MAX_IDLE_FLOWS_PER_THREAD (nDPId_MAX_FLOWS_PER_THREAD / 32u)
#define nDPId_MAX_READER_THREADS 32u
#define nDPId_ERROR_EVENT_THRESHOLD_N 16u