commit | b7a1848e8398b8396c990279e6a10272d818577e | [log] [tgz] |
---|---|---|
author | Stanislav Fomichev <sdf@google.com> | Mon Jan 28 08:53:54 2019 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Jan 29 01:08:29 2019 +0100 |
tree | 1e7c535a6ab23d1e4e1f2d4a1a145a8fb6603da9 | |
parent | c8aa703822bf811269975cf7251b5eaad4c38e9c [diff] |
bpf: add BPF_PROG_TEST_RUN support for flow dissector The input is packet data, the output is struct bpf_flow_key. This should make it easy to test flow dissector programs without elaborate setup. Signed-off-by: Stanislav Fomichev <sdf@google.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>