mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +00:00
test: enable LWIP_CHECKSUM_ON_COPY and TCP_CHECKSUM_ON_COPY_SANITY_CHECK
To find and verify bug #50914 (TCP_CHECKSUM_ON_COPY when adding data to retransmission), enable checksum-on-copy for the unit tests.
This commit is contained in:
parent
093adf8322
commit
cff31ba5de
@ -36,6 +36,10 @@
|
||||
|
||||
#define LWIP_IPV6 1
|
||||
|
||||
#define LWIP_CHECKSUM_ON_COPY 1
|
||||
#define TCP_CHECKSUM_ON_COPY_SANITY_CHECK 1
|
||||
#define TCP_CHECKSUM_ON_COPY_SANITY_CHECK_FAIL(printfmsg) LWIP_ASSERT("TCP_CHECKSUM_ON_COPY_SANITY_CHECK_FAIL", 0)
|
||||
|
||||
/* We link to special sys_arch.c (for basic non-waiting API layers unit tests) */
|
||||
#define NO_SYS 0
|
||||
#define SYS_LIGHTWEIGHT_PROT 0
|
||||
|
Loading…
Reference in New Issue
Block a user