Re: [PATCH bpf-next v6 11/11] bpf: add selftest for tcpbpf

2018-01-19 Thread Alexei Starovoitov
On Fri, Jan 19, 2018 at 05:45:48PM -0800, Lawrence Brakmo wrote: > Added a selftest for tcpbpf (sock_ops) that checks that the appropriate > callbacks occured and that it can access tcp_sock fields and that their > values are correct. > > Run with command: ./test_tcpbpf_user > > Signed-off-by: La

[PATCH bpf-next v6 11/11] bpf: add selftest for tcpbpf

2018-01-19 Thread Lawrence Brakmo
Added a selftest for tcpbpf (sock_ops) that checks that the appropriate callbacks occured and that it can access tcp_sock fields and that their values are correct. Run with command: ./test_tcpbpf_user Signed-off-by: Lawrence Brakmo --- tools/include/uapi/linux/bpf.h | 74 ++