diff options
author | root <root@lab.panaceas.james.local> | 2019-02-19 13:46:18 +0000 |
---|---|---|
committer | root <root@lab.panaceas.james.local> | 2019-02-19 13:46:18 +0000 |
commit | b3c6320899d6b27899ab3c67c745e8d3b29af3a2 (patch) | |
tree | 41dc7fc5d71a841a416d0d53923de5d1d44277e3 /app/lwip | |
parent | c84e85e0e9641b006a376fab456ac2efcfdb14e2 (diff) | |
download | clock-b3c6320899d6b27899ab3c67c745e8d3b29af3a2.tar.gz clock-b3c6320899d6b27899ab3c67c745e8d3b29af3a2.tar.bz2 clock-b3c6320899d6b27899ab3c67c745e8d3b29af3a2.zip |
working ethernet
Diffstat (limited to 'app/lwip')
-rw-r--r-- | app/lwip/lwipopts.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/lwip/lwipopts.h b/app/lwip/lwipopts.h index e535e59..3358cad 100644 --- a/app/lwip/lwipopts.h +++ b/app/lwip/lwipopts.h @@ -29,6 +29,8 @@ #define MTU 1500
+#define ICMP_TTL 64
+
#if 0
#define ICMP_DEBUG LWIP_DBG_ON
#define UDP_DEBUG LWIP_DBG_ON
@@ -156,11 +158,11 @@ The STM32F4x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums */
/* CHECKSUM_GEN_IP==0: Generate checksums by hardware for outgoing IP packets.*/
-#define CHECKSUM_GEN_IP 0
+#define CHECKSUM_GEN_IP 1
/* CHECKSUM_GEN_UDP==0: Generate checksums by hardware for outgoing UDP packets.*/
-#define CHECKSUM_GEN_UDP 0
+#define CHECKSUM_GEN_UDP 1
/* CHECKSUM_GEN_TCP==0: Generate checksums by hardware for outgoing TCP packets.*/
-#define CHECKSUM_GEN_TCP 0
+#define CHECKSUM_GEN_TCP 1
/* CHECKSUM_CHECK_IP==0: Check checksums by hardware for incoming IP packets.*/
#define CHECKSUM_CHECK_IP 1
/* CHECKSUM_CHECK_UDP==0: Check checksums by hardware for incoming UDP packets.*/
|