diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 761459772c..e9873d33bd 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -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 diff --git a/components/lwip/lwip b/components/lwip/lwip index ebabd6d79c..fd432e4ee2 160000 --- a/components/lwip/lwip +++ b/components/lwip/lwip @@ -1 +1 @@ -Subproject commit ebabd6d79c120c5d4415755aab1d908d8b5fa372 +Subproject commit fd432e4ee2cfb7f7f1c7eb7227e0173412e7b84e diff --git a/components/lwip/port/include/lwipopts.h b/components/lwip/port/include/lwipopts.h index 1d5fedc1f1..4927f9b01c 100644 --- a/components/lwip/port/include/lwipopts.h +++ b/components/lwip/port/include/lwipopts.h @@ -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 ---------------