From 52846b34aa8b2a696c2704014cea760c36111a44 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Tue, 26 Feb 2019 13:41:14 -0800 Subject: [PATCH] Increased ARP_TABLE_SIZE from 3 to 64 --- src/lwipopts.h | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/src/lwipopts.h b/src/lwipopts.h index f2199b1..2d01793 100644 --- a/src/lwipopts.h +++ b/src/lwipopts.h @@ -72,12 +72,6 @@ // TCP #define LWIP_TCP_KEEPALIVE 1 #define TCP_LISTEN_BACKLOG 1 -#define TCP_DEFAULT_LISTEN_BACKLOG 0xff -// ARP -#define ARP_TABLE_SIZE 3 -#define ARP_MAXAGE 300 -#define ARP_QUEUEING 1 -#define ARP_QUEUE_LEN 3 // netif #define LWIP_NETIF_STATUS_CALLBACK 0 #define LWIP_NETIF_EXT_STATUS_CALLBACK 0 @@ -103,6 +97,12 @@ #define MEMP_NUM_TCPIP_MSG_API 64 #define MEMP_NUM_TCPIP_MSG_INPKT 64 #define PBUF_POOL_SIZE 128 + #define TCP_DEFAULT_LISTEN_BACKLOG 0xff + // arp + #define ARP_TABLE_SIZE 64 + #define ARP_MAXAGE 300 + #define ARP_QUEUEING 1 + #define ARP_QUEUE_LEN 3 // ip #define IP_REASS_MAXAGE 15 #define IP_REASS_MAX_PBUFS 32 @@ -144,6 +144,11 @@ #define MEMP_NUM_TCPIP_MSG_API 64 #define MEMP_NUM_TCPIP_MSG_INPKT 64 #define PBUF_POOL_SIZE 128 + // arp + #define ARP_TABLE_SIZE 64 + #define ARP_MAXAGE 300 + #define ARP_QUEUEING 1 + #define ARP_QUEUE_LEN 3 // ip #define IP_REASS_MAXAGE 15 #define IP_REASS_MAX_PBUFS 32 @@ -185,6 +190,11 @@ #define MEMP_NUM_TCPIP_MSG_API 64 #define MEMP_NUM_TCPIP_MSG_INPKT 64 #define PBUF_POOL_SIZE 128 + // arp + #define ARP_TABLE_SIZE 64 + #define ARP_MAXAGE 300 + #define ARP_QUEUEING 1 + #define ARP_QUEUE_LEN 3 // ip #define IP_REASS_MAXAGE 15 #define IP_REASS_MAX_PBUFS 32