mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 16:35:28 +00:00
lwip: add checksum options to 'lwipopts.h'
This patch adds some of lwip's checksum calculation options to the Genode-specific 'lwiptops.h' configuration file. The checksum calculations are enabled by default. Fixes #868.
This commit is contained in:
parent
2e087bf4a9
commit
26ba81175b
@ -41,12 +41,22 @@
|
||||
#define LWIP_WND_SCALE 1 /* enable window scaling */
|
||||
#define TCP_RCV_SCALE 2 /* receive scale factor IETF RFC 1323 */
|
||||
|
||||
#define LWIP_CHECKSUM_ON_COPY 1 /* calculate checksum during memcpy */
|
||||
|
||||
#if LWIP_DHCP
|
||||
#define LWIP_NETIF_STATUS_CALLBACK 1 /* callback function used by DHCP init */
|
||||
#endif
|
||||
|
||||
/***********************************
|
||||
** Checksum calculation settings **
|
||||
***********************************/
|
||||
|
||||
/* checksum calculation for outgoing packets can be disabled if the hardware supports it */
|
||||
#define CHECKSUM_GEN_IP 1 /* calculate checksum for outgoing IP packets */
|
||||
#define CHECKSUM_GEN_TCP 1 /* calculate checksum for outgoing TCP packets */
|
||||
|
||||
#define CHECKSUM_CHECK_IP 1 /* check checksum of incoming IP packets */
|
||||
#define CHECKSUM_CHECK_TCP 1 /* check checksum of incoming TCP packets */
|
||||
|
||||
#define LWIP_CHECKSUM_ON_COPY 1 /* calculate checksum during memcpy */
|
||||
|
||||
/*********************
|
||||
** Memory settings **
|
||||
|
Loading…
x
Reference in New Issue
Block a user