Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.0-rc3 24 lines 320 B view raw
1// SPDX-License-Identifier: GPL-2.0 2#ifndef __NETCNT_COMMON_H 3#define __NETCNT_COMMON_H 4 5#include <linux/types.h> 6 7#define MAX_PERCPU_PACKETS 32 8 9struct percpu_net_cnt { 10 __u64 packets; 11 __u64 bytes; 12 13 __u64 prev_ts; 14 15 __u64 prev_packets; 16 __u64 prev_bytes; 17}; 18 19struct net_cnt { 20 __u64 packets; 21 __u64 bytes; 22}; 23 24#endif