From 79581f95e441ef66689a78817526e666236ef517 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Tue, 12 May 2020 09:16:55 +0200 Subject: [PATCH] Add new parameter to grab many frames at once --- core-buffer/include/buffer_config.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core-buffer/include/buffer_config.hpp b/core-buffer/include/buffer_config.hpp index cf16620..9c24666 100644 --- a/core-buffer/include/buffer_config.hpp +++ b/core-buffer/include/buffer_config.hpp @@ -34,6 +34,8 @@ namespace core_buffer { // Time to sleep before retrying to read the queue. const size_t BUFFER_QUEUE_RETRY_MS = 5; + const size_t BUFFER_UDP_N_RECV_MSG = 128; + // Size of UDP recv buffer const int BUFFER_UDP_RCVBUF_N_SLOTS = 10; // +1 for packet headers.