Searched refs:net_stats (Results 1 – 11 of 11) sorted by relevance
14 LOG_MODULE_REGISTER(net_stats, NET_LOG_LEVEL);30 struct net_stats net_stats = { 0 }; variable245 len_chk = sizeof(struct net_stats); in net_stats_get()247 src = iface ? &iface->stats : &net_stats; in net_stats_get()249 src = &net_stats; in net_stats_get()374 memset(&net_stats, 0, sizeof(net_stats)); in net_stats_reset()
18 extern struct net_stats net_stats;22 #define GET_STAT(iface, s) (iface ? iface->stats.s : net_stats.s)23 #define GET_STAT_ADDR(iface, s) (iface ? &iface->stats.s : &net_stats.s)26 #define GET_STAT(iface, s) (net_stats.s)
45 zephyr_library_sources_ifdef(CONFIG_NET_STATISTICS net_stats.c)
13 net_stats.rst
38 .. doxygengroup:: net_stats
25 static void print_stats(struct net_if *iface, struct net_stats *data) in print_stats()117 struct net_stats *data = user_data; in iface_cb()162 struct net_stats data; in stats()
3 :relevant-api: net_stats
292 struct net_stats { struct
601 struct net_stats stats;
491 struct net_stats before; in ZTEST()492 struct net_stats after; in ZTEST()