MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Overview

Macros

#define LWIP_CHECKSUM_CTRL_PER_NETIF   0
 
#define CHECKSUM_GEN_IP   1
 
#define CHECKSUM_GEN_UDP   1
 
#define CHECKSUM_GEN_TCP   1
 
#define CHECKSUM_GEN_ICMP   1
 
#define CHECKSUM_GEN_ICMP6   1
 
#define CHECKSUM_CHECK_IP   1
 
#define CHECKSUM_CHECK_UDP   1
 
#define CHECKSUM_CHECK_TCP   1
 
#define CHECKSUM_CHECK_ICMP   1
 
#define CHECKSUM_CHECK_ICMP6   1
 
#define LWIP_CHECKSUM_ON_COPY   0
 

Macro Definition Documentation

#define LWIP_CHECKSUM_CTRL_PER_NETIF   0

LWIP_CHECKSUM_CTRL_PER_NETIF==1: Checksum generation/check can be enabled/disabled per netif. ATTENTION: if enabled, the CHECKSUM_GEN_* and CHECKSUM_CHECK_* defines must be enabled!

#define CHECKSUM_GEN_IP   1

CHECKSUM_GEN_IP==1: Generate checksums in software for outgoing IP packets.

#define CHECKSUM_GEN_UDP   1

CHECKSUM_GEN_UDP==1: Generate checksums in software for outgoing UDP packets.

#define CHECKSUM_GEN_TCP   1

CHECKSUM_GEN_TCP==1: Generate checksums in software for outgoing TCP packets.

#define CHECKSUM_GEN_ICMP   1

CHECKSUM_GEN_ICMP==1: Generate checksums in software for outgoing ICMP packets.

#define CHECKSUM_GEN_ICMP6   1

CHECKSUM_GEN_ICMP6==1: Generate checksums in software for outgoing ICMP6 packets.

#define CHECKSUM_CHECK_IP   1

CHECKSUM_CHECK_IP==1: Check checksums in software for incoming IP packets.

#define CHECKSUM_CHECK_UDP   1

CHECKSUM_CHECK_UDP==1: Check checksums in software for incoming UDP packets.

#define CHECKSUM_CHECK_TCP   1

CHECKSUM_CHECK_TCP==1: Check checksums in software for incoming TCP packets.

#define CHECKSUM_CHECK_ICMP   1

CHECKSUM_CHECK_ICMP==1: Check checksums in software for incoming ICMP packets.

#define CHECKSUM_CHECK_ICMP6   1

CHECKSUM_CHECK_ICMP6==1: Check checksums in software for incoming ICMPv6 packets

#define LWIP_CHECKSUM_ON_COPY   0

LWIP_CHECKSUM_ON_COPY==1: Calculate checksum when copying data from application buffers to pbufs.