UbixOS V2 2.0

Macros
Checksum
Options (lwipopts.h) » Infrastructure
Collaboration diagram for Checksum:

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

## Detailed Description

## Macro Definition Documentation

## ◆ CHECKSUM_CHECK_ICMP

#define CHECKSUM_CHECK_ICMP 1

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

Definition at line 2077 of file opt.h.

## ◆ CHECKSUM_CHECK_ICMP6

#define CHECKSUM_CHECK_ICMP6 1

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

Definition at line 2084 of file opt.h.

## ◆ CHECKSUM_CHECK_IP

#define CHECKSUM_CHECK_IP 1

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

Definition at line 2056 of file opt.h.

## ◆ CHECKSUM_CHECK_TCP

#define CHECKSUM_CHECK_TCP 1

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

Definition at line 2070 of file opt.h.

## ◆ CHECKSUM_CHECK_UDP

#define CHECKSUM_CHECK_UDP 1

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

Definition at line 2063 of file opt.h.

## ◆ CHECKSUM_GEN_ICMP

#define CHECKSUM_GEN_ICMP 1

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

Definition at line 2042 of file opt.h.

## ◆ CHECKSUM_GEN_ICMP6

#define CHECKSUM_GEN_ICMP6 1

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

Definition at line 2049 of file opt.h.

## ◆ CHECKSUM_GEN_IP

#define CHECKSUM_GEN_IP 1

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

Definition at line 2021 of file opt.h.

## ◆ CHECKSUM_GEN_TCP

#define CHECKSUM_GEN_TCP 1

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

Definition at line 2035 of file opt.h.

## ◆ CHECKSUM_GEN_UDP

#define CHECKSUM_GEN_UDP 1

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

Definition at line 2028 of file opt.h.

## ◆ LWIP_CHECKSUM_CTRL_PER_NETIF

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

## ◆ LWIP_CHECKSUM_ON_COPY

#define LWIP_CHECKSUM_ON_COPY 0

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

Definition at line 2092 of file opt.h.