Home
last modified time | relevance | path

Searched refs:netdev_stats (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/net/core/
Ddev.c9368 const struct net_device_stats *netdev_stats) in netdev_stats_to_stats64() argument
9371 BUILD_BUG_ON(sizeof(*stats64) < sizeof(*netdev_stats)); in netdev_stats_to_stats64()
9372 memcpy(stats64, netdev_stats, sizeof(*netdev_stats)); in netdev_stats_to_stats64()
9374 memset((char *)stats64 + sizeof(*netdev_stats), 0, in netdev_stats_to_stats64()
9375 sizeof(*stats64) - sizeof(*netdev_stats)); in netdev_stats_to_stats64()
9377 size_t i, n = sizeof(*netdev_stats) / sizeof(unsigned long); in netdev_stats_to_stats64()
9378 const unsigned long *src = (const unsigned long *)netdev_stats; in netdev_stats_to_stats64()
/Linux-v5.4/include/linux/
Dnetdevice.h4230 const struct net_device_stats *netdev_stats);