diff options
author | Alexei Starovoitov <ast@plumgrid.com> | 2014-10-14 13:08:54 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-15 00:06:45 +0400 |
commit | c15952dc18d8a293d976ac6c06d44d9d98023b45 (patch) | |
tree | d45efd559f784aeb11c85bd8fcbef8808e7d61b5 /include/uapi/linux/Kbuild | |
parent | 91c4467e3c76b6d40ecc29ed71d3aa1e0285ab80 (diff) | |
download | linux-c15952dc18d8a293d976ac6c06d44d9d98023b45.tar.xz |
net: filter: move common defines into bpf_common.h
userspace programs that use eBPF instruction macros need to include two files:
uapi/linux/filter.h and uapi/linux/bpf.h
Move common macro definitions that are shared between classic BPF and eBPF
into uapi/linux/bpf_common.h, so that user app can include only one bpf.h file
Cc: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/Kbuild')
-rw-r--r-- | include/uapi/linux/Kbuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild index 70e150ebc6c9..1115d68b150f 100644 --- a/include/uapi/linux/Kbuild +++ b/include/uapi/linux/Kbuild @@ -68,6 +68,7 @@ header-y += binfmts.h header-y += blkpg.h header-y += blktrace_api.h header-y += bpf.h +header-y += bpf_common.h header-y += bpqether.h header-y += bsg.h header-y += btrfs.h |