-
CONFIG_NET_STATISTICS_USER_API
¶
Expose statistics through NET MGMT API
Type: bool
Help¶
Enable this if you need to grab relevant statistics in your code, via calling net_mgmt() with relevant NET_REQUEST_STATS_GET_* command.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <Zephyr>/subsys/net/ip/Kconfig.stats:25
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:34
→ <Zephyr>/subsys/net/Kconfig:87
→ <Zephyr>/subsys/net/ip/Kconfig:777
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack → Network statistics
config NET_STATISTICS_USER_API bool "Expose statistics through NET MGMT API" selectNET_MGMT
depends onNET_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.)