use network helpers, part 3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review 3 of 6 applied
Patches in v1 3 of 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | selftests/bpf: Add opts argument for __start_servertools/ | +15 | 0 replies | Applied |
| 2/6 | selftests/bpf: Make start_mptcp_server statictools/ tools/ tools/ | +16 | 0 replies | Applied |
| 3/6 | selftests/bpf: Drop start_server_proto helpertools/ | +2 | 0 replies | Applied |
| 4/6 | selftests/bpf: Add setsockopt for network_helper_optstools/ tools/ | +20 | 1 reply | |
| 5/6 | selftests/bpf: Use start_server_addr in sockopt_inherittools/ | +13 | 0 replies | |
| 6/6 | selftests/bpf: Use start_server_addr in test_tcp_check_syncookietools/ tools/ | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next 0/6] use network helpers, part 3
From: Geliang Tang <[email protected]>
This patchset adds opts argument for __start_server, and adds setsockopt pointer together with optval and optlen into struct network_helper_opts to make start_server_addr helper more flexible. With these modifications, many duplicate codes can be dropped.
Patch 4 addresses comments of Martin and Eduard in the previous series.
Geliang Tang (6):
selftests/bpf: Add opts argument for __start_server selftests/bpf: Make start_mptcp_server static selftests/bpf: Drop start_server_proto helper selftests/bpf: Add setsockopt for network_helper_opts selftests/bpf: Use start_server_addr in sockopt_inherit selftests/bpf: Use start_server_addr in test_tcp_check_syncookie
tools/testing/selftests/bpf/Makefile | 1 + tools/testing/selftests/bpf/network_helpers.c | 53 ++++++++------- tools/testing/selftests/bpf/network_helpers.h | 5 +- .../testing/selftests/bpf/prog_tests/mptcp.c | 16 +++++ .../bpf/prog_tests/sockopt_inherit.c | 34 ++++------ .../bpf/test_tcp_check_syncookie_user.c | 64 ++++++------------- 6 files changed, 78 insertions(+), 95 deletions(-)
Signature · 1 line
2.40.1