iPXE
Data Fields
net_device_stats Struct Reference

Network device statistics. More...

#include <netdevice.h>

Data Fields

unsigned int good
 Count of successful completions. More...
 
unsigned int bad
 Count of error completions. More...
 
struct net_device_error errors [NETDEV_MAX_UNIQUE_ERRORS]
 Error breakdowns. More...
 

Detailed Description

Network device statistics.

Definition at line 287 of file netdevice.h.

Field Documentation

◆ good

unsigned int net_device_stats::good

Count of successful completions.

Definition at line 289 of file netdevice.h.

Referenced by efi_snp_statistics(), ifstat(), ipv4_tx(), netdev_record_stat(), and pxenv_undi_get_statistics().

◆ bad

unsigned int net_device_stats::bad

Count of error completions.

Definition at line 291 of file netdevice.h.

Referenced by efi_snp_statistics(), ifstat(), ipv4_tx(), netdev_record_stat(), and pxenv_undi_get_statistics().

◆ errors

struct net_device_error net_device_stats::errors[NETDEV_MAX_UNIQUE_ERRORS]

Error breakdowns.

Definition at line 293 of file netdevice.h.

Referenced by ifstat_errors(), and netdev_record_stat().


The documentation for this struct was generated from the following file: