commit | c15952dc18d8a293d976ac6c06d44d9d98023b45 | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@plumgrid.com> | Tue Oct 14 02:08:54 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 14 16:06:45 2014 -0400 |
tree | d45efd559f784aeb11c85bd8fcbef8808e7d61b5 | |
parent | 91c4467e3c76b6d40ecc29ed71d3aa1e0285ab80 [diff] |
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>