summaryrefslogtreecommitdiffstats
path: root/samples/connector
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2018-01-22 19:35:27 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-24 10:46:58 +0100
commit6627426fa2741866f1bdd194216a91a82ec063e4 (patch)
treec5bc8fa04ca4d023831b1ecbd3b12d2af67ba3f2 /samples/connector
parentselftests/bpf: make 'dubious pointer arithmetic' test useful (diff)
downloadlinux-6627426fa2741866f1bdd194216a91a82ec063e4.tar.xz
linux-6627426fa2741866f1bdd194216a91a82ec063e4.zip
bpf: refactor sockmap sample program update for arg parsing
sockmap sample program takes arguments from cmd line but it reads them in using offsets into the array. Because we want to add more arguments in the future lets do proper argument handling. Also refactor code to pull apart sock init and ping/pong test. This allows us to add new tests in the future. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/connector')
0 files changed, 0 insertions, 0 deletions