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)
commit6bce9d2ca65238d37890186bf41acd7f7d9a9820
tree6409e638bb4e7029e8af2e9219e3cfad52d14c68
parente67463cb5d9345d762aa7325e58aaeff5bc68ee1
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