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>
This commit is contained in:
parent
91c4467e3c
commit
c15952dc18
4 changed files with 58 additions and 55 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue