net: filter: move common defines into bpf_common.h
authorAlexei Starovoitov <ast@plumgrid.com>
Tue, 14 Oct 2014 09:08:54 +0000 (02:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 20:06:45 +0000 (16:06 -0400)
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>

No differences found