:orphan: .. title:: CONFIG_NET_STATISTICS_USER_API .. kconfig:: CONFIG_NET_STATISTICS_USER_API CONFIG_NET_STATISTICS_USER_API ############################## *Expose statistics through NET MGMT API* Type: ``bool`` Help ==== .. code-block:: none Enable this if you need to grab relevant statistics in your code, via calling net_mgmt() with relevant NET_REQUEST_STATS_GET_* command. Direct dependencies =================== \ :kconfig:`NET_STATISTICS ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols selected by this symbol =============================== - \ :kconfig:`NET_MGMT ` Kconfig definition ================== At ``/net/ip/Kconfig.stats:25`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:87`` → ``/net/ip/Kconfig:855`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack → Network statistics .. code-block:: kconfig config NET_STATISTICS_USER_API bool "Expose statistics through NET MGMT API" select NET_MGMT depends on NET_STATISTICS && NETWORKING help Enable this if you need to grab relevant statistics in your code, via calling net_mgmt() with relevant NET_REQUEST_STATS_GET_* command. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*