[PATCH RFC v9 net-next 4/4] net: filter: move common defines into bpf_common.h

2014-09-02 Thread Alexei Starovoitov
userspace programs that wish to use eBPF instruction macros (like BPF_MOV64_REG or BPF_ALU32_IMM) 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 Signed-off-by: Alexei

[PATCH RFC v9 net-next 4/4] net: filter: move common defines into bpf_common.h

2014-09-02 Thread Alexei Starovoitov
userspace programs that wish to use eBPF instruction macros (like BPF_MOV64_REG or BPF_ALU32_IMM) 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 Signed-off-by: Alexei