summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/net.h')
-rw-r--r--fw/fe310/eos/net.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fw/fe310/eos/net.h b/fw/fe310/eos/net.h
index ecefbec..574d179 100644
--- a/fw/fe310/eos/net.h
+++ b/fw/fe310/eos/net.h
@@ -2,7 +2,8 @@
#include "event.h"
/* common */
-#define EOS_NET_SIZE_BUF 1500
+#define EOS_NET_MTU 1500
+#define EOS_NET_SIZE_BUF (EOS_NET_MTU + 4)
#define EOS_NET_MTYPE_SOCK 1
#define EOS_NET_MTYPE_POWER 4