Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
net_stats.h File Reference

Network statistics. More...

#include <zephyr/types.h>
#include <net/net_core.h>
#include <net/net_mgmt.h>

Go to the source code of this file.

Data Structures

struct  net_stats_bytes
 Number of bytes sent and received. More...
 
struct  net_stats_pkts
 Number of network packets sent and received. More...
 
struct  net_stats_ip
 IP layer statistics. More...
 
struct  net_stats_ip_errors
 IP layer error statistics. More...
 
struct  net_stats_icmp
 ICMP statistics. More...
 
struct  net_stats_tcp
 TCP statistics. More...
 
struct  net_stats_udp
 UDP statistics. More...
 
struct  net_stats_ipv6_nd
 IPv6 neighbor discovery statistics. More...
 
struct  net_stats_ipv6_mld
 IPv6 multicast listener daemon statistics. More...
 
struct  net_stats_ipv4_igmp
 IPv4 IGMP daemon statistics. More...
 
struct  net_stats_tx_time
 Network packet transfer times for calculating average TX time. More...
 
struct  net_stats_rx_time
 Network packet receive times for calculating average RX time. More...
 
struct  net_stats_tc
 Traffic class statistics. More...
 
struct  net_stats_pm
 Power management statistics. More...
 
struct  net_stats
 All network statistics in one struct. More...
 
struct  net_stats_eth_errors
 Ethernet error statistics. More...
 
struct  net_stats_eth_flow
 Ethernet flow control statistics. More...
 
struct  net_stats_eth_csum
 Ethernet checksum statistics. More...
 
struct  net_stats_eth_hw_timestamp
 Ethernet hardware timestamp statistics. More...
 
struct  net_stats_eth
 All Ethernet specific statistics. More...
 
struct  net_stats_ppp
 All PPP specific statistics. More...
 

Macros

#define NET_TC_TX_STATS_COUNT   1
 
#define NET_TC_RX_STATS_COUNT   1
 

Typedefs

typedef uint32_t net_stats_t
 Network statistics counter. More...
 

Detailed Description

Network statistics.

Network statistics data. This should only be enabled when debugging as it consumes memory.