From 6d79075ee2d71de0b21ecc7acd66ce57fb3445f9 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 4 Dec 2018 10:39:31 +0100 Subject: [PATCH] socket: increase buffer size to maximum MTU for UDP and IP layers --- include/villas/nodes/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/villas/nodes/socket.h b/include/villas/nodes/socket.h index 4a9a9ad51..52c068fda 100644 --- a/include/villas/nodes/socket.h +++ b/include/villas/nodes/socket.h @@ -57,7 +57,7 @@ extern "C" { struct format_type; /** The maximum length of a packet which contains stuct msg. */ -#define SOCKET_INITIAL_BUFFER_LEN 1500 +#define SOCKET_INITIAL_BUFFER_LEN (64*1024) enum socket_layer { SOCKET_LAYER_ETH,