dev_get_stats(9)

dev_get_stats9

Get network device statistics

Usage

struct rtnl_link_stats64 * dev_get_stats(struct net_device * dev, struct rtnl_link_stats64 * storage);

Arguments

dev

device to get statistics from

storage

place to store stats

Overview

Get network statistics from device. Return storage. The device driver may provide its own method by setting dev->netdev_ops->get_stats64 or dev->netdev_ops->get_stats; otherwise the internal statistics structure is used.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.