The latest development version of this page may be more current than this released 2.5.0 version.
CONFIG_NET_UDP_CHECKSUM

Check UDP checksum

Type: bool

Help

Enables UDP handler to check UDP checksum. If the checksum is invalid, then the packet is discarded.

Direct dependencies

NET_UDP && !NET_RAW_MODE && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At subsys/net/ip/Kconfig:467

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:37subsys/net/Kconfig:87

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack → Enable UDP

config NET_UDP_CHECKSUM
    bool "Check UDP checksum"
    default y
    depends on NET_UDP && !NET_RAW_MODE && NETWORKING
    help
      Enables UDP handler to check UDP checksum. If the checksum is invalid,
      then the packet is discarded.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)