]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: sockmap sample, add data verification option
authorJohn Fastabend <john.fastabend@gmail.com>
Sun, 18 Mar 2018 19:57:51 +0000 (12:57 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 19 Mar 2018 20:14:40 +0000 (21:14 +0100)
commit0fa5494d9c68bba97092fb050e1cf1147caac3de
tree6409e638bb4e7029e8af2e9219e3cfad52d14c68
parentc2d2dfcbe78fe644313b88c661086c5d3b0d30a9
bpf: sockmap sample, add data verification option

To verify data is not being dropped or corrupted this adds an option
to verify test-patterns on recv.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/sockmap/sockmap_user.c