[PATCH RFC v9 net-next 3/4] net: filter: move eBPF instruction macros

2014-09-02 Thread Alexei Starovoitov
move instruction macros (like BPF_MOV64_REG or BPF_ALU32_IMM) from linux/filter.h into uapi/linux/bpf.h so that userspace programs can use them. verifier testsuite (in later patches) will be using them. Signed-off-by: Alexei Starovoitov --- include/linux/filter.h | 226

[PATCH RFC v9 net-next 3/4] net: filter: move eBPF instruction macros

2014-09-02 Thread Alexei Starovoitov
move instruction macros (like BPF_MOV64_REG or BPF_ALU32_IMM) from linux/filter.h into uapi/linux/bpf.h so that userspace programs can use them. verifier testsuite (in later patches) will be using them. Signed-off-by: Alexei Starovoitov a...@plumgrid.com --- include/linux/filter.h | 226