iPXE
net_device_stats Struct Reference

Network device statistics. More...

#include <netdevice.h>

Data Fields

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

Detailed Description

Network device statistics.

Definition at line 292 of file netdevice.h.

Field Documentation

◆ good

unsigned int net_device_stats::good

Count of successful completions.

Definition at line 294 of file netdevice.h.

Referenced by efi_snp_statistics(), and netdev_record_stat().

◆ bad

unsigned int net_device_stats::bad

Count of error completions.

Definition at line 296 of file netdevice.h.

Referenced by efi_snp_statistics(), and netdev_record_stat().

◆ errors

struct net_device_error net_device_stats::errors[NETDEV_MAX_UNIQUE_ERRORS]

Error breakdowns.

Definition at line 298 of file netdevice.h.

Referenced by ifstat_errors(), and netdev_record_stat().


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