Skip to content

Commit a74725a

Browse files
committed
Merge branch 'feat/lwip/ipv6_dup_detect_tries' into 'master'
feat(lwip/config): add menuconfig option for setting LWIP_IPV6_DUP_DETECT_ATTEMPTS Closes IDFGH-9320 See merge request espressif/esp-idf!39080
2 parents f2ac918 + 201df70 commit a74725a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

components/lwip/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,14 @@ menu "LWIP"
239239
help
240240
Set the maximum amount of pbufs waiting to be reassembled.
241241

242+
config LWIP_IPV6_DUP_DETECT_ATTEMPTS
243+
int "Number of duplicate address detection attempts"
244+
range 0 7
245+
default 1
246+
depends on LWIP_IPV6
247+
help
248+
Set the number of duplicate address detection attempts.
249+
242250
config LWIP_IP_FORWARD
243251
bool "Enable IP forwarding"
244252
default n

components/lwip/port/include/lwipopts.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,6 +1327,12 @@ static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min)
13271327
* LWIP_ND6_NUM_DESTINATIONS: Maximum number of entries in IPv6 destinations cache
13281328
*/
13291329
#define LWIP_ND6_NUM_DESTINATIONS CONFIG_LWIP_IPV6_ND6_NUM_DESTINATIONS
1330+
1331+
/**
1332+
* LWIP_IPV6_DUP_DETECT_ATTEMPTS: Number of duplicate address detection attempts
1333+
*/
1334+
#define LWIP_IPV6_DUP_DETECT_ATTEMPTS CONFIG_LWIP_IPV6_DUP_DETECT_ATTEMPTS
1335+
13301336
/*
13311337
---------------------------------------
13321338
---------- Hook options ---------------

0 commit comments

Comments
 (0)