Scroll to navigation

DEV_GET_STATS64(9) Network device support DEV_GET_STATS64(9)

NAME

dev_get_stats64 - get network device statistics

SYNOPSIS

const struct rtnl_link_stats64 * dev_get_stats64(struct net_device * dev, struct rtnl_link_stats64 * storage);

ARGUMENTS

dev

device to get statistics from

storage

place to store stats

DESCRIPTION

Get network statistics from device. 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.

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.