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       struct rtnl_link_stats64 * dev_get_stats(struct net_device * dev,
10                                                struct rtnl_link_stats64 * storage);
11

ARGUMENTS

13       dev
14           device to get statistics from
15
16       storage
17           place to store stats
18

DESCRIPTION

20       Get network statistics from device. Return storage. The device driver
21       may provide its own method by setting dev->netdev_ops->get_stats64 or
22       dev->netdev_ops->get_stats; otherwise the internal statistics structure
23       is used.
24
26Kernel Hackers Manual 3.10         June 2019                  DEV_GET_STATS(9)
Impressum