First step to passing IPV6 Ready test: time out IPv6 fragments after 60 seconds

(added IPV6_REASS_MAXAGE as an option that is independent of the IPv4 setting)

Signed-off-by: goldsimon <goldsimon@gmx.de>
This commit is contained in:
Jisu Kim
2017-09-16 22:41:35 +02:00
committed by goldsimon
parent 67bf0a6d0a
commit 27b7ed17fc
2 changed files with 10 additions and 1 deletions

View File

@@ -2281,6 +2281,15 @@
#define LWIP_IPV6 0
#endif
/**
* IPV6_REASS_MAXAGE: Maximum time (in multiples of IP6_REASS_TMR_INTERVAL - so seconds, normally)
* a fragmented IP packet waits for all fragments to arrive. If not all fragments arrived
* in this time, the whole packet is discarded.
*/
#if !defined IPV6_REASS_MAXAGE || defined __DOXYGEN__
#define IPV6_REASS_MAXAGE 60
#endif
/**
* LWIP_IPV6_SCOPES==1: Enable support for IPv6 address scopes, ensuring that
* e.g. link-local addresses are really treated as link-local. Disable this