diff options
author | John Fastabend <[email protected]> | 2020-10-10 22:10:04 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-10-11 18:09:44 -0700 |
commit | cdf43c4bfa1a465ba7996165b75c49b5c0e46b50 (patch) | |
tree | 7dd7707f40ee3d9b3de7c75b2f8caba8411f501c /net/unix/scm.c | |
parent | ef5659280eb13e8ac31c296f58cfdfa1684ac06b (diff) |
bpf, selftests: Add option to test_sockmap to omit adding parser program
Add option to allow running without a parser program in place. To test
with ping/pong program use,
# test_sockmap -t ping --txmsg_omit_skb_parser
this will send packets between two socket bouncing through a proxy
socket that does not use a parser program.
(ping) (pong)
sender proxy_recv proxy_send recv
| | |
| verdict -----+ |
| | | |
+----------------+ +------------+
Signed-off-by: John Fastabend <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/160239300387.8495.11908295143121563076.stgit@john-Precision-5820-Tower
Diffstat (limited to 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions