[PATCH v6 net-next 2/6] net: filter: split filter.h and expose eBPF to user space

2014-08-25 Thread Alexei Starovoitov
eBPF can be used from user space. uapi/linux/bpf.h: eBPF instruction set definition linux/filter.h: the rest This patch only moves macro definitions, but practically it freezes existing eBPF instruction set, though new instructions can still be added in the future. These eBPF definitions

[PATCH v6 net-next 2/6] net: filter: split filter.h and expose eBPF to user space

2014-08-25 Thread Alexei Starovoitov
eBPF can be used from user space. uapi/linux/bpf.h: eBPF instruction set definition linux/filter.h: the rest This patch only moves macro definitions, but practically it freezes existing eBPF instruction set, though new instructions can still be added in the future. These eBPF definitions