Re: [RFC PATCH v4 15/29] bpf tools: Add bpf.c/h for common bpf operations

2015-05-29 Thread Namhyung Kim
On Wed, May 27, 2015 at 05:19:50AM +, Wang Nan wrote: > This patch introduces bpf.c and bpf.h, which hold common functions > issuing bpf syscall. The goal of these two files is to hide syscall > completly from user. Note that bpf.c and bpf.h only deal with kernel > interface. Things like struc

Re: [RFC PATCH v4 15/29] bpf tools: Add bpf.c/h for common bpf operations

2015-05-27 Thread Alexei Starovoitov
On Wed, May 27, 2015 at 05:19:50AM +, Wang Nan wrote: > This patch introduces bpf.c and bpf.h, which hold common functions > issuing bpf syscall. The goal of these two files is to hide syscall > completly from user. Note that bpf.c and bpf.h only deal with kernel > interface. Things like struc