summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_tcpbpf.h
Commit message (Collapse)AuthorAgeFilesLines
* bpf: add selftest for tcpbpfLawrence Brakmo2018-01-251-0/+16
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>
OpenPOWER on IntegriCloud