From bb97c76b5937864736d7fdb029bc0731c8cabf68 Mon Sep 17 00:00:00 2001 From: zylx Date: Thu, 14 Mar 2019 17:31:57 +0800 Subject: [PATCH] =?UTF-8?q?[components][lwip]LWIP=201.4.1=20=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E7=A1=AC=E4=BB=B6=E6=A0=A1=E9=AA=8C=E5=92=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/net/lwip-1.4.1/src/lwipopts.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/components/net/lwip-1.4.1/src/lwipopts.h b/components/net/lwip-1.4.1/src/lwipopts.h index a5c0e20cbd..dd59acd589 100644 --- a/components/net/lwip-1.4.1/src/lwipopts.h +++ b/components/net/lwip-1.4.1/src/lwipopts.h @@ -374,6 +374,18 @@ #define ARP_TABLE_SIZE 10 #define ARP_QUEUEING 1 +/* ---------- Checksum options ---------- */ +#ifdef RT_LWIP_USING_HW_CHECKSUM +#define CHECKSUM_GEN_IP 0 +#define CHECKSUM_GEN_UDP 0 +#define CHECKSUM_GEN_TCP 0 +#define CHECKSUM_GEN_ICMP 0 +#define CHECKSUM_CHECK_IP 0 +#define CHECKSUM_CHECK_UDP 0 +#define CHECKSUM_CHECK_TCP 0 +#define CHECKSUM_CHECK_ICMP 0 +#endif + /* ---------- IP options ---------- */ /* Define IP_FORWARD to 1 if you wish to have the ability to forward IP packets across network interfaces. If you are going to run lwIP -- GitLab