commit | d6d4f60c3a0933852dcc40a2142d93027ea1da76 | [log] [tgz] |
---|---|---|
author | Lawrence Brakmo <brakmo@fb.com> | Thu Jan 25 16:14:16 2018 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu Jan 25 16:41:15 2018 -0800 |
tree | a740942fab1902605fe48ed877d942c6ad02ad58 | |
parent | d44874910a26f3a8f81edf873a2473363f07f660 [diff] |
bpf: add selftest for tcpbpf 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 Adding the flag "-d" will show why it did not pass. Signed-off-by: Lawrence Brakmo <brakmo@fb.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>