aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJohn Fastabend <[email protected]>2018-01-22 10:35:45 -0800
committerDaniel Borkmann <[email protected]>2018-01-24 10:46:58 +0100
commiteaf8c6eec5f9ab5d9d7155d7041fb7eea7028052 (patch)
tree4869d078a6e12252ddb73936ea9f4388798fef83 /net/unix/sysctl_net_unix.c
parent6627426fa2741866f1bdd194216a91a82ec063e4 (diff)
bpf: add sendmsg option for testing BPF programs
When testing BPF programs using sockmap I often want to have more control over how sendmsg is exercised. This becomes even more useful as new sockmap program types are added. This adds a test type option to select type of test to run. Currently, only "ping" and "sendmsg" are supported, but more can be added as needed. The new help argument gives the following, Usage: ./sockmap --cgroup <cgroup_path> options: --help -h --cgroup -c --rate -r --verbose -v --iov_count -i --length -l --test -t Signed-off-by: John Fastabend <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions