lwip: fix IPv6 ND6 queue too much pkts cause no mem issue and add menuconfig item for this params.

This commit is contained in:
ChenJianxing
2020-07-20 21:04:45 +08:00
parent 68ddb64dd7
commit bf48acc284
3 changed files with 25 additions and 1 deletions

View File

@@ -752,6 +752,16 @@
*/
#define LWIP_IPV6 1
/**
* MEMP_NUM_ND6_QUEUE: Max number of IPv6 packets to queue during MAC resolution.
*/
#define MEMP_NUM_ND6_QUEUE CONFIG_LWIP_IPV6_MEMP_NUM_ND6_QUEUE
/**
* LWIP_ND6_NUM_NEIGHBORS: Number of entries in IPv6 neighbor cache
*/
#define LWIP_ND6_NUM_NEIGHBORS CONFIG_LWIP_IPV6_ND6_NUM_NEIGHBORS
/*
---------------------------------------
---------- Hook options ---------------