diff options
author | John Fastabend <[email protected]> | 2018-01-22 10:35:27 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-01-24 10:46:58 +0100 |
commit | 6627426fa2741866f1bdd194216a91a82ec063e4 (patch) | |
tree | c5bc8fa04ca4d023831b1ecbd3b12d2af67ba3f2 /net/unix/sysctl_net_unix.c | |
parent | 31e95b61e172144bb2b626a291db1bdc0769275b (diff) |
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 <[email protected]>
Acked-by: Martin KaFai Lau <[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