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:392

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:80

Menu path: (Top) → 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.)