projects
/
linux-2.6-microblaze.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
[linux-2.6-microblaze.git]
/
tools
/
testing
/
selftests
/
bpf
/
netcnt_common.h
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
9
struct 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
19
struct net_cnt {
20
__u64 packets;
21
__u64 bytes;
22
};
23
24
#endif