The Pedigree Project  0.1
Macros
+ Collaboration diagram for Checksum:

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
 

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 2137 of file opt.h.

#define CHECKSUM_CHECK_ICMP6   1

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

Definition at line 2144 of file opt.h.

#define CHECKSUM_CHECK_IP   1

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

Definition at line 2116 of file opt.h.

#define CHECKSUM_CHECK_TCP   1

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

Definition at line 2130 of file opt.h.

#define CHECKSUM_CHECK_UDP   1

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

Definition at line 2123 of file opt.h.

#define CHECKSUM_GEN_ICMP   1

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

Definition at line 2102 of file opt.h.

#define CHECKSUM_GEN_ICMP6   1

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

Definition at line 2109 of file opt.h.

#define CHECKSUM_GEN_IP   1

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

Definition at line 2081 of file opt.h.

#define CHECKSUM_GEN_TCP   1

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

Definition at line 2095 of file opt.h.

#define CHECKSUM_GEN_UDP   1

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

Definition at line 2088 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 2074 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 2152 of file opt.h.