commit | 15f66a91a66bfc5d2ae95b9a3356a3fe114ca2f3 | [log] [tgz] |
---|---|---|
author | John Fastabend <john.fastabend@gmail.com> | Mon Apr 23 14:30:28 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Apr 25 00:04:49 2018 +0200 |
tree | 81825a6630b05bfe23f21c9935365a1437344942 | |
parent | 6595c7426acbcc2c4a79cfe409b2c840fb2ebed3 [diff] |
bpf: sockmap, code sockmap_test in C By moving sockmap_test from shell script into C we can run it directly from selftests, but we can also push the input/output around in proper structures. However, keep the CLI options around because they are useful for debugging when a paticular pattern of msghdr or sockmap options trips up the sockmap code path. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>