1DEV_GET_STATS(9)            Network device support            DEV_GET_STATS(9)
2
3
4

NAME

6       dev_get_stats - get network device statistics
7

SYNOPSIS

9       const struct net_device_stats * dev_get_stats(struct net_device * dev);
10

ARGUMENTS

12       dev
13           device to get statistics from
14

DESCRIPTION

16       Get network statistics from device. The device driver may provide its
17       own method by setting dev->netdev_ops->get_stats64 or
18       dev->netdev_ops->get_stats; otherwise the internal statistics structure
19       is used.
20
22Kernel Hackers Manual 2.6.         June 2019                  DEV_GET_STATS(9)
Impressum