mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-05 13:44:32 +02:00
feat(lwip/config): add menuconfig to enable ND6 RIO support and set the cache size
This commit is contained in:
@@ -949,6 +949,20 @@ menu "LWIP"
|
||||
help
|
||||
Maximum number of entries in IPv6 destinations cache
|
||||
|
||||
config LWIP_IPV6_ND6_ROUTE_INFO_OPTION_SUPPORT
|
||||
bool "Enable IPV6 ND6 route information option support"
|
||||
depends on LWIP_ND6
|
||||
default n
|
||||
help
|
||||
Enable route information option (RIO) support in IPV6 ND6
|
||||
|
||||
config LWIP_IPV6_ND6_NUM_ROUTE_INFO
|
||||
int "Max number of entries in IPv6 route information options cache"
|
||||
depends on LWIP_IPV6_ND6_ROUTE_INFO_OPTION_SUPPORT
|
||||
default 10
|
||||
help
|
||||
Maximum number of entries in IPv6 route information options cache
|
||||
|
||||
menuconfig LWIP_PPP_SUPPORT
|
||||
bool "Enable PPP support"
|
||||
default n
|
||||
|
Submodule components/lwip/lwip updated: ebabd6d79c...fd432e4ee2
@@ -1333,6 +1333,20 @@ static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min)
|
||||
*/
|
||||
#define LWIP_IPV6_DUP_DETECT_ATTEMPTS CONFIG_LWIP_IPV6_DUP_DETECT_ATTEMPTS
|
||||
|
||||
/**
|
||||
* LWIP_ND6_SUPPORT_RIO: Support route information options in IPv6 nd6 packets
|
||||
*/
|
||||
#ifdef CONFIG_LWIP_IPV6_ND6_ROUTE_INFO_OPTION_SUPPORT
|
||||
#define LWIP_ND6_SUPPORT_RIO 1
|
||||
#else
|
||||
#define LWIP_ND6_SUPPORT_RIO 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* LWIP_IPV6_ND6_NUM_ROUTE_INFO: Maximum number of entries in IPv6 route information options cache
|
||||
*/
|
||||
#define LWIP_ND6_NUM_ROUTES CONFIG_LWIP_IPV6_ND6_NUM_ROUTE_INFO
|
||||
|
||||
/*
|
||||
---------------------------------------
|
||||
---------- Hook options ---------------
|
||||
|
Reference in New Issue
Block a user