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_stats; otherwise the
18       internal statistics structure is used.
19
21Kernel Hackers Manual 2.6.       November 2011                DEV_GET_STATS(9)
Impressum