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

ICMP statistics

Type: bool

Help

Keep track of ICMPv4/6 related statistics, depending whether IPv4 and/or IPv6 is/are enabled.

Direct dependencies

(NET_IPV6 || NET_IPV4) && NET_STATISTICS && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At subsys/net/ip/Kconfig.stats:60

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

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

config NET_STATISTICS_ICMP
    bool "ICMP statistics"
    default y
    depends on (NET_IPV6 || NET_IPV4) && NET_STATISTICS && NETWORKING
    help
      Keep track of ICMPv4/6 related statistics, depending whether IPv4
      and/or IPv6 is/are enabled.

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