dev_get_stats

Langue: en

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

NAME

dev_get_stats - get network device statistics

SYNOPSIS

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

ARGUMENTS

dev

device to get statistics from

DESCRIPTION

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