Mistake on this page?
Report an issue in GitHub or email us
Macros

Macros

#define LWIP_CHECKSUM_CTRL_PER_NETIF   0
 LWIP_CHECKSUM_CTRL_PER_NETIF==1: Checksum generation/check can be enabled/disabled per netif. More...
 
#define CHECKSUM_GEN_IP   1
 CHECKSUM_GEN_IP==1: Generate checksums in software for outgoing IP packets. More...
 
#define CHECKSUM_GEN_UDP   1
 CHECKSUM_GEN_UDP==1: Generate checksums in software for outgoing UDP packets. More...
 
#define CHECKSUM_GEN_TCP   1
 CHECKSUM_GEN_TCP==1: Generate checksums in software for outgoing TCP packets. More...
 
#define CHECKSUM_GEN_ICMP   1
 CHECKSUM_GEN_ICMP==1: Generate checksums in software for outgoing ICMP packets. More...
 
#define CHECKSUM_GEN_ICMP6   1
 CHECKSUM_GEN_ICMP6==1: Generate checksums in software for outgoing ICMP6 packets. More...
 
#define CHECKSUM_CHECK_IP   1
 CHECKSUM_CHECK_IP==1: Check checksums in software for incoming IP packets. More...
 
#define CHECKSUM_CHECK_UDP   1
 CHECKSUM_CHECK_UDP==1: Check checksums in software for incoming UDP packets. More...
 
#define CHECKSUM_CHECK_TCP   1
 CHECKSUM_CHECK_TCP==1: Check checksums in software for incoming TCP packets. More...
 
#define CHECKSUM_CHECK_ICMP   1
 CHECKSUM_CHECK_ICMP==1: Check checksums in software for incoming ICMP packets. More...
 
#define CHECKSUM_CHECK_ICMP6   1
 CHECKSUM_CHECK_ICMP6==1: Check checksums in software for incoming ICMPv6 packets. More...
 
#define LWIP_CHECKSUM_ON_COPY   0
 LWIP_CHECKSUM_ON_COPY==1: Calculate checksum when copying data from application buffers to pbufs. More...
 

Detailed Description

Macro Definition Documentation

#define CHECKSUM_CHECK_ICMP   1

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

Definition at line 2338 of file opt.h.

#define CHECKSUM_CHECK_ICMP6   1

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

Definition at line 2345 of file opt.h.

#define CHECKSUM_CHECK_IP   1

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

Definition at line 2317 of file opt.h.

#define CHECKSUM_CHECK_TCP   1

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

Definition at line 2331 of file opt.h.

#define CHECKSUM_CHECK_UDP   1

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

Definition at line 2324 of file opt.h.

#define CHECKSUM_GEN_ICMP   1

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

Definition at line 2303 of file opt.h.

#define CHECKSUM_GEN_ICMP6   1

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

Definition at line 2310 of file opt.h.

#define CHECKSUM_GEN_IP   1

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

Definition at line 2282 of file opt.h.

#define CHECKSUM_GEN_TCP   1

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

Definition at line 2296 of file opt.h.

#define CHECKSUM_GEN_UDP   1

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

Definition at line 2289 of file opt.h.

#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!

Definition at line 2275 of file opt.h.

#define LWIP_CHECKSUM_ON_COPY   0

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

Definition at line 2353 of file opt.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.